Searched refs:LIGHT_STATE_ACTIVE (Results 1 – 2 of 2) sorted by relevance
27 import static com.android.server.DeviceIdleController.LIGHT_STATE_ACTIVE;466 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsNotMet()473 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsNotMet()480 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsNotMet()488 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsNotMet()506 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsMet()749 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStepIdleStateLocked_InvalidStates()1073 enterLightState(LIGHT_STATE_ACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()1075 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()1112 enterLightState(LIGHT_STATE_ACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()[all …]
387 static final int LIGHT_STATE_ACTIVE = 0; field in DeviceIdleController411 case LIGHT_STATE_ACTIVE: return "ACTIVE"; in lightStateToString()1865 mLightState = LIGHT_STATE_ACTIVE; in onStart()2659 EventLogTags.writeDeviceIdleLight(LIGHT_STATE_ACTIVE, activeReason); in becomeActiveLocked()2660 mLightState = LIGHT_STATE_ACTIVE; in becomeActiveLocked()2696 if (mLightState == LIGHT_STATE_ACTIVE && mNextLightAlarmTime != 0) { in verifyAlarmStateLocked()2754 if (mLightState == LIGHT_STATE_ACTIVE && mLightEnabled) { in becomeInactiveIfAppropriateLocked()