/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | MultiSimSettingControllerTest.java | 118 doReturn(true).when(mSubControllerMock).isActiveSubId(1); in setUp() 119 doReturn(true).when(mSubControllerMock).isActiveSubId(2); in setUp() 165 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testTestSubInfoChangeBeforeAllSubReady() 203 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testSingleActiveDsds() 217 doReturn(false).when(mSubControllerMock).isActiveSubId(1); in testSingleActiveDsds() 218 doReturn(true).when(mSubControllerMock).isActiveSubId(2); in testSingleActiveDsds() 243 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testActivatingSecondSub() 264 doReturn(true).when(mSubControllerMock).isActiveSubId(2); in testActivatingSecondSub() 285 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testActivatingSecondSub() 286 doReturn(true).when(mSubControllerMock).isActiveSubId(3); in testActivatingSecondSub() [all …]
|
D | SubscriptionControllerTest.java | 250 assertFalse(mSubscriptionControllerUT.isActiveSubId(2)); in testCleanUpSIM() 252 assertFalse(mSubscriptionControllerUT.isActiveSubId(1)); in testCleanUpSIM() 949 assertTrue(mSubscriptionControllerUT.isActiveSubId(1)); in testSetSubscriptionGroup() 950 assertTrue(mSubscriptionControllerUT.isActiveSubId(2)); in testSetSubscriptionGroup()
|
D | CellularNetworkValidatorTest.java | 75 doReturn(true).when(mSubscriptionController).isActiveSubId(anyInt()); in setUp()
|
D | PhoneSubInfoControllerTest.java | 62 doReturn(true).when(mSubscriptionController).isActiveSubId(0, TAG, FEATURE_ID); in setUp() 63 doReturn(true).when(mSubscriptionController).isActiveSubId(1, TAG, FEATURE_ID); in setUp()
|
D | PhoneSwitcherTest.java | 1215 }).when(mSubscriptionController).isActiveSubId(anyInt()); in initializeSubControllerMock()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MultiSimSettingController.java | 298 && enable && mSubController.isActiveSubId(subId)) { in onUserDataEnabled() 437 if (mSubController.isActiveSubId(subId) && !mSubController.isOpportunistic(subId)) { in onSubscriptionGroupChanged() 583 if (!mSubController.isActiveSubId(subId)) return PRIMARY_SUB_REMOVED; in updatePrimarySubListAndGetChangeType() 732 if (mSubController.isActiveSubId(currentSubId)) { in setUserDataEnabledForGroup() 809 if (info.isGroupDisabled() && mSubController.isActiveSubId(info.getSubscriptionId())) { in deactivateGroupedOpportunisticSubscriptionIfNeeded()
|
D | PhoneSwitcher.java | 1053 if (mSubscriptionController.isActiveSubId(mOpptDataSubId)) { in getSubIdForDefaultNetworkRequests() 1180 if (!mSubscriptionController.isActiveSubId(subId) in setOpportunisticDataSubscription() 1272 if (!mSubscriptionController.isActiveSubId(subId)) { in confirmSwitch()
|
D | CellularNetworkValidator.java | 256 if (!SubscriptionController.getInstance().isActiveSubId(subId)) {
|
D | SubscriptionController.java | 2445 if (!isActiveSubId(subId)) { in getDefaultSubId() 2794 public boolean isActiveSubId(int subId, String callingPackage, String callingFeatureId) { in isActiveSubId() method in SubscriptionController 2801 return isActiveSubId(subId); in isActiveSubId() 2809 public boolean isActiveSubId(int subId) { in isActiveSubId() method in SubscriptionController 3173 if (!isActiveSubId(subId) && subInfo != null && subInfo.size() == 1 in enforceCarrierPrivilegeOnInactiveSub() 3503 if (isActiveSubId(subId)) { in checkCarrierPrivilegeOnSubList() 3848 return isActiveSubId(subId); in isSubscriptionEnabled() 3851 return isActiveSubId(subId) && PhoneConfigurationManager.getInstance() in isSubscriptionEnabled()
|
D | PhoneSubInfoController.java | 149 isActive = SubscriptionController.getInstance().isActiveSubId(subId, callingPackage, in getSubscriberIdForSubscriber()
|
D | SubscriptionInfoUpdater.java | 730 if (mSubscriptionManager.isActiveSubId( in updateSubscriptionInfoByIccId()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/ |
D | VendorMultiSimSettingController.java | 89 if (mSubController.isActiveSubId(currentSubId)) { in setUserDataEnabledForGroup()
|
D | VendorPhoneSwitcher.java | 423 …return mSubscriptionController.isActiveSubId(mPhoneSubscriptions[phoneId]) && isUiccApplicationEna… in isUiccProvisioned() 436 if (mSubscriptionController.isActiveSubId(mPhoneSubscriptions[phoneId])) { in deactivate()
|
D | VendorSubscriptionController.java | 163 if (isActiveSubId(subId)) { in setUiccApplicationsEnabled()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISub.aidl | 296 boolean isActiveSubId(int subId, String callingPackage, String callingFeatureId); in isActiveSubId() method
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 2497 return isActiveSubId(subscriptionId); in isActiveSubscriptionId() 2506 public boolean isActiveSubId(int subId) { in isActiveSubId() method in SubscriptionManager 2510 return iSub.isActiveSubId(subId, mContext.getOpPackageName(), in isActiveSubId()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 1340 || !SubscriptionController.getInstance().isActiveSubId(subId)) { in cacheCarrierConfiguration()
|