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.java32 import static com.android.server.DeviceIdleController.LIGHT_STATE_PRE_IDLE;
806 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NetworkConnected()
873 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
1081 enterLightState(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1120 enterLightState(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1122 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1157 enterLightState(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
1159 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
1194 enterLightState(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeOps()
1196 verifyLightStateConditions(LIGHT_STATE_PRE_IDLE); in testExitMaintenanceEarlyIfNeededLocked_light_activeOps()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java393 static final int LIGHT_STATE_PRE_IDLE = 3; field in DeviceIdleController
413 case LIGHT_STATE_PRE_IDLE: return "PRE_IDLE"; in lightStateToString()
2826 mLightState = LIGHT_STATE_PRE_IDLE; in stepLightIdleStateLocked()
2832 case LIGHT_STATE_PRE_IDLE: in stepLightIdleStateLocked()
3247 || mLightState == LIGHT_STATE_PRE_IDLE) { in exitMaintenanceEarlyIfNeededLocked()
3260 } else if (mLightState == LIGHT_STATE_PRE_IDLE) { in exitMaintenanceEarlyIfNeededLocked()