Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java119 doReturn(new int[]{FAKE_SUB_ID_1}).when(mSubscriptionController).getSubId(0); in setUp()
141 doReturn(Arrays.asList(mSubInfo)).when(mSubscriptionController) in testSimAbsent()
158 verify(mSubscriptionController, times(1)).notifySubscriptionInfoChanged(); in testSimAbsent()
177 verify(mSubscriptionController, times(0)).notifySubscriptionInfoChanged(); in testSimUnknown()
195 verify(mSubscriptionController, times(1)).notifySubscriptionInfoChanged(); in testSimError()
213 verify(mSubscriptionController, times(0)).notifySubscriptionInfoChanged(); in testWrongSimState()
220 doReturn(null).when(mSubscriptionController) in testSimLoaded()
255 verify(mSubscriptionController, times(1)).notifySubscriptionInfoChanged(); in testSimLoaded()
256 verify(mSubscriptionController, times(1)).setMccMnc(FAKE_MCC_MNC_1, FAKE_SUB_ID_1); in testSimLoaded()
287 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.java661 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubscriptionController). in testCallForwardingIndicator()
668 doReturn(subId1).when(mSubscriptionController).getSubIdUsingPhoneId(anyInt()); in testCallForwardingIndicator()
690 doReturn(subId2).when(mSubscriptionController).getSubIdUsingPhoneId(anyInt()); in testCallForwardingIndicator()
699 doReturn(subId1).when(mSubscriptionController).getSubIdUsingPhoneId(anyInt()); in testCallForwardingIndicator()
DTelephonyTest.java128 protected SubscriptionController mSubscriptionController; field in TelephonyTest
295 replaceInstance(SubscriptionController.class, "sInstance", null, mSubscriptionController); in setUp()
/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.java66 private final SubscriptionController mSubscriptionController; field in PhoneSwitcher
90 mSubscriptionController = null; in PhoneSwitcher()
112 mSubscriptionController = subscriptionController; in PhoneSwitcher()
275 final int dataSub = mSubscriptionController.getDefaultDataSubId(); in onEvaluate()
284 int sub = mSubscriptionController.getSubIdUsingPhoneId(i); in onEvaluate()
DServiceStateTracker.java273 private SubscriptionController mSubscriptionController; field in ServiceStateTracker
317 mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), mCurShowPlmn, in onSubscriptionsChanged()
540 mSubscriptionController = SubscriptionController.getInstance(); in ServiceStateTracker()
2255 if (!mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), in updateSpnDisplay()
2319 if (!mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), in updateSpnDisplay()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java46 private final SubscriptionController mSubscriptionController; field in TelephonyNetworkFactory
79 mSubscriptionController = subscriptionController; in TelephonyNetworkFactory()
191 final int newSubscriptionId = mSubscriptionController.getSubIdUsingPhoneId(mPhoneId); in onSubIdChange()
203 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()