Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java229 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue()
242 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
255 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataNull_returnFalse()
266 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataOutOfService_returnFalse()
286 .isEqualTo(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_servicestateNull_returnOutOfService()
307 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
320 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService()
328 .isEqualTo(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService()
333 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataOutOfService_returnOutOfService()
335 .thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataOutOfService_returnOutOfService()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallManagerTest.java232 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSecondServiceState).getState(); in testGetServiceState()
244 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSecondServiceState).getState(); in testGetServiceState()
246 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
251 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
257 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
DLocaleTrackerTest.java161 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testNoSim()
227 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeOff()
252 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeOosPlmn()
290 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeNoCellInfo()
336 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testClearCellInfoForLostOperator()
DCarrierServiceStateTrackerTest.java178 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendPrefNetworkNotification()
179 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegistrationState(); in testSendPrefNetworkNotification()
DServiceStateTrackerTest.java909 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testOnImsServiceStateChanged()
1860 sst.mSS.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState()
1861 assertEquals(sst.getCurrentDataConnectionState(), ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState()
2956 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, sst.mSS.getState()); in testLastKnownCellIdentity()
2973 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly()
2999 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS()
3000 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS()
3230 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testUpdateSpnDisplayLegacy_WlanServiceNoWifiCalling_displayOOS()
3359 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testGetCombinedRegState()
3360 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegistrationState(); in testGetCombinedRegState()
[all …]
DSignalStrengthControllerTest.java20 import static android.telephony.ServiceState.STATE_OUT_OF_SERVICE;
1429 doReturn(STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
DGsmCdmaPhoneTest.java290 serviceState.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetMergedServiceState()
373 serviceState.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetMergedServiceStateNoCsfb()
1244 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCsCallRadioTech()
1453 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS) in testSendUssdInOutOfService()
1940 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, mPhoneUT.getServiceState().getState()); in testSetVoiceServiceStateOverride()
1958 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, mPhoneUT.getServiceState().getState()); in testSetVoiceServiceStateOverride()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DSatelliteSOSMessageRecommenderTest.java19 import static android.telephony.ServiceState.STATE_OUT_OF_SERVICE;
145 when(mServiceState.getState()).thenReturn(STATE_OUT_OF_SERVICE); in setUp()
146 when(mServiceState2.getState()).thenReturn(STATE_OUT_OF_SERVICE); in setUp()
197 when(mServiceState.getState()).thenReturn(STATE_OUT_OF_SERVICE); in testStartTimer_emergencyCallNull()
198 when(mServiceState2.getState()).thenReturn(STATE_OUT_OF_SERVICE); in testStartTimer_emergencyCallNull()
427 ServiceState.STATE_IN_SERVICE, STATE_OUT_OF_SERVICE); in testCellularServiceStateChangedBeforeTimeout_InServiceToOutOfService()
439 ServiceState.STATE_EMERGENCY_ONLY, STATE_OUT_OF_SERVICE); in testCellularServiceStateChangedBeforeTimeout_EmergencyOnlyToOutOfService()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMobileRadioPowerCalculatorTest.java89 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testCounterBasedModel()
209 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testCounterBasedModel_multipleDefinedRat()
366 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testCounterBasedModel_legacyPowerProfile()
488 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testTimerBasedModel_byProcessState()
605 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
686 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
870 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile()
974 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testMeasuredEnergyBasedModel_byProcessState()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java76 value = {STATE_IN_SERVICE, STATE_OUT_OF_SERVICE, STATE_EMERGENCY_ONLY,
92 public static final int STATE_OUT_OF_SERVICE = field in ServiceState
280 private int mVoiceRegState = STATE_OUT_OF_SERVICE;
281 private int mDataRegState = STATE_OUT_OF_SERVICE;
1169 case STATE_OUT_OF_SERVICE: in rilServiceStateToString()
1223 mVoiceRegState = STATE_OUT_OF_SERVICE; in init()
1224 mDataRegState = STATE_OUT_OF_SERVICE; in init()
/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.java475 ServiceState.STATE_OUT_OF_SERVICE); in overrideServiceState()
477 ServiceState.STATE_OUT_OF_SERVICE)); in overrideServiceState()
492 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.java462 && (mLastServiceState == ServiceState.STATE_OUT_OF_SERVICE in updateTrackingStatus()
/frameworks/base/services/core/java/com/android/server/am/
DDataConnectionStats.java140 && mServiceState.getState() != ServiceState.STATE_OUT_OF_SERVICE in hasService()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java622 || state == ServiceState.STATE_OUT_OF_SERVICE in isInService()
642 return ServiceState.STATE_OUT_OF_SERVICE; in getCombinedServiceState()
653 if (voiceRegState == ServiceState.STATE_OUT_OF_SERVICE in getCombinedServiceState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionRepositoryTest.kt35 import android.telephony.ServiceState.STATE_OUT_OF_SERVICE
938 it.voiceRegState = STATE_OUT_OF_SERVICE in isInService_notIwlan()
953 it.voiceRegState = STATE_OUT_OF_SERVICE in isInService_notIwlan()
976 it.voiceRegState = STATE_OUT_OF_SERVICE in isInService_isIwlan_voiceOutOfService_dataInService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DOperatorNameViewControllerTest.kt191 .thenReturn(ServiceState().also { it.state = ServiceState.STATE_OUT_OF_SERVICE }) in notInService_doesNotShowOperatorName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteSOSMessageRecommender.java22 import static android.telephony.ServiceState.STATE_OUT_OF_SERVICE;
518 return isStateOutOfService ? STATE_OUT_OF_SERVICE : STATE_EMERGENCY_ONLY; in getBestCellularServiceState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DRadioOnStateListenerTest.java171 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testPhoneChangeState_NoOkToCall_Timeout()
DEmergencyStateTrackerTest.java186 .isOkToCall(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioSwitchDdsAndSetEmergencyMode()
189 .isOkToCall(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioSwitchDdsAndSetEmergencyMode()
245 .isOkToCall(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode()
247 .onTimeout(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode()
251 .isOkToCall(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode()
253 .onTimeout(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode()
3388 Phone testPhone1 = makeTestPhone(1 /* phoneId */, ServiceState.STATE_OUT_OF_SERVICE, in setupTestPhoneForEmergencyCall()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerDataTest.java343 setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testIsDataInService_notInService_false()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataCallSessionStats.java376 && serviceState.getDataRegistrationState() == ServiceState.STATE_OUT_OF_SERVICE; in getIsOos()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DDataCallSessionStatsTest.java301 .thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in testSetupDataCallOnIwlan_success_thenOOS()
DServiceStateStatsTest.java179 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getVoiceRegState(); in conclude_outOfService()
180 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegState(); in conclude_outOfService()
283 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getVoiceRegState(); in conclude_noSimCardOutOfService()
284 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegState(); in conclude_noSimCardOutOfService()

12