Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java146 doReturn(new int[]{FAKE_SUB_ID_1}).when(mSubscriptionController).getSubId(0); in setUp()
151 doReturn(new int[]{}).when(mSubscriptionController).getActiveSubIdList(); in setUp()
168 doReturn(Arrays.asList(mSubInfo)).when(mSubscriptionController) in testSimAbsent()
170 doReturn(new int[]{FAKE_SUB_ID_1}).when(mSubscriptionController).getActiveSubIdList(); in testSimAbsent()
182 verify(mSubscriptionController, times(1)).clearSubInfo(); in testSimAbsent()
183 verify(mSubscriptionController, times(1)).notifySubscriptionInfoChanged(); in testSimAbsent()
198 verify(mSubscriptionController, times(0)).clearSubInfo(); in testSimUnknown()
199 verify(mSubscriptionController, times(0)).notifySubscriptionInfoChanged(); in testSimUnknown()
214 verify(mSubscriptionController, times(0)).clearSubInfo(); in testSimError()
215 verify(mSubscriptionController, times(1)).notifySubscriptionInfoChanged(); in testSimError()
[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.java848 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubscriptionController). in testCallForwardingIndicator()
855 doReturn(subId1).when(mSubscriptionController).getSubIdUsingPhoneId(anyInt()); in testCallForwardingIndicator()
877 doReturn(subId2).when(mSubscriptionController).getSubIdUsingPhoneId(anyInt()); in testCallForwardingIndicator()
886 doReturn(subId1).when(mSubscriptionController).getSubIdUsingPhoneId(anyInt()); in testCallForwardingIndicator()
DTelephonyTest.java136 protected SubscriptionController mSubscriptionController; field in TelephonyTest
482 replaceInstance(SubscriptionController.class, "sInstance", null, mSubscriptionController); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java80 doReturn(mSubId).when(mSubscriptionController).getSubId(mPhoneId); in setUp()
82 doReturn(mSubscriptionController).when(mBinder).queryLocalInterface(anyString()); in setUp()
117 doReturn("-1").when(mSubscriptionController) in testGetDefaultValues()
123 verify(mSubscriptionController, times(1)).getSubscriptionProperty( in testGetDefaultValues()
130 verify(mSubscriptionController, times(1)).getSubscriptionProperty( in testGetDefaultValues()
136 verify(mSubscriptionController, times(1)).getSubscriptionProperty( in testGetDefaultValues()
142 verify(mSubscriptionController, times(1)).getSubscriptionProperty( in testGetDefaultValues()
148 verify(mSubscriptionController, times(1)).getSubscriptionProperty( in testGetDefaultValues()
159 verify(mSubscriptionController, times(1)).setSubscriptionProperty( in testSetValues()
165 verify(mSubscriptionController, times(1)).setSubscriptionProperty( in testSetValues()
[all …]
/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()
276 final int dataSub = mSubscriptionController.getDefaultDataSubId(); in onEvaluate()
285 int sub = mSubscriptionController.getSubIdUsingPhoneId(i); in onEvaluate()
DServiceStateTracker.java258 private SubscriptionController mSubscriptionController; field in ServiceStateTracker
304 mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), mCurShowPlmn, in onSubscriptionsChanged()
346 if (mSubscriptionController.getSlotIndex(subId) in onSubscriptionsChanged()
502 mSubscriptionController = SubscriptionController.getInstance(); in ServiceStateTracker()
2390 if (!mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), in updateSpnDisplay()
2454 if (!mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), in updateSpnDisplay()
3623 final int simNumber = mSubscriptionController.getSlotIndex(mSubId) + 1; in setNotification()
/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()