/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 218 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceInService_returnTrue() 225 when(mServiceState.getDataRegState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue() 234 when(mServiceState.getDataRegState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse() 266 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService() 268 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService() 274 when(mServiceState.getDataRegState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService() 276 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 496 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldSendNotificationWhenServiceStateIsChanged() 505 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged() 508 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged() 655 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingDuplicateMessages() 678 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingToOutOfService() 703 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingChangeForLteInLegacyMode() 712 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, false)); in testRoamingChangeForLteInLegacyMode() 727 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testDataOnlyRoamingCellToIWlanInLegacyMode() 736 ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN, ServiceState.STATE_IN_SERVICE, false)); in testDataOnlyRoamingCellToIWlanInLegacyMode() 752 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true); in testCellVoiceDataChangeToWlanInLegacyMode() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneStateListenerExecutorTest.java | 89 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged() 94 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
|
D | PhoneStateListenerTest.java | 99 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged() 106 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
|
D | ServiceStateTest.java | 74 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testRegState() 75 assertEquals(ServiceState.STATE_IN_SERVICE, ss.getDataRegState()); in testRegState() 77 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testRegState() 78 assertEquals(ServiceState.STATE_IN_SERVICE, ss.getVoiceRegState()); in testRegState() 244 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testParcel()
|
D | CallManagerTest.java | 102 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in setUp() 283 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState() 287 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState() 291 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
|
D | CarrierDisplayNameResolverTest.java | 90 mSS.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in setUp() 91 mSS.setDataRegState(ServiceState.STATE_IN_SERVICE); in setUp()
|
D | ServiceStateTrackerTest.java | 567 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnImsServiceStateChanged() 1142 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForVoiceRegStateOrRatChange() 1166 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForDataRegStateOrRatChange() 1767 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchet() 1785 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchetWithCellChange() 1806 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchetWithCellChangeBeforeRatChange() 2050 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnVopsInfoChanged() 2051 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testOnVopsInfoChanged() 2079 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testOnVopsInfoChanged() 2200 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testUpdateSpnDisplay_spnNotEmptyAndWifiCallingEnabled_showSpnOnly() [all …]
|
D | LocaleTrackerTest.java | 180 sendServiceState(ServiceState.STATE_IN_SERVICE); in testToggleAirplaneModeOn()
|
D | GsmCdmaPhoneTest.java | 324 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in testDial() 955 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetCsCallRadioTech() 969 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetCsCallRadioTech()
|
D | GsmCdmaCallTrackerTest.java | 106 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in testMOCallDial()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceStateTracker.java | 162 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered() 163 || mSST.mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered() 170 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneVoiceRegistered()
|
D | ServiceStateTracker.java | 677 if (mSS != null && mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE) { in updatePhoneType() 866 boolean isRegistered = mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE || in updatePhoneObject() 1390 if (mSS.getState() != ServiceState.STATE_IN_SERVICE) { in handleMessage() 1817 (mNewSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE); in handlePollStateResult() 2009 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in combinePsRegistrationStates() 2554 && (combinedRegState == ServiceState.STATE_IN_SERVICE)) { in updateSpnDisplayLegacy() 2643 } else if (combinedRegState == ServiceState.STATE_IN_SERVICE) { in updateSpnDisplayLegacy() 3031 mSS.getVoiceRegState() != ServiceState.STATE_IN_SERVICE in pollStateDone() 3032 && mNewSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE; in pollStateDone() 3035 mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE in pollStateDone() [all …]
|
D | GsmCdmaPhone.java | 499 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState() 598 } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE in getDataConnectionState() 639 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE in getDataActivityState() 949 if (imsSs.getVoiceRegState() != ServiceState.STATE_IN_SERVICE) { in mergeServiceStates() 1116 && imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in handleInCallMmiCommands() 1191 && (imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in dial() 1248 && mSST.mSS.getDataRegState() != ServiceState.STATE_IN_SERVICE && !isEmergency) { in dial() 1264 && !(mSST.mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE in dial() 1404 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in handleUssdRequest() 1913 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in getCallForwardingOption() [all …]
|
D | ImsSmsDispatcher.java | 246 getState() == ServiceState.STATE_IN_SERVICE)); in isLteService()
|
D | SMSDispatcher.java | 688 if ( tracker.mImsRetry > 0 && ss != ServiceState.STATE_IN_SERVICE) { in handleSendComplete() 703 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in handleSendComplete() 1465 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendMultipartSms()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 171 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimInvalid_ServiceState_InService() 265 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_ServiceState_InService() 277 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_SimState_Loaded()
|
/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/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaSMSDispatcher.java | 130 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 427 if (dataState == ServiceState.STATE_IN_SERVICE in getCombinedServiceState() 429 return ServiceState.STATE_IN_SERVICE; in getCombinedServiceState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/ |
D | CarrierDisplayNameResolver.java | 403 if (getCombinedRegState(getServiceState()) == ServiceState.STATE_IN_SERVICE) { in resolveCarrierDisplayName() 548 if (ss.getVoiceRegState() != ServiceState.STATE_IN_SERVICE) return ss.getDataRegState(); in getCombinedRegState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmSMSDispatcher.java | 191 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ServiceState.java | 70 public static final int STATE_IN_SERVICE = TelephonyProtoEnums.SERVICE_STATE_IN_SERVICE; // 0 field in ServiceState 1007 case STATE_IN_SERVICE: in rilServiceStateToString() 1797 if (voiceSs.mVoiceRegState != STATE_IN_SERVICE) { in mergeServiceStates()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneBase.java | 98 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 147 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()
|