Home
last modified time | relevance | path

Searched refs:STATE_OUT_OF_SERVICE (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java224 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue()
231 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
240 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataOutOfService_returnFalse()
241 when(mServiceState.getDataRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataOutOfService_returnFalse()
254 ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_servicestateNull_returnOutOfService()
273 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
281 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataOutOfService_returnOutOfService()
282 when(mServiceState.getDataRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataOutOfService_returnOutOfService()
284 ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataOutOfService_returnOutOfService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallManagerTest.java282 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSecondServiceState).getState(); in testGetServiceState()
294 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSecondServiceState).getState(); in testGetServiceState()
296 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
301 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
307 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
DCarrierServiceStateTrackerTest.java160 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getVoiceRegState(); in testSendPrefNetworkNotification()
161 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegState(); in testSendPrefNetworkNotification()
200 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getVoiceRegState(); in testSendEmergencyNetworkNotification()
DLocaleTrackerTest.java205 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeOff()
DServiceStateTrackerTest.java556 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testOnImsServiceStateChanged()
1626 sst.mSS.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState()
1627 assertEquals(sst.getCurrentDataConnectionState(), ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState()
2130 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly()
2153 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS()
2154 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS()
DServiceStateTest.java245 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testParcel()
DGsmCdmaPhoneTest.java259 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST).getCurrentDataConnectionState(); in testGetDataConnectionState()
965 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCsCallRadioTech()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java208 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testTelephonyCapable_BootInitState_ServiceState_OutOfService()
221 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testTelephonyCapable_BootInitState_SimState_NotReady()
236 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testTelephonyCapable_BootInitState_SimState_Ready()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java397 || state == ServiceState.STATE_OUT_OF_SERVICE in isInService()
413 return ServiceState.STATE_OUT_OF_SERVICE; in getCombinedServiceState()
425 if (state == ServiceState.STATE_OUT_OF_SERVICE in getCombinedServiceState()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java78 public static final int STATE_OUT_OF_SERVICE = field in ServiceState
262 private int mVoiceRegState = STATE_OUT_OF_SERVICE;
263 private int mDataRegState = STATE_OUT_OF_SERVICE;
1009 case STATE_OUT_OF_SERVICE: in rilServiceStateToString()
1059 mVoiceRegState = STATE_OUT_OF_SERVICE; in init()
1060 mDataRegState = STATE_OUT_OF_SERVICE; in init()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java127 && mServiceState.getState() != ServiceState.STATE_OUT_OF_SERVICE in hasService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DEventLogTags.logtags44 # and STATE_OUT_OF_SERVICE in "network_to". To avoid confusion, the fixed version
DCallManager.java280 int resultState = ServiceState.STATE_OUT_OF_SERVICE; in getServiceState()
288 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in getServiceState()
308 int resultState = ServiceState.STATE_OUT_OF_SERVICE; in getServiceState()
317 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in getServiceState()
DLocaleTracker.java344 && (mLastServiceState == ServiceState.STATE_OUT_OF_SERVICE in updateTrackingStatus()
DServiceStateTracker.java2127 if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in handlePollStateResultMessage()
2623 if (combinedRegState == ServiceState.STATE_OUT_OF_SERVICE in updateSpnDisplayLegacy()
2721 if (combinedRegState == ServiceState.STATE_OUT_OF_SERVICE) { in updateSpnDisplayLegacy()
3684 return ServiceState.STATE_OUT_OF_SERVICE; in regCodeToServiceState()
5317 if ((regState == ServiceState.STATE_OUT_OF_SERVICE in getCombinedRegState()
DGsmCdmaConnection.java556 if ((serviceState == ServiceState.STATE_OUT_OF_SERVICE in disconnectCauseFromCode()
DGsmCdmaPhone.java1247 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE in dial()
1263 && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE /* CS out of service */ in dial()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java270 verify(mImsPhone).setServiceState(eq(ServiceState.STATE_OUT_OF_SERVICE)); in testImsRegistering()
280 verify(mImsPhone).setServiceState(eq(ServiceState.STATE_OUT_OF_SERVICE)); in testImsDeregistered()
DImsPhoneTest.java499 mImsPhoneUT.setServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testShouldSendNotificationWhenServiceStateIsChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java3084 mPhone.setServiceState(ServiceState.STATE_OUT_OF_SERVICE);
3093 mPhone.setServiceState(ServiceState.STATE_OUT_OF_SERVICE);
DImsPhone.java307 setServiceState(ServiceState.STATE_OUT_OF_SERVICE); in ImsPhone()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5149 if (state == ServiceState.STATE_OUT_OF_SERVICE in fixPhoneServiceState()
5172 if (state == ServiceState.STATE_OUT_OF_SERVICE in updateAllPhoneStateLocked()
5188 } else if (state == ServiceState.STATE_OUT_OF_SERVICE) { in updateAllPhoneStateLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28476 field public static final int STATE_OUT_OF_SERVICE = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt44629 field public static final int STATE_OUT_OF_SERVICE = 1; // 0x1