Home
last modified time | relevance | path

Searched refs:LIGHT_STATE_WAITING_FOR_NETWORK (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java34 import static com.android.server.DeviceIdleController.LIGHT_STATE_WAITING_FOR_NETWORK;
896 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NoNetworkConnected()
905 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NoNetworkConnected()
934 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
943 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
1141 enterLightState(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1143 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1180 enterLightState(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1182 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1217 enterLightState(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java405 static final int LIGHT_STATE_WAITING_FOR_NETWORK = 5; field in DeviceIdleController
420 case LIGHT_STATE_WAITING_FOR_NETWORK: return "WAITING_FOR_NETWORK"; in lightStateToString()
2695 if (conn && mLightState == LIGHT_STATE_WAITING_FOR_NETWORK) { in updateConnectivityState()
3024 case LIGHT_STATE_WAITING_FOR_NETWORK: in stepLightIdleStateLocked()
3025 if (mNetworkConnected || mLightState == LIGHT_STATE_WAITING_FOR_NETWORK) { in stepLightIdleStateLocked()
3048 mLightState = LIGHT_STATE_WAITING_FOR_NETWORK; in stepLightIdleStateLocked()