Home
last modified time | relevance | path

Searched refs:LIGHT_STATE_IDLE_MAINTENANCE (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_IDLE_MAINTENANCE;
835 verifyLightStateConditions(LIGHT_STATE_IDLE_MAINTENANCE); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NetworkConnected()
841 verifyLightStateConditions(LIGHT_STATE_IDLE_MAINTENANCE); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NetworkConnected()
867 verifyLightStateConditions(LIGHT_STATE_IDLE_MAINTENANCE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NetworkConnected()
873 verifyLightStateConditions(LIGHT_STATE_IDLE_MAINTENANCE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NetworkConnected()
899 verifyLightStateConditions(LIGHT_STATE_IDLE_MAINTENANCE); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NoNetworkConnected()
908 verifyLightStateConditions(LIGHT_STATE_IDLE_MAINTENANCE); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NoNetworkConnected()
937 verifyLightStateConditions(LIGHT_STATE_IDLE_MAINTENANCE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
946 verifyLightStateConditions(LIGHT_STATE_IDLE_MAINTENANCE); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
1145 enterLightState(LIGHT_STATE_IDLE_MAINTENANCE); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java408 static final int LIGHT_STATE_IDLE_MAINTENANCE = 6; field in DeviceIdleController
421 case LIGHT_STATE_IDLE_MAINTENANCE: return "IDLE_MAINTENANCE"; in lightStateToString()
2998 case LIGHT_STATE_IDLE_MAINTENANCE: in stepLightIdleStateLocked()
3038 mLightState = LIGHT_STATE_IDLE_MAINTENANCE; in stepLightIdleStateLocked()
3411 if (mState == STATE_IDLE_MAINTENANCE || mLightState == LIGHT_STATE_IDLE_MAINTENANCE in exitMaintenanceEarlyIfNeededLocked()