Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java33 import static com.android.server.DeviceIdleController.LIGHT_STATE_PRE_IDLE;
858 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NetworkConnected()
925 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
1133 enterLightState(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1172 enterLightState(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1174 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1209 enterLightState(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
1211 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
1246 enterLightState(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeOps()
1248 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeOps()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java398 static final int LIGHT_STATE_PRE_IDLE = 3; field in DeviceIdleController
418 case LIGHT_STATE_PRE_IDLE: return "PRE_IDLE"; in lightStateToString()
2991 mLightState = LIGHT_STATE_PRE_IDLE; in stepLightIdleStateLocked()
2997 case LIGHT_STATE_PRE_IDLE: in stepLightIdleStateLocked()
3412 || mLightState == LIGHT_STATE_PRE_IDLE) { in exitMaintenanceEarlyIfNeededLocked()
3425 } else if (mLightState == LIGHT_STATE_PRE_IDLE) { in exitMaintenanceEarlyIfNeededLocked()