Home
last modified time | relevance | path

Searched refs:getActiveSubscriptionInfoList (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkUpdateManager.java60 mSubscriptionManager.getActiveSubscriptionInfoList(
70 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(); in MobileNetworkUpdateManager()
119 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(); in updateSubscriptions()
DMobileNetworkFragment.java108 mSubscriptionManager.getActiveSubscriptionInfoList())) { in onMobileNetworkUpdated()
109 info = mSubscriptionManager.getActiveSubscriptionInfoList().get(0); in onMobileNetworkUpdated()
DNetworkUtils.java71 subscriptionManager.getActiveSubscriptionInfoList(); in setMobileDataEnabled()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java245 public abstract List<SubscriptionInfo> getActiveSubscriptionInfoList(); in getActiveSubscriptionInfoList() method
522 public List<SubscriptionInfo> getActiveSubscriptionInfoList() { in getActiveSubscriptionInfoList() method in PhoneUtils.PhoneUtilsLMR1
524 mSubscriptionManager.getActiveSubscriptionInfoList(); in getActiveSubscriptionInfoList()
626 for (SubscriptionInfo info : getActiveSubscriptionInfoList()) { in getNormalizedSelfNumbers()
992 getDefault().toLMr1().getActiveSubscriptionInfoList(); in forEachActiveSubscription()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DPhoneNumberPreferenceControllerTest.java143 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(null); in getSummary_cannotGetActiveSubscriptionInfo_shouldShowUnknown()
154 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(infos); in getSummary_getEmptySubscriptionInfo_shouldShowUnknown()
170 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(list); in copy_shouldCopyPhoneNumberToClipboard()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkActivity.java72 mSubscriptionManager.getActiveSubscriptionInfoList(true))) {
97 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(true); in onCreate()
145 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(true); in updateSubscriptions()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSubscriptionUtilTest.java164 when(mSubMgr.getActiveSubscriptionInfoList()).thenReturn(null); in getActiveSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()
173 when(mSubMgr.getActiveSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in getActiveSubscriptions_oneSubscription_oneResult()
183 when(mSubMgr.getActiveSubscriptionInfoList()).thenReturn( in getActiveSubscriptions_twoSubscriptions_twoResults()
DActiveSubsciptionsListenerTest.java190 verify(mSubscriptionManager, times(numberOfAccess)).getActiveSubscriptionInfoList(); in start_alwaysFetchAndCacheResult()
202 verify(mSubscriptionManager, times(numberOfAccess)).getActiveSubscriptionInfoList(); in start_alwaysFetchAndCacheResult()
/packages/apps/Settings/src/com/android/settings/security/
DSimLockPreferenceController.java56 mSubscriptionManager.getActiveSubscriptionInfoList(); in getAvailabilityStatus()
86 mSubscriptionManager.getActiveSubscriptionInfoList(); in isSimReady()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DSimLockPreferenceController.java80 mSubscriptionManager.getActiveSubscriptionInfoList(true); in isSimReady()
98 mSubscriptionManager.getActiveSubscriptionInfoList(true); in isSimIccReady()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkActivity.java76 mSubscriptionManager.getActiveSubscriptionInfoList(true))) {
137 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(true); in onCreate()
187 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(true); in updateSubscriptions()
DMobileNetworkUtils.java352 subscriptionManager.getActiveSubscriptionInfoList(); in setMobileDataEnabled()
674 subInfos = subManager.getActiveSubscriptionInfoList(); in getSubscriptionInfo()
720 subscriptionManager.getActiveSubscriptionInfoList(); in getActiveSubscriptionIdList()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java359 .getActiveSubscriptionInfoList(anyBoolean()); in testStartProfileSelectionWithActivePrimarySimOnESim()
497 .getActiveSubscriptionInfoList(); in testselectProfileForDataWithValidSub()
658 .getActiveSubscriptionInfoList(anyBoolean()); in testStopProfileSelectionWithPreferredDataOnSame()
706 .getActiveSubscriptionInfoList(anyBoolean()); in testStopProfileSelectionWithPreferredDataOnDifferent()
DOpportunisticNetworkServiceTest.java149 doReturn(subscriptionInfos).when(mSubscriptionManager).getActiveSubscriptionInfoList(false); in testHandleSimStateChange()
181 doReturn(subscriptionInfos).when(mSubscriptionManager).getActiveSubscriptionInfoList(false); in testSystemPreferredDataWhileCarrierAppIsActive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkUtilsTest.java114 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn( in setUp()
201 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn( in getSearchableSubscriptionId_oneActive_returnValid()
208 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(new ArrayList<>()); in getSearchableSubscriptionId_nonActive_returnInvalid()
DMobileNetworkActivityTest.java133 doReturn(mSubscriptionInfos).when(mSubscriptionManager).getActiveSubscriptionInfoList( in updateBottomNavigationView_oneSubscription_shouldBeGone()
146 doReturn(mSubscriptionInfos).when(mSubscriptionManager).getActiveSubscriptionInfoList( in updateBottomNavigationView_twoSubscription_updateMenu()
DTelephonyBasePreferenceControllerTest.java70 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn( in isAvailable_noIdSetHoweverHasDefaultOne_returnTrue()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPhoneNumberPreferenceController.java120 mSubscriptionManager.getActiveSubscriptionInfoList(); in getFirstPhoneNumber()
147 mSubscriptionManager.getActiveSubscriptionInfoList(); in getSubscriptionInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DSimLockPreferenceControllerTest.java145 when(mSubscriptionManager.getActiveSubscriptionInfoList()) in setupMockIcc()
154 when(mSubscriptionManager.getActiveSubscriptionInfoList()) in setupMockSimReady()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPhoneNumberPreferenceController.java122 mSubscriptionManager.getActiveSubscriptionInfoList(true); in getFirstPhoneNumber()
149 mSubscriptionManager.getActiveSubscriptionInfoList(true); in getSubscriptionInfo()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java111 .getActiveSubscriptionInfoList(); in hasReadyMobileRadio()
175 List<SubscriptionInfo> subList = subscriptionMgr.getActiveSubscriptionInfoList(); in getDefaultSubscriptionId()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java451 mSubscriptionManager.getActiveSubscriptionInfoList(false); in isPrimaryActiveOnOpportunisticSlot()
575 mSubscriptionManager.getActiveSubscriptionInfoList(false); in isActiveSub()
633 mSubscriptionManager.getActiveSubscriptionInfoList(false); in getActiveOpportunisticSubId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DSubscriptionUtil.java47 List<SubscriptionInfo> subscriptions = manager.getActiveSubscriptionInfoList(true); in getActiveSubscriptions()
/packages/services/Mms/src/com/android/mms/service/
DMmsConfigManager.java106 List<SubscriptionInfo> subs = mSubscriptionManager.getActiveSubscriptionInfoList(); in load()
/packages/apps/Dialer/java/com/android/dialer/preferredsim/
DPreferredAccountUtil.java88 SubscriptionManager.from(context).getActiveSubscriptionInfoList()) { in isPhoneAccountValid()

123