Home
last modified time | relevance | path

Searched refs:mSubscriptionController (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionMonitor.java55 private final SubscriptionController mSubscriptionController; field in SubscriptionMonitor
78 mSubscriptionController = subscriptionController; in SubscriptionMonitor()
85 mDefaultDataSubId = mSubscriptionController.getDefaultDataSubId(); in SubscriptionMonitor()
86 mDefaultDataPhoneId = mSubscriptionController.getPhoneId(mDefaultDataSubId); in SubscriptionMonitor()
91 mPhoneSubId[phoneId] = mSubscriptionController.getSubIdUsingPhoneId(phoneId); in SubscriptionMonitor()
102 mSubscriptionController = null; in SubscriptionMonitor()
114 final int newSubId = mSubscriptionController.getSubIdUsingPhoneId(phoneId);
147 final int newDefaultDataSubId = mSubscriptionController.getDefaultDataSubId();
156 mSubscriptionController.getPhoneId(INVALID_SUBSCRIPTION_ID);
DPhoneSwitcher.java69 private final SubscriptionController mSubscriptionController; field in PhoneSwitcher
93 mSubscriptionController = null; in PhoneSwitcher()
115 mSubscriptionController = subscriptionController; in PhoneSwitcher()
278 final int dataSub = mSubscriptionController.getDefaultDataSubId(); in onEvaluate()
287 int sub = mSubscriptionController.getSubIdUsingPhoneId(i); in onEvaluate()
DServiceStateTracker.java271 private SubscriptionController mSubscriptionController; field in ServiceStateTracker
304 mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), mCurShowPlmn, in onSubscriptionsChanged()
500 mSubscriptionController = SubscriptionController.getInstance(); in initOnce()
2208 if (!mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), in updateSpnDisplay()
2251 if (!mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), in updateSpnDisplay()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java126 doReturn(new int[]{FAKE_SUB_ID}).when(mSubscriptionController).getSubId(0); in setUp()
145 doReturn(Arrays.asList(mSubInfo)).when(mSubscriptionController) in testSimAbsent()
162 verify(mSubscriptionController, times(1)).notifySubscriptionInfoChanged(); in testSimAbsent()
181 verify(mSubscriptionController, times(0)).notifySubscriptionInfoChanged(); in testSimUnknown()
199 verify(mSubscriptionController, times(0)).notifySubscriptionInfoChanged(); in testSimError()
217 verify(mSubscriptionController, times(0)).notifySubscriptionInfoChanged(); in testWrongSimState()
224 doReturn(null).when(mSubscriptionController) in testSimLoaded()
259 verify(mSubscriptionController, times(1)).notifySubscriptionInfoChanged(); in testSimLoaded()
260 verify(mSubscriptionController, times(1)).setMccMnc(FAKE_PLMN, FAKE_SUB_ID); in testSimLoaded()
291 doReturn(null).when(mSubscriptionController) in testSimLoadedEmptyOperatorNumeric()
[all …]
DPhoneSubInfoControllerTest.java52 doReturn(0).when(mSubscriptionController).getPhoneId(eq(0)); in setUp()
53 doReturn(1).when(mSubscriptionController).getPhoneId(eq(1)); in setUp()
56 mServiceManagerMockedServices.put("isub", mSubscriptionController); in setUp()
57 doReturn(mSubscriptionController).when(mSubscriptionController) in setUp()
DGsmCdmaPhoneTest.java649 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubscriptionController). in testCallForwardingIndicator()
656 doReturn(subId1).when(mSubscriptionController).getSubIdUsingPhoneId(anyInt()); in testCallForwardingIndicator()
678 doReturn(subId2).when(mSubscriptionController).getSubIdUsingPhoneId(anyInt()); in testCallForwardingIndicator()
687 doReturn(subId1).when(mSubscriptionController).getSubIdUsingPhoneId(anyInt()); in testCallForwardingIndicator()
DTelephonyTest.java127 protected SubscriptionController mSubscriptionController; field in TelephonyTest
282 replaceInstance(SubscriptionController.class, "sInstance", null, mSubscriptionController); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java47 private final SubscriptionController mSubscriptionController; field in TelephonyNetworkFactory
80 mSubscriptionController = subscriptionController; in TelephonyNetworkFactory()
192 final int newSubscriptionId = mSubscriptionController.getSubIdUsingPhoneId(mPhoneId); in onSubIdChange()
204 final int newDefaultSubscriptionId = mSubscriptionController.getDefaultDataSubId(); in onDefaultChange()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java134 replaceInstance(SubscriptionController.class, "sInstance", null, mSubscriptionController); in setUp()