Home
last modified time | relevance | path

Searched refs:STATE_IDLE_MAINTENANCE (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java38 import static com.android.server.DeviceIdleController.STATE_IDLE_MAINTENANCE;
597 enterDeepState(STATE_IDLE_MAINTENANCE); in testTransitionFromAnyStateToStateQuickDozeDelay()
599 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testTransitionFromAnyStateToStateQuickDozeDelay()
628 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_QuickDoze()
634 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_QuickDoze()
686 enterDeepState(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon()
716 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_NoLocationManager()
722 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_NoLocationManager()
749 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_WithLocationManager_NoProviders()
755 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_WithLocationManager_NoProviders()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java344 static final int STATE_IDLE_MAINTENANCE = 6; field in DeviceIdleController
384 case STATE_IDLE_MAINTENANCE: return "IDLE_MAINTENANCE"; in stateToString()
2765 mQuickDozeActivated && (mState == STATE_IDLE || mState == STATE_IDLE_MAINTENANCE); in updateQuickDozeFlagLocked()
2887 || mState == STATE_IDLE_MAINTENANCE) { in becomeInactiveIfAppropriateLocked()
3162 case STATE_IDLE_MAINTENANCE: in stepIdleStateLocked()
3195 moveToStateLocked(STATE_IDLE_MAINTENANCE, reason); in stepIdleStateLocked()
3411 if (mState == STATE_IDLE_MAINTENANCE || mLightState == LIGHT_STATE_IDLE_MAINTENANCE in exitMaintenanceEarlyIfNeededLocked()
3423 if (mState == STATE_IDLE_MAINTENANCE) { in exitMaintenanceEarlyIfNeededLocked()
3571 && mState != STATE_IDLE_MAINTENANCE) { in scheduleAlarmLocked()