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.java30 import static com.android.server.DeviceIdleController.LIGHT_STATE_INACTIVE;
512 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStateActiveToLightStateInactive_ConditionsMet()
774 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NetworkConnected()
799 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NetworkConnected()
835 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NoNetworkConnected()
866 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
1077 enterLightState(LIGHT_STATE_INACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1079 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1116 enterLightState(LIGHT_STATE_INACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1118 verifyLightStateConditions(LIGHT_STATE_INACTIVE); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java390 static final int LIGHT_STATE_INACTIVE = 1; field in DeviceIdleController
412 case LIGHT_STATE_INACTIVE: return "INACTIVE"; in lightStateToString()
2755 mLightState = LIGHT_STATE_INACTIVE; in becomeInactiveIfAppropriateLocked()
2818 case LIGHT_STATE_INACTIVE: in stepLightIdleStateLocked()