Searched refs:LIGHT_STATE_ACTIVE (Results 1 – 2 of 2) sorted by relevance
28 import static com.android.server.DeviceIdleController.LIGHT_STATE_ACTIVE;518 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsNotMet()525 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsNotMet()532 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsNotMet()540 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsNotMet()558 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStateActiveToLightStateInactive_ConditionsMet()801 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testLightStepIdleStateLocked_InvalidStates()1125 enterLightState(LIGHT_STATE_ACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()1127 verifyLightStateConditions(LIGHT_STATE_ACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()1164 enterLightState(LIGHT_STATE_ACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()[all …]
392 static final int LIGHT_STATE_ACTIVE = 0; field in DeviceIdleController416 case LIGHT_STATE_ACTIVE: return "ACTIVE"; in lightStateToString()2039 mLightState = LIGHT_STATE_ACTIVE; in onStart()2821 EventLogTags.writeDeviceIdleLight(LIGHT_STATE_ACTIVE, activeReason); in becomeActiveLocked()2822 mLightState = LIGHT_STATE_ACTIVE; in becomeActiveLocked()2858 if (mLightState == LIGHT_STATE_ACTIVE && mNextLightAlarmTime != 0) { in verifyAlarmStateLocked()2918 if (mLightState == LIGHT_STATE_ACTIVE && mLightEnabled) { in becomeInactiveIfAppropriateLocked()