Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java116 doReturn(true).when(mSubControllerMock).isActiveSubId(1); in setUp()
117 doReturn(true).when(mSubControllerMock).isActiveSubId(2); in setUp()
163 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testTestSubInfoChangeBeforeAllSubReady()
201 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testSingleActiveDsds()
215 doReturn(false).when(mSubControllerMock).isActiveSubId(1); in testSingleActiveDsds()
216 doReturn(true).when(mSubControllerMock).isActiveSubId(2); in testSingleActiveDsds()
241 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testActivatingSecondSub()
262 doReturn(true).when(mSubControllerMock).isActiveSubId(2); in testActivatingSecondSub()
283 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testActivatingSecondSub()
284 doReturn(true).when(mSubControllerMock).isActiveSubId(3); in testActivatingSecondSub()
[all …]
DSubscriptionControllerTest.java240 assertFalse(mSubscriptionControllerUT.isActiveSubId(2)); in testCleanUpSIM()
242 assertFalse(mSubscriptionControllerUT.isActiveSubId(1)); in testCleanUpSIM()
939 assertTrue(mSubscriptionControllerUT.isActiveSubId(1)); in testSetSubscriptionGroup()
940 assertTrue(mSubscriptionControllerUT.isActiveSubId(2)); in testSetSubscriptionGroup()
DCellularNetworkValidatorTest.java75 doReturn(true).when(mSubscriptionController).isActiveSubId(anyInt()); in setUp()
DPhoneSubInfoControllerTest.java59 doReturn(true).when(mSubscriptionController).isActiveSubId(0, TAG, FEATURE_ID); in setUp()
60 doReturn(true).when(mSubscriptionController).isActiveSubId(1, TAG, FEATURE_ID); in setUp()
DPhoneSwitcherTest.java1215 }).when(mSubscriptionController).isActiveSubId(anyInt()); in initializeSubControllerMock()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageUtilsTest.java74 when(mSubscriptionManager.isActiveSubId(anyInt())).thenReturn(true); in setUp()
79 when(mSubscriptionManager.isActiveSubId(SUB_ID)).thenReturn(false); in getMobileTemplate_infoNull_returnMobileAll()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageUtils.java43 if (!subscriptionManager.isActiveSubId(subId)) { in getMobileTemplate()
/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.java1044 if (mSubscriptionController.isActiveSubId(mOpptDataSubId)) { in getSubIdForDefaultNetworkRequests()
1170 if (!mSubscriptionController.isActiveSubId(subId) in setOpportunisticDataSubscription()
1262 if (!mSubscriptionController.isActiveSubId(subId)) { in confirmSwitch()
DSubscriptionController.java2302 if (!isActiveSubId(subId)) { in getDefaultSubId()
2656 public boolean isActiveSubId(int subId, String callingPackage, String callingFeatureId) { in isActiveSubId() method in SubscriptionController
2663 return isActiveSubId(subId); in isActiveSubId()
2671 public boolean isActiveSubId(int subId) { in isActiveSubId() method in SubscriptionController
3035 if (!isActiveSubId(subId) && subInfo != null && subInfo.size() == 1 in enforceCarrierPrivilegeOnInactiveSub()
3365 if (isActiveSubId(subId)) { in checkCarrierPrivilegeOnSubList()
3706 return isActiveSubId(subId); in isSubscriptionEnabled()
3709 return isActiveSubId(subId) && PhoneConfigurationManager.getInstance() in isSubscriptionEnabled()
DCellularNetworkValidator.java256 if (!SubscriptionController.getInstance().isActiveSubId(subId)) {
DPhoneSubInfoController.java145 isActive = SubscriptionController.getInstance().isActiveSubId(subId, callingPackage, in getSubscriberIdForSubscriber()
DSubscriptionInfoUpdater.java772 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.java165 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.java2458 return isActiveSubId(subscriptionId); in isActiveSubscriptionId()
2467 public boolean isActiveSubId(int subId) { in isActiveSubId() method in SubscriptionManager
2471 return iSub.isActiveSubId(subId, mContext.getOpPackageName(), in isActiveSubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java1317 || !SubscriptionController.getInstance().isActiveSubId(subId)) { in cacheCarrierConfiguration()
/frameworks/base/config/
Dboot-image-profile.txt14297 HSPLandroid/telephony/SubscriptionManager;->isActiveSubId(I)Z
22178 HSPLcom/android/internal/telephony/ISub$Stub$Proxy;->isActiveSubId(ILjava/lang/String;)Z
22928 HSPLcom/android/internal/telephony/SubscriptionController;->isActiveSubId(I)Z
22929 HSPLcom/android/internal/telephony/SubscriptionController;->isActiveSubId(ILjava/lang/String;)Z
Dhiddenapi-greylist-max-o.txt98661 Lcom/android/internal/telephony/ISub$Stub$Proxy;->isActiveSubId(I)Z
98729 Lcom/android/internal/telephony/ISub;->isActiveSubId(I)Z