/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierDisplayNameResolverTest.java | 67 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 …]
|
D | ModelInterpreter.java | 151 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()
|
D | ServiceStateTrackerTest.java | 626 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 …]
|
D | GsmCdmaPhoneTest.java | 162 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 …]
|
D | CarrierServiceStateTrackerTest.java | 148 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()
|
D | TelephonyTest.java | 599 mSST.mSS = mServiceState; in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 160 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 …]
|
D | CarrierServiceStateTracker.java | 166 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()
|
D | GsmCdmaPhone.java | 537 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/ |
D | VendorGsmCdmaPhone.java | 147 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/ |
D | ImsPhone.java | 228 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 …]
|
D | ImsPhoneMmiCode.java | 1067 if (mPhone.getDefaultPhone().getServiceStateTracker().mSS.getState() in processCode()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 837 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInOutOfService() 851 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInService()
|