/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionInfoUpdaterTest.java | 146 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 …]
|
D | PhoneSubInfoControllerTest.java | 52 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()
|
D | GsmCdmaPhoneTest.java | 848 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()
|
D | TelephonyTest.java | 136 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/ |
D | ImsManagerTest.java | 80 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/ |
D | SubscriptionMonitor.java | 55 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);
|
D | PhoneSwitcher.java | 66 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()
|
D | ServiceStateTracker.java | 258 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/ |
D | TelephonyNetworkFactory.java | 46 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/ |
D | RetryManagerTest.java | 134 replaceInstance(SubscriptionController.class, "sInstance", null, mSubscriptionController); in setUp()
|