Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java37 import static com.android.server.DeviceIdleController.STATE_IDLE_PENDING;
527 enterDeepState(STATE_IDLE_PENDING); in testTransitionFromAnyStateToStateQuickDozeDelay()
600 enterDeepState(STATE_IDLE_PENDING); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon()
652 verifyStateConditions(STATE_IDLE_PENDING); in testStepIdleStateLocked_ValidStates_NoLocationManager()
684 verifyStateConditions(STATE_IDLE_PENDING); in testStepIdleStateLocked_ValidStates_WithLocationManager_NoProviders()
719 verifyStateConditions(STATE_IDLE_PENDING); in testStepIdleStateLocked_ValidStates_WithLocationManager_WithProviders()
915 enterDeepState(STATE_IDLE_PENDING); in testExitMaintenanceEarlyIfNeededLocked_deep_noActiveOps()
917 verifyStateConditions(STATE_IDLE_PENDING); in testExitMaintenanceEarlyIfNeededLocked_deep_noActiveOps()
958 enterDeepState(STATE_IDLE_PENDING); in testExitMaintenanceEarlyIfNeededLocked_deep_activeJobs()
960 verifyStateConditions(STATE_IDLE_PENDING); in testExitMaintenanceEarlyIfNeededLocked_deep_activeJobs()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java327 static final int STATE_IDLE_PENDING = 2; field in DeviceIdleController
375 case STATE_IDLE_PENDING: return "IDLE_PENDING"; in stateToString()
2933 moveToStateLocked(STATE_IDLE_PENDING, reason); in stepIdleStateLocked()
2935 case STATE_IDLE_PENDING: in stepIdleStateLocked()
3178 if (mState == STATE_INACTIVE || mState == STATE_IDLE_PENDING) { in updatePreIdleFactor()