Home
last modified time | relevance | path

Searched refs:LIGHT_STATE_OVERRIDE (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_OVERRIDE;
810 enterLightState(LIGHT_STATE_OVERRIDE); in testLightStepIdleStateLocked_Overriden()
812 verifyLightStateConditions(LIGHT_STATE_OVERRIDE); in testLightStepIdleStateLocked_Overriden()
1151 enterLightState(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1153 verifyLightStateConditions(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1188 enterLightState(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1190 verifyLightStateConditions(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1225 enterLightState(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
1227 verifyLightStateConditions(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
1262 enterLightState(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeOps()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java411 static final int LIGHT_STATE_OVERRIDE = 7; field in DeviceIdleController
422 case LIGHT_STATE_OVERRIDE: return "OVERRIDE"; in lightStateToString()
2973 if (mLightState == LIGHT_STATE_OVERRIDE) { in stepLightIdleStateLocked()
3174 if (mLightState != LIGHT_STATE_OVERRIDE) { in stepIdleStateLocked()
3175 mLightState = LIGHT_STATE_OVERRIDE; in stepIdleStateLocked()
3461 || mLightState == LIGHT_STATE_OVERRIDE; in handleMotionDetectedLocked()
3463 becomeActiveLocked(type, Process.myUid(), timeout, mLightState == LIGHT_STATE_OVERRIDE); in handleMotionDetectedLocked()