/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 222 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceInService_returnTrue() 230 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue() 246 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse() 283 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService() 286 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService() 292 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService() 299 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService() 305 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneStateListenerExecutorTest.java | 77 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged() 82 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
|
D | GsmCdmaPhoneTest.java | 196 imsServiceState.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceState() 197 imsServiceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceState() 233 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceState() 241 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getState()); in testGetMergedServiceState() 242 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getDataRegistrationState()); in testGetMergedServiceState() 277 imsServiceState.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceStateNoCsfb() 278 imsServiceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceStateNoCsfb() 315 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceStateNoCsfb() 323 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getState()); in testGetMergedServiceStateNoCsfb() 324 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getDataRegistrationState()); in testGetMergedServiceStateNoCsfb() [all …]
|
D | ServiceStateTest.java | 68 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testRegState() 69 assertEquals(ServiceState.STATE_IN_SERVICE, ss.getDataRegistrationState()); in testRegState() 71 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testRegState() 72 assertEquals(ServiceState.STATE_IN_SERVICE, ss.getState()); in testRegState() 233 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testParcel()
|
D | CallManagerTest.java | 69 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in setUp() 246 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState() 250 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState() 254 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
|
D | PhoneStateListenerTest.java | 88 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged() 94 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
|
D | CarrierDisplayNameResolverTest.java | 90 mSS.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in setUp() 91 mSS.setDataRegState(ServiceState.STATE_IN_SERVICE); in setUp()
|
D | ServiceStateTrackerTest.java | 635 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnImsServiceStateChanged() 1330 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForVoiceRegStateOrRatChange() 1354 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForDataRegStateOrRatChange() 1997 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchet() 2016 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchetWithCellChange() 2308 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnVopsInfoChanged() 2309 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testOnVopsInfoChanged() 2338 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testOnVopsInfoChanged() 2459 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testUpdateSpnDisplay_spnNotEmptyAndWifiCallingEnabled_showSpnOnly() 2460 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testUpdateSpnDisplay_spnNotEmptyAndWifiCallingEnabled_showSpnOnly() [all …]
|
D | LocaleTrackerTest.java | 173 sendServiceState(ServiceState.STATE_IN_SERVICE); in testToggleAirplaneModeOn()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 533 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldSendNotificationWhenServiceStateIsChanged() 542 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged() 545 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged() 676 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testImsRegistered() 738 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingDuplicateMessages() 761 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingToOutOfService() 786 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingChangeForLteInLegacyMode() 795 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, false)); in testRoamingChangeForLteInLegacyMode() 810 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testDataOnlyRoamingCellToIWlanInLegacyMode() 819 ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN, ServiceState.STATE_IN_SERVICE, false)); in testDataOnlyRoamingCellToIWlanInLegacyMode() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 724 if (mSS != null && mSS.getState() == ServiceState.STATE_IN_SERVICE) { in updatePhoneType() 928 boolean isRegistered = mSS.getState() == ServiceState.STATE_IN_SERVICE in updatePhoneObject() 1481 if (mSS.getState() != ServiceState.STATE_IN_SERVICE) { in handleMessage() 1926 (mNewSS.getState() == ServiceState.STATE_IN_SERVICE); in handlePollStateResult() 2107 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in combinePsRegistrationStates() 2664 && (combinedRegState == ServiceState.STATE_IN_SERVICE)) { in updateSpnDisplayLegacy() 2751 } else if (combinedRegState == ServiceState.STATE_IN_SERVICE) { in updateSpnDisplayLegacy() 3028 && mSS.getDataRegistrationState() != ServiceState.STATE_IN_SERVICE) { in isConcurrentVoiceAndDataAllowed() 3205 mSS.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone() 3206 && mNewSS.getState() == ServiceState.STATE_IN_SERVICE; in pollStateDone() [all …]
|
D | CarrierServiceStateTracker.java | 167 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered() 168 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
|
D | GsmCdmaPhone.java | 525 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState() 641 || ((mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) in getPreciseDataConnectionState() 675 } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE in getDataConnectionState() 715 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE in getDataActivityState() 1040 if (baseSs.getState() == ServiceState.STATE_IN_SERVICE) { in mergeServiceStates() 1044 if (imsSs.getState() != ServiceState.STATE_IN_SERVICE) { in mergeServiceStates() 1207 && imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in handleInCallMmiCommands() 1263 && (mImsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE); in useImsForCall() 1380 && mSST.mSS.getDataRegistrationState() != ServiceState.STATE_IN_SERVICE in dial() 1399 && !(mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE in dial() [all …]
|
D | ImsSmsDispatcher.java | 260 getDataRegistrationState() == ServiceState.STATE_IN_SERVICE)); in isLteService()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 195 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimInvalid_ServiceState_InService() 289 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_ServiceState_InService() 301 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_SimState_Loaded()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/ |
D | VendorGsmCdmaPhone.java | 147 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaSMSDispatcher.java | 113 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | OperatorNameView.java | 145 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in updateText()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 428 if (dataState == ServiceState.STATE_IN_SERVICE && isNotInIwlan(serviceState)) { in getCombinedServiceState() 429 return ServiceState.STATE_IN_SERVICE; in getCombinedServiceState()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ServiceState.java | 72 value = {STATE_IN_SERVICE, STATE_OUT_OF_SERVICE, STATE_EMERGENCY_ONLY, 80 public static final int STATE_IN_SERVICE = TelephonyProtoEnums.SERVICE_STATE_IN_SERVICE; // 0 field in ServiceState 1065 case STATE_IN_SERVICE: in rilServiceStateToString() 1855 if (voiceSs.mVoiceRegState != STATE_IN_SERVICE) { in mergeServiceStates()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/ |
D | CarrierDisplayNameResolver.java | 414 if (getCombinedRegState(getServiceState()) == ServiceState.STATE_IN_SERVICE) { in resolveCarrierDisplayName() 565 if (ss.getState() != ServiceState.STATE_IN_SERVICE) return ss.getDataRegistrationState(); in getCombinedRegState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmSMSDispatcher.java | 160 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneBase.java | 97 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 146 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextController.java | 285 if (ss != null && ss.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE) { in updateCarrierText()
|