Home
last modified time | relevance | path

Searched refs:isActiveSubId (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java118 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 …]
DSubscriptionControllerTest.java250 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()
DCellularNetworkValidatorTest.java75 doReturn(true).when(mSubscriptionController).isActiveSubId(anyInt()); in setUp()
DPhoneSubInfoControllerTest.java62 doReturn(true).when(mSubscriptionController).isActiveSubId(0, TAG, FEATURE_ID); in setUp()
63 doReturn(true).when(mSubscriptionController).isActiveSubId(1, TAG, FEATURE_ID); in setUp()
DPhoneSwitcherTest.java1215 }).when(mSubscriptionController).isActiveSubId(anyInt()); in initializeSubControllerMock()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java298 && 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()
DPhoneSwitcher.java1053 if (mSubscriptionController.isActiveSubId(mOpptDataSubId)) { in getSubIdForDefaultNetworkRequests()
1180 if (!mSubscriptionController.isActiveSubId(subId) in setOpportunisticDataSubscription()
1272 if (!mSubscriptionController.isActiveSubId(subId)) { in confirmSwitch()
DCellularNetworkValidator.java256 if (!SubscriptionController.getInstance().isActiveSubId(subId)) {
DSubscriptionController.java2445 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()
DPhoneSubInfoController.java149 isActive = SubscriptionController.getInstance().isActiveSubId(subId, callingPackage, in getSubscriberIdForSubscriber()
DSubscriptionInfoUpdater.java730 if (mSubscriptionManager.isActiveSubId( in updateSubscriptionInfoByIccId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorMultiSimSettingController.java89 if (mSubController.isActiveSubId(currentSubId)) { in setUserDataEnabledForGroup()
DVendorPhoneSwitcher.java423 …return mSubscriptionController.isActiveSubId(mPhoneSubscriptions[phoneId]) && isUiccApplicationEna… in isUiccProvisioned()
436 if (mSubscriptionController.isActiveSubId(mPhoneSubscriptions[phoneId])) { in deactivate()
DVendorSubscriptionController.java163 if (isActiveSubId(subId)) { in setUiccApplicationsEnabled()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl296 boolean isActiveSubId(int subId, String callingPackage, String callingFeatureId); in isActiveSubId() method
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2497 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/
DImsPhoneCallTracker.java1340 || !SubscriptionController.getInstance().isActiveSubId(subId)) { in cacheCarrierConfiguration()