Home
last modified time | relevance | path

Searched refs:mSS (Results 1 – 13 of 13) 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 …]
DModelInterpreter.java151 ServerSocket mSS; field in ModelInterpreter
180 mSS = new ServerSocket(); in ModelInterpreter()
182 mSS.setReuseAddress(true); in ModelInterpreter()
183 mSS.bind(sa); in ModelInterpreter()
204 if (mSS != null) { in run()
208 s = mSS.accept(); in run()
268 if (mSS == null) { in run()
DServiceStateTrackerTest.java626 sst.mSS = ss; in testOnImsServiceStateChanged()
636 sst.mSS = ss; in testOnImsServiceStateChanged()
1320 sst.mSS.addNetworkRegistrationInfo(nri); in testRegisterForVoiceRegStateOrRatChange()
1344 sst.mSS.addNetworkRegistrationInfo(nrs); in testRegisterForDataRegStateOrRatChange()
1798 sst.mSS.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState()
1806 sst.mSS.setCssIndicator(1); in testIsConcurrentVoiceAndDataAllowed()
1808 sst.mSS.setCssIndicator(0); in testIsConcurrentVoiceAndDataAllowed()
1817 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed()
1824 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed()
1826 sst.mSS.setCssIndicator(1); in testIsConcurrentVoiceAndDataAllowed()
[all …]
DGsmCdmaPhoneTest.java166 mSST.mSS = serviceState; in testGetServiceState()
236 mSST.mSS = serviceState; in testGetMergedServiceState()
318 mSST.mSS = serviceState; in testGetMergedServiceStateNoCsfb()
481 mSST.mSS = mServiceState; in testDial()
601 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm()
608 doReturn(true).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm()
614 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm()
659 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma()
666 doReturn(true).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma()
672 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma()
[all …]
DCarrierServiceStateTrackerTest.java148 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendPrefNetworkNotification()
149 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegistrationState(); in testSendPrefNetworkNotification()
DTelephonyTest.java592 mSST.mSS = mServiceState; in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java159 public ServiceState mSS; field in ServiceStateTracker
410 mPhone.notifyServiceStateChanged(mSS); in onSubscriptionsChanged()
417 setDataNetworkTypeForPhone(mSS.getRilDataRadioTechnology()); in onSubscriptionsChanged()
713 if (mSS != null && mSS.getVoiceRoaming()) { in updatePhoneType()
719 if (mSS != null && mSS.getDataRoaming()) { in updatePhoneType()
724 if (mSS != null && mSS.getState() == ServiceState.STATE_IN_SERVICE) { in updatePhoneType()
730 if (mSS != null) { in updatePhoneType()
731 NetworkRegistrationInfo nrs = mSS.getNetworkRegistrationInfo( in updatePhoneType()
740 mSS = new ServiceState(); in updatePhoneType()
741 mSS.setStateOutOfService(); in updatePhoneType()
[all …]
DCarrierServiceStateTracker.java164 if (mSST.mSS == null) { in isPhoneStillRegistered()
167 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered()
168 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
DGsmCdmaPhone.java525 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
527 return mergeServiceStates((mSST == null) ? new ServiceState() : mSST.mSS, in getServiceState()
533 return mSST.mSS; in getServiceState()
1379 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE in dial()
1380 && mSST.mSS.getDataRegistrationState() != ServiceState.STATE_IN_SERVICE in dial()
1385 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_POWER_OFF /* CS POWER_OFF */ in dial()
1398 && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE /* CS out of service */ in dial()
1399 && !(mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE in dial()
1401 mSST.mSS.getRilDataRadioTechnology())) /* PS not in LTE/NR */ in dial()
1686 if (mSST.mSS.getRoaming()) { in getVoiceMailNumber()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorGsmCdmaPhone.java147 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
155 ((mSST == null) ? new ServiceState() : mSST.mSS), in getServiceState()
161 return mSST.mSS; in getServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java230 private ServiceState mSS = new ServiceState(); field in ImsPhone
422 mSS.setStateOff(); in ImsPhone()
484 return mSS; in getServiceState()
493 isVoiceRegStateChanged = mSS.getState() != state; in setServiceState()
494 mSS.setVoiceRegState(state); in setServiceState()
1656 if (mSS != null && mDefaultPhone.getServiceStateTracker() != null in updateDataServiceState()
1657 && mDefaultPhone.getServiceStateTracker().mSS != null) { in updateDataServiceState()
1658 ServiceState ss = mDefaultPhone.getServiceStateTracker().mSS; in updateDataServiceState()
1659 mSS.setDataRegState(ss.getDataRegistrationState()); in updateDataServiceState()
1663 mSS.addNetworkRegistrationInfo(nri); in updateDataServiceState()
[all …]
DImsPhoneMmiCode.java1085 if (mPhone.getDefaultPhone().getServiceStateTracker().mSS.getState() in processCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java865 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInOutOfService()
879 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInService()