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.java33 import static com.android.server.DeviceIdleController.LIGHT_STATE_WAITING_FOR_NETWORK;
844 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NoNetworkConnected()
853 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testLightStepIdleStateLocked_ValidStates_NoActiveOps_NoNetworkConnected()
882 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
891 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testLightStepIdleStateLocked_ValidStates_ActiveOps_NoNetworkConnected()
1089 enterLightState(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1091 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_noActiveOps()
1128 enterLightState(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1130 verifyLightStateConditions(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_activeJobs()
1165 enterLightState(LIGHT_STATE_WAITING_FOR_NETWORK); in testExitMaintenanceEarlyIfNeededLocked_light_activeAlarms()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java400 static final int LIGHT_STATE_WAITING_FOR_NETWORK = 5; field in DeviceIdleController
415 case LIGHT_STATE_WAITING_FOR_NETWORK: return "WAITING_FOR_NETWORK"; in lightStateToString()
2535 if (conn && mLightState == LIGHT_STATE_WAITING_FOR_NETWORK) { in updateConnectivityState()
2859 case LIGHT_STATE_WAITING_FOR_NETWORK: in stepLightIdleStateLocked()
2860 if (mNetworkConnected || mLightState == LIGHT_STATE_WAITING_FOR_NETWORK) { in stepLightIdleStateLocked()
2883 mLightState = LIGHT_STATE_WAITING_FOR_NETWORK; in stepLightIdleStateLocked()