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.java31 import static com.android.server.DeviceIdleController.LIGHT_STATE_OVERRIDE;
758 enterLightState(LIGHT_STATE_OVERRIDE); in testLightStepIdleStateLocked_Overriden()
760 verifyLightStateConditions(LIGHT_STATE_OVERRIDE); in testLightStepIdleStateLocked_Overriden()
1099 enterLightState(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1101 verifyLightStateConditions(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1136 enterLightState(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1138 verifyLightStateConditions(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1173 enterLightState(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
1175 verifyLightStateConditions(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
1210 enterLightState(LIGHT_STATE_OVERRIDE); in testExitMaintenanceEarlyIfNeededLocked_light_activeOps()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java406 static final int LIGHT_STATE_OVERRIDE = 7; field in DeviceIdleController
417 case LIGHT_STATE_OVERRIDE: return "OVERRIDE"; in lightStateToString()
2808 if (mLightState == LIGHT_STATE_OVERRIDE) { in stepLightIdleStateLocked()
3009 if (mLightState != LIGHT_STATE_OVERRIDE) { in stepIdleStateLocked()
3010 mLightState = LIGHT_STATE_OVERRIDE; in stepIdleStateLocked()
3280 || mLightState == LIGHT_STATE_OVERRIDE; in handleMotionDetectedLocked()
3282 becomeActiveLocked(type, Process.myUid(), timeout, mLightState == LIGHT_STATE_OVERRIDE); in handleMotionDetectedLocked()