Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java111 doReturn(true).when(mSubControllerMock).isActiveSubId(1); in setUp()
112 doReturn(true).when(mSubControllerMock).isActiveSubId(2); in setUp()
173 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testTestSubInfoChangeBeforeAllSubReady()
208 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testSingleActiveDsds()
219 doReturn(false).when(mSubControllerMock).isActiveSubId(1); in testSingleActiveDsds()
220 doReturn(true).when(mSubControllerMock).isActiveSubId(2); in testSingleActiveDsds()
242 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testActivatingSecondSub()
260 doReturn(true).when(mSubControllerMock).isActiveSubId(2); in testActivatingSecondSub()
278 doReturn(false).when(mSubControllerMock).isActiveSubId(2); in testActivatingSecondSub()
279 doReturn(true).when(mSubControllerMock).isActiveSubId(3); in testActivatingSecondSub()
[all …]
DSubscriptionControllerTest.java227 assertFalse(mSubscriptionControllerUT.isActiveSubId(2)); in testCleanUpSIM()
229 assertFalse(mSubscriptionControllerUT.isActiveSubId(1)); in testCleanUpSIM()
862 assertTrue(mSubscriptionControllerUT.isActiveSubId(1)); in testSetSubscriptionGroup()
863 assertTrue(mSubscriptionControllerUT.isActiveSubId(2)); in testSetSubscriptionGroup()
DPhoneSubInfoControllerTest.java55 doReturn(true).when(mSubscriptionController).isActiveSubId(0, TAG); in setUp()
56 doReturn(true).when(mSubscriptionController).isActiveSubId(1, TAG); in setUp()
DPhoneSwitcherTest.java1084 }).when(mSubscriptionController).isActiveSubId(anyInt()); in initializeSubControllerMock()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl281 boolean isActiveSubId(int subId, String callingPackage); in isActiveSubId() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java304 if (mSubController.isActiveSubId(subId) && !mSubController.isOpportunistic(subId)) { in onSubscriptionGroupChanged()
446 if (!mSubController.isActiveSubId(subId)) return PRIMARY_SUB_REMOVED; in updatePrimarySubListAndGetChangeType()
593 if (mSubController.isActiveSubId(currentSubId)) { in setUserDataEnabledForGroup()
DSubscriptionController.java2099 if (!isActiveSubId(subId)) { in getDefaultSubId()
2475 public boolean isActiveSubId(int subId, String callingPackage) { in isActiveSubId() method in SubscriptionController
2482 return isActiveSubId(subId); in isActiveSubId()
2490 public boolean isActiveSubId(int subId) { in isActiveSubId() method in SubscriptionController
2850 if (!isActiveSubId(subId) && subInfo != null && subInfo.size() == 1 in enforceCarrierPrivilegeOnInactiveSub()
3162 if (isActiveSubId(subId)) { in checkCarrierPrivilegeOnSubList()
3469 return isActiveSubId(subId); in isSubscriptionEnabled()
3472 return isActiveSubId(subId) && PhoneConfigurationManager.getInstance() in isSubscriptionEnabled()
3636 if (isActiveSubId(info.getSubscriptionId()) && isSubInfoReady()) {
DPhoneSwitcher.java1006 if (mSubscriptionController.isActiveSubId(mOpptDataSubId)) { in getSubIdForDefaultNetworkRequests()
1131 if (!mSubscriptionController.isActiveSubId(subId) in setOpportunisticDataSubscription()
1195 if (!mSubscriptionController.isActiveSubId(subId)) { in onValidationDone()
DPhoneSubInfoController.java132 isActive = SubscriptionController.getInstance().isActiveSubId(subId, callingPackage); in getSubscriberIdForSubscriber()
DSubscriptionInfoUpdater.java650 if (mSubscriptionManager.isActiveSubId( in updateSubscriptionInfoByIccId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java258 public boolean isActiveSubId(int subId) { in isActiveSubId() method in SubscriptionControllerMock
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2330 return isActiveSubId(subscriptionId); in isActiveSubscriptionId()
2339 public boolean isActiveSubId(int subId) { in isActiveSubId() method in SubscriptionManager
2343 return iSub.isActiveSubId(subId, mContext.getOpPackageName()); in isActiveSubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java931 || !SubscriptionController.getInstance().isActiveSubId(subId)) { in cacheCarrierConfiguration()