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()
1814 sst.mSS.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState()
1822 sst.mSS.setCssIndicator(1); in testIsConcurrentVoiceAndDataAllowed()
1824 sst.mSS.setCssIndicator(0); in testIsConcurrentVoiceAndDataAllowed()
1833 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed()
1840 sst.mSS.addNetworkRegistrationInfo(nri); in testIsConcurrentVoiceAndDataAllowed()
1842 sst.mSS.setCssIndicator(1); in testIsConcurrentVoiceAndDataAllowed()
[all …]
DGsmCdmaPhoneTest.java162 mSST.mSS = serviceState; in testGetServiceState()
232 mSST.mSS = serviceState; in testGetMergedServiceState()
314 mSST.mSS = serviceState; in testGetMergedServiceStateNoCsfb()
477 mSST.mSS = mServiceState; in testDial()
597 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm()
604 doReturn(true).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm()
610 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm()
655 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma()
662 doReturn(true).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma()
668 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.java599 mSST.mSS = mServiceState; in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java160 public ServiceState mSS; field in ServiceStateTracker
396 mPhone.notifyServiceStateChanged(mSS); in onSubscriptionsChanged()
403 setDataNetworkTypeForPhone(mSS.getRilDataRadioTechnology()); in onSubscriptionsChanged()
703 if (mSS != null && mSS.getVoiceRoaming()) { in updatePhoneType()
709 if (mSS != null && mSS.getDataRoaming()) { in updatePhoneType()
714 if (mSS != null && mSS.getState() == ServiceState.STATE_IN_SERVICE) { in updatePhoneType()
720 if (mSS != null) { in updatePhoneType()
721 NetworkRegistrationInfo nrs = mSS.getNetworkRegistrationInfo( in updatePhoneType()
730 mSS = new ServiceState(); in updatePhoneType()
731 mSS.setStateOutOfService(); in updatePhoneType()
[all …]
DCarrierServiceStateTracker.java166 if (mSST.mSS == null) { in isPhoneStillRegistered()
169 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered()
170 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
DGsmCdmaPhone.java537 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
539 return mergeServiceStates((mSST == null) ? new ServiceState() : mSST.mSS, in getServiceState()
545 return mSST.mSS; in getServiceState()
1389 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE in dial()
1390 && mSST.mSS.getDataRegistrationState() != ServiceState.STATE_IN_SERVICE in dial()
1395 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_POWER_OFF /* CS POWER_OFF */ in dial()
1408 && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE /* CS out of service */ in dial()
1409 && !(mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE in dial()
1411 mSST.mSS.getRilDataRadioTechnology())) /* PS not in LTE/NR */ in dial()
1696 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.java228 private ServiceState mSS = new ServiceState(); field in ImsPhone
329 mSS.setStateOff(); in ImsPhone()
391 return mSS; in getServiceState()
400 isVoiceRegStateChanged = mSS.getState() != state; in setServiceState()
401 mSS.setVoiceRegState(state); in setServiceState()
1542 if (mSS != null && mDefaultPhone.getServiceStateTracker() != null in updateDataServiceState()
1543 && mDefaultPhone.getServiceStateTracker().mSS != null) { in updateDataServiceState()
1544 ServiceState ss = mDefaultPhone.getServiceStateTracker().mSS; in updateDataServiceState()
1545 mSS.setDataRegState(ss.getDataRegistrationState()); in updateDataServiceState()
1549 mSS.addNetworkRegistrationInfo(nri); in updateDataServiceState()
[all …]
DImsPhoneMmiCode.java1067 if (mPhone.getDefaultPhone().getServiceStateTracker().mSS.getState() in processCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java837 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInOutOfService()
851 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInService()