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.java36 import static com.android.server.DeviceIdleController.STATE_IDLE_MAINTENANCE;
545 enterDeepState(STATE_IDLE_MAINTENANCE); in testTransitionFromAnyStateToStateQuickDozeDelay()
547 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testTransitionFromAnyStateToStateQuickDozeDelay()
576 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_QuickDoze()
582 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_QuickDoze()
634 enterDeepState(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon()
664 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_NoLocationManager()
670 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_NoLocationManager()
697 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_WithLocationManager_NoProviders()
703 verifyStateConditions(STATE_IDLE_MAINTENANCE); in testStepIdleStateLocked_ValidStates_WithLocationManager_NoProviders()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java339 static final int STATE_IDLE_MAINTENANCE = 6; field in DeviceIdleController
379 case STATE_IDLE_MAINTENANCE: return "IDLE_MAINTENANCE"; in stateToString()
2725 || mState == STATE_IDLE_MAINTENANCE) { in becomeInactiveIfAppropriateLocked()
2997 case STATE_IDLE_MAINTENANCE: in stepIdleStateLocked()
3030 moveToStateLocked(STATE_IDLE_MAINTENANCE, reason); in stepIdleStateLocked()
3246 if (mState == STATE_IDLE_MAINTENANCE || mLightState == LIGHT_STATE_IDLE_MAINTENANCE in exitMaintenanceEarlyIfNeededLocked()
3258 if (mState == STATE_IDLE_MAINTENANCE) { in exitMaintenanceEarlyIfNeededLocked()
3370 && mState != STATE_IDLE_MAINTENANCE) { in scheduleAlarmLocked()