Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java222 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue()
234 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
246 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataOutOfService_returnFalse()
248 ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataOutOfService_returnFalse()
263 ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_servicestateNull_returnOutOfService()
284 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
297 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService()
305 ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService()
310 when(mServiceState.getState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataOutOfService_returnOutOfService()
312 ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataOutOfService_returnOutOfService()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallManagerTest.java245 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSecondServiceState).getState(); in testGetServiceState()
257 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSecondServiceState).getState(); in testGetServiceState()
259 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
264 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
270 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
DLocaleTrackerTest.java149 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testNoSim()
215 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeOff()
240 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeOosPlmn()
278 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeNoCellInfo()
DCarrierServiceStateTrackerTest.java152 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendPrefNetworkNotification()
153 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegistrationState(); in testSendPrefNetworkNotification()
DServiceStateTrackerTest.java670 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testOnImsServiceStateChanged()
1844 sst.mSS.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState()
1845 assertEquals(sst.getCurrentDataConnectionState(), ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState()
2674 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly()
2695 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS()
2696 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS()
2909 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testUpdateSpnDisplayLegacy_WlanServiceNoWifiCalling_displayOOS()
3037 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testGetCombinedRegState()
3038 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegistrationState(); in testGetCombinedRegState()
3039 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, sst.getCombinedRegState(mServiceState)); in testGetCombinedRegState()
[all …]
DGsmCdmaPhoneTest.java236 serviceState.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetMergedServiceState()
318 serviceState.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetMergedServiceStateNoCsfb()
421 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST).getCurrentDataConnectionState(); in testGetDataConnectionState()
1309 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCsCallRadioTech()
1515 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS) in testSendUssdInOutOfService()
DServiceStateTest.java234 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testParcel()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMobileRadioPowerCalculatorTest.java66 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testCounterBasedModel()
126 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testMeasuredEnergyBasedModel()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java72 value = {STATE_IN_SERVICE, STATE_OUT_OF_SERVICE, STATE_EMERGENCY_ONLY,
88 public static final int STATE_OUT_OF_SERVICE = field in ServiceState
277 private int mVoiceRegState = STATE_OUT_OF_SERVICE;
278 private int mDataRegState = STATE_OUT_OF_SERVICE;
1120 case STATE_OUT_OF_SERVICE: in rilServiceStateToString()
1171 mVoiceRegState = STATE_OUT_OF_SERVICE; in init()
1172 mDataRegState = STATE_OUT_OF_SERVICE; in init()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerDataTest.java293 setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testIsDataInService_notInService_false()
294 setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testIsDataInService_notInService_false()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java487 || state == ServiceState.STATE_OUT_OF_SERVICE in isInService()
503 return ServiceState.STATE_OUT_OF_SERVICE; in getCombinedServiceState()
516 if (state == ServiceState.STATE_OUT_OF_SERVICE in getCombinedServiceState()
/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
DTelephonyTester.java396 ServiceState.STATE_OUT_OF_SERVICE)); in overrideServiceState()
401 ServiceState.STATE_OUT_OF_SERVICE)); in overrideServiceState()
DCallManager.java279 int resultState = ServiceState.STATE_OUT_OF_SERVICE; in getServiceState()
287 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in getServiceState()
307 int resultState = ServiceState.STATE_OUT_OF_SERVICE; in getServiceState()
316 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in getServiceState()
DLocaleTracker.java452 && (mLastServiceState == ServiceState.STATE_OUT_OF_SERVICE in updateTrackingStatus()
DGsmCdmaConnection.java582 if ((serviceState == ServiceState.STATE_OUT_OF_SERVICE in disconnectCauseFromCode()
DServiceStateTracker.java2384 if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in handlePollStateResultMessage()
3007 if (combinedRegState == ServiceState.STATE_OUT_OF_SERVICE in updateSpnDisplayLegacy()
3129 if (combinedRegState == ServiceState.STATE_OUT_OF_SERVICE) { in updateSpnDisplayLegacy()
4208 return ServiceState.STATE_OUT_OF_SERVICE; in regCodeToServiceState()
6012 if ((regState == ServiceState.STATE_OUT_OF_SERVICE in getCombinedRegState()
DGsmCdmaPhone.java1432 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE in dial()
1451 && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE /* CS out of service */ in dial()
/frameworks/base/services/core/java/com/android/server/am/
DDataConnectionStats.java145 && mServiceState.getState() != ServiceState.STATE_OUT_OF_SERVICE in hasService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataCallSessionStats.java229 ? serviceState.getDataRegistrationState() == ServiceState.STATE_OUT_OF_SERVICE in getIsOos()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DServiceStateStatsTest.java141 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getVoiceRegState(); in conclude_outOfService()
142 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegState(); in conclude_outOfService()
240 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getVoiceRegState(); in conclude_noSimCardOutOfService()
241 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegState(); in conclude_noSimCardOutOfService()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java382 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testTelephonyCapable_BootInitState_ServiceState_OutOfService()
395 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testTelephonyCapable_BootInitState_SimState_NotReady()
410 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testTelephonyCapable_BootInitState_SimState_Ready()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java541 mImsPhoneUT.setServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testShouldSendNotificationWhenServiceStateIsChanged()
684 mImsPhoneUT.setServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testImsDeregistered()
879 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInOutOfService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java1304 serviceStateChangedEvent(ServiceState.STATE_OUT_OF_SERVICE, in testIsSuspended()
1329 serviceStateChangedEvent(ServiceState.STATE_OUT_OF_SERVICE, in testDataCreatedWhenOutOfService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java478 setServiceState(ServiceState.STATE_OUT_OF_SERVICE); in ImsPhone()
2455 setServiceState(ServiceState.STATE_OUT_OF_SERVICE);
2470 setServiceState(ServiceState.STATE_OUT_OF_SERVICE);

12