Home
last modified time | relevance | path

Searched refs:LIGHT_STATE_INACTIVE (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_INACTIVE;
564 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStateActiveToLightStateInactive_ConditionsMet()
826 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NetworkConnected()
851 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NetworkConnected()
887 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NoNetworkConnected()
918 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
1129 enterLightState(LIGHT_STATE_INACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1131 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1168 enterLightState(LIGHT_STATE_INACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1170 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java395 static final int LIGHT_STATE_INACTIVE = 1; field in DeviceIdleController
417 case LIGHT_STATE_INACTIVE: return "INACTIVE"; in lightStateToString()
2919 mLightState = LIGHT_STATE_INACTIVE; in becomeInactiveIfAppropriateLocked()
2983 case LIGHT_STATE_INACTIVE: in stepLightIdleStateLocked()