Home
last modified time | relevance | path

Searched refs:mSS (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierDisplayNameResolverTest.java67 private final ServiceState mSS = new ServiceState(); field in CarrierDisplayNameResolverTest
78 doReturn(mSS).when(mSST).getServiceState(); in setUp()
88 mSS.setEmergencyOnly(false /* emergencyCallOnly" */); in setUp()
89 mSS.setOperatorName("long name", "short name", HOME_PLMN_NUMERIC); in setUp()
90 mSS.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in setUp()
91 mSS.setDataRegState(ServiceState.STATE_IN_SERVICE); in setUp()
134 mSS.setRoaming(NON_ROAMING); in testShouldShowSPN_nonRoaming_showSPN()
142 mSS.setOperatorName("long", "short", NON_HOME_PLMN_NUMERIC); in testShouldShowSPN_plmnNotInProvidedList_notShowSPN()
143 mSS.setRoaming(ROAMING); in testShouldShowSPN_plmnNotInProvidedList_notShowSPN()
151 mSS.setOperatorName("long", "short", SPDI_FROM_USIM[0]); in testShouldShowSPN_plmnInProvidedList_showSPN()
[all …]
DServiceStateTrackerTest.java558 sst.mSS = ss; in testOnImsServiceStateChanged()
568 sst.mSS = ss; in testOnImsServiceStateChanged()
1132 sst.mSS.addNetworkRegistrationInfo(nri); in testRegisterForVoiceRegStateOrRatChange()
1156 sst.mSS.addNetworkRegistrationInfo(nrs); in testRegisterForDataRegStateOrRatChange()
1626 sst.mSS.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState()
1634 sst.mSS.setCssIndicator(1); in testIsConcurrentVoiceAndDataAllowed()
1636 sst.mSS.setCssIndicator(0); in testIsConcurrentVoiceAndDataAllowed()
1645 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed()
1652 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed()
1654 sst.mSS.setCssIndicator(1); in testIsConcurrentVoiceAndDataAllowed()
[all …]
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()
DGsmCdmaPhoneTest.java166 mSST.mSS = serviceState; in testGetServiceState()
323 mSST.mSS = mServiceState; in testDial()
431 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm()
434 doReturn(true).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm()
437 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm()
475 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma()
478 doReturn(true).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma()
481 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma()
952 mSST.mSS = ss; in testGetCsCallRadioTech()
DTelephonyTest.java521 mSST.mSS = mServiceState; in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java150 public ServiceState mSS; field in ServiceStateTracker
375 mSS.getRilDataRadioTechnology())); in onSubscriptionsChanged()
666 if (mSS != null && mSS.getVoiceRoaming()) { in updatePhoneType()
672 if (mSS != null && mSS.getDataRoaming()) { in updatePhoneType()
677 if (mSS != null && mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE) { in updatePhoneType()
683 if (mSS != null) { in updatePhoneType()
684 NetworkRegistrationInfo nrs = mSS.getNetworkRegistrationInfo( in updatePhoneType()
693 mSS = new ServiceState(); in updatePhoneType()
694 mSS.setStateOutOfService(); in updatePhoneType()
813 int rat = mSS.getRilVoiceRadioTechnology(); in notifyVoiceRegStateRilRadioTechnologyChanged()
[all …]
DCarrierServiceStateTracker.java159 if (mSST.mSS == null) { in isPhoneStillRegistered()
162 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered()
163 || mSST.mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
167 if (mSST.mSS == null) { in isPhoneVoiceRegistered()
170 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneVoiceRegistered()
DGsmCdmaPhone.java499 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
501 return mergeServiceStates((mSST == null) ? new ServiceState() : mSST.mSS, in getServiceState()
507 return mSST.mSS; in getServiceState()
1247 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE in dial()
1248 && mSST.mSS.getDataRegState() != ServiceState.STATE_IN_SERVICE && !isEmergency) { in dial()
1252 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_POWER_OFF /* CS POWER_OFF */ in dial()
1263 && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE /* CS out of service */ in dial()
1264 && !(mSST.mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE in dial()
1265 && ServiceState.isLte(mSST.mSS.getRilDataRadioTechnology())) /* PS not in LTE */ in dial()
1529 if (!TextUtils.isEmpty(defaultVmNumberRoaming) && mSST.mSS.getRoaming()) { in getVoiceMailNumber()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DModelInterpreter.java148 ServerSocket mSS; field in ModelInterpreter
177 mSS = new ServerSocket(); in ModelInterpreter()
179 mSS.setReuseAddress(true); in ModelInterpreter()
180 mSS.bind(sa); in ModelInterpreter()
201 if (mSS != null) { in run()
205 s = mSS.accept(); in run()
265 if (mSS == null) { in run()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java198 private ServiceState mSS = new ServiceState(); field in ImsPhone
288 mSS.setStateOff(); in ImsPhone()
339 return mSS; in getServiceState()
348 isVoiceRegStateChanged = mSS.getVoiceRegState() != state; in setServiceState()
349 mSS.setVoiceRegState(state); in setServiceState()
1445 if (mSS != null && mDefaultPhone.getServiceStateTracker() != null in updateDataServiceState()
1446 && mDefaultPhone.getServiceStateTracker().mSS != null) { in updateDataServiceState()
1447 ServiceState ss = mDefaultPhone.getServiceStateTracker().mSS; in updateDataServiceState()
1448 mSS.setDataRegState(ss.getDataRegState()); in updateDataServiceState()
1452 mSS.addNetworkRegistrationInfo(nri); in updateDataServiceState()
[all …]
DImsPhoneMmiCode.java1014 if (mPhone.getDefaultPhone().getServiceStateTracker().mSS.getState() in processCode()