/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierDisplayNameResolverTest.java | 67 private 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() 107 mSS = null; in tearDown() 137 mSS.setRoaming(NON_ROAMING); in testShouldShowSPN_nonRoaming_showSPN() 145 mSS.setOperatorName("long", "short", NON_HOME_PLMN_NUMERIC); in testShouldShowSPN_plmnNotInProvidedList_notShowSPN() 146 mSS.setRoaming(ROAMING); in testShouldShowSPN_plmnNotInProvidedList_notShowSPN() [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 | 911 sst.mSS = ss; in testOnImsServiceStateChanged() 921 sst.mSS = ss; in testOnImsServiceStateChanged() 1372 sst.mSS.addNetworkRegistrationInfo(nri); in testRegisterForVoiceRegStateOrRatChange() 1374 sst.mSS.setState(ServiceState.STATE_IN_SERVICE); in testRegisterForVoiceRegStateOrRatChange() 1399 sst.mSS.addNetworkRegistrationInfo(nrs); in testRegisterForDataRegStateOrRatChange() 1648 sst.mSS.setState(ServiceState.STATE_IN_SERVICE); in testSetPsNotifications() 1682 sst.mSS.setState(ServiceState.STATE_IN_SERVICE); in testSetCsNotifications() 1715 sst.mSS.setState(ServiceState.STATE_IN_SERVICE); in testSetCsNormalNotifications() 1749 sst.mSS.setEmergencyOnly(true); in testSetCsEmergencyNotifications() 1860 sst.mSS.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState() [all …]
|
D | CellSignalStrengthNrTest.java | 65 ServiceState mSS; field in CellSignalStrengthNrTest 70 mSS = mock(ServiceState.class); in setUp() 263 doReturn(10).when(mSS).getArfcnRsrpBoost(); in testLevel() 265 css.updateLevel(null, mSS); in testLevel()
|
D | GsmCdmaPhoneTest.java | 223 mSST.mSS = serviceState; in testGetServiceState() 294 mSST.mSS = serviceState; in testGetMergedServiceState() 377 mSST.mSS = serviceState; in testGetMergedServiceStateNoCsfb() 509 mSST.mSS = mServiceState; in testDial() 788 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm() 795 doReturn(true).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm() 801 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberGsm() 846 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma() 853 doReturn(true).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma() 859 doReturn(false).when(mSST.mSS).getRoaming(); in testVoiceMailNumberCdma() [all …]
|
D | CarrierServiceStateTrackerTest.java | 178 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendPrefNetworkNotification() 179 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegistrationState(); in testSendPrefNetworkNotification()
|
D | TelephonyTest.java | 839 mSST.mSS = mServiceState; in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 163 public ServiceState mSS; field in ServiceStateTracker 423 setDataNetworkTypeForPhone(mSS.getRilDataRadioTechnology()); in onSubscriptionsChanged() 744 if (mSS.isIwlanPreferred() != isIwlanPreferred) { in ServiceStateTracker() 747 mSS.setIwlanPreferred(isIwlanPreferred); in ServiceStateTracker() 767 if (mSS != null && mSS.getVoiceRoaming()) { in updatePhoneType() 773 if (mSS != null && mSS.getDataRoaming()) { in updatePhoneType() 778 if (mSS != null && mSS.getState() == ServiceState.STATE_IN_SERVICE) { in updatePhoneType() 784 if (mSS != null) { in updatePhoneType() 785 NetworkRegistrationInfo nrs = mSS.getNetworkRegistrationInfo( in updatePhoneType() 794 mSS = new ServiceState(); in updatePhoneType() [all …]
|
D | CarrierServiceStateTracker.java | 244 if (mSST.mSS == null) { in isPhoneStillRegistered() 247 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered() 248 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
|
D | GsmCdmaPhone.java | 1619 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE in dial() 1620 && mSST.mSS.getDataRegistrationState() != ServiceState.STATE_IN_SERVICE in dial() 1625 if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_POWER_OFF /* CS POWER_OFF */ in dial() 1638 && mSST.mSS.getState() == ServiceState.STATE_OUT_OF_SERVICE /* CS out of service */ in dial() 1639 && !(mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE in dial() 1641 mSST.mSS.getRilDataRadioTechnology())) /* PS not in LTE/NR */ in dial() 1960 if (mSST.mSS.getRoaming()) { in getVoiceMailNumber() 3548 if (mSST.mSS.getIsManualSelection()) { in handleMessage() 4920 calcVrat = getCsCallRadioTech(mSST.mSS.getState(), in getCsCallRadioTech() 4921 mSST.mSS.getRilVoiceRadioTechnology()); in getCsCallRadioTech()
|
D | SignalStrengthController.java | 338 mSignalStrength.updateLevel(mCarrierConfig, serviceStateTracker.mSS); in updateSignalStrength()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhone.java | 285 private ServiceState mSS = new ServiceState(); field in ImsPhone 505 mSS.setOutOfService(false); in ImsPhone() 570 return new ServiceState(mSS); in getServiceState() 579 isVoiceRegStateChanged = mSS.getState() != state; in setServiceState() 580 mSS.setVoiceRegState(state); in setServiceState() 1801 if (mSS != null && mDefaultPhone.getServiceStateTracker() != null in updateDataServiceState() 1802 && mDefaultPhone.getServiceStateTracker().mSS != null) { in updateDataServiceState() 1803 ServiceState ss = mDefaultPhone.getServiceStateTracker().mSS; in updateDataServiceState() 1804 mSS.setDataRegState(ss.getDataRegistrationState()); in updateDataServiceState() 1808 mSS.addNetworkRegistrationInfo(nri); in updateDataServiceState() [all …]
|
D | ImsPhoneMmiCode.java | 1160 if (mPhone.getDefaultPhone().getServiceStateTracker().mSS.getState() in isUssdOverImsAllowed()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 877 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInOutOfService() 896 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsInService() 946 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsWithImsPreferred() 965 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsWithCsOnly() 991 doReturn(ServiceState.STATE_IN_SERVICE).when(mSST.mSS).getState(); in testSendUssdAllowUssdOverImsWithImsOnly()
|