Home
last modified time | relevance | path

Searched refs:subInfoList (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java1001 List<SubscriptionInfo> subInfoList = in testCreateSubscriptionGroupWithCarrierPrivilegePermission() local
1014 eq(subInfoList.get(1)), anyString()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
1471 List<SubscriptionInfo> subInfoList = in testGetActiveSubscriptionInfoListWithNoPermission() local
1475 assertNotNull(subInfoList); in testGetActiveSubscriptionInfoListWithNoPermission()
1476 assertTrue(subInfoList.size() == 0); in testGetActiveSubscriptionInfoListWithNoPermission()
1488 List<SubscriptionInfo> subInfoList = in testGetActiveSubscriptionInfoListWithReadPhoneState() local
1492 assertTrue(subInfoList.size() > 0); in testGetActiveSubscriptionInfoListWithReadPhoneState()
1493 for (SubscriptionInfo info : subInfoList) { in testGetActiveSubscriptionInfoListWithReadPhoneState()
1509 List<SubscriptionInfo> subInfoList = in testGetActiveSubscriptionInfoListWithPhoneNumberAccess() local
1513 assertTrue(subInfoList.size() > 0); in testGetActiveSubscriptionInfoListWithPhoneNumberAccess()
[all …]
DSubscriptionInfoUpdaterTest.java599 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listSuccess() local
601 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
605 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
610 new String[] { "1", "3"}, false /* removable */)).thenReturn(subInfoList); in testUpdateEmbeddedSubscriptions_listSuccess()
653 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listFailure() local
655 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
659 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
664 new String[0], false /* removable */)).thenReturn(subInfoList); in testUpdateEmbeddedSubscriptions_listFailure()
687 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_emptyToEmpty() local
689 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_emptyToEmpty()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageUtils.java45 final List<SubscriptionInfo> subInfoList = in getMobileTemplate() local
47 if (subInfoList == null) { in getMobileTemplate()
52 for (SubscriptionInfo subInfo : subInfoList) { in getMobileTemplate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java147 List<SubscriptionInfo> subInfoList = mSubscriptionManager in loadAllSimContacts() local
150 if ((subInfoList == null) || (subInfoList.size() == 0)) { in loadAllSimContacts()
153 int subIdCount = subInfoList.size(); in loadAllSimContacts()
158 subId = subInfoList.get(i).getSubscriptionId(); in loadAllSimContacts()
DSubscriptionController.java787 List<SubscriptionInfo> subInfoList = getSubInfo( in getSubscriptionInfo() local
789 if (subInfoList == null || subInfoList.isEmpty()) return null; in getSubscriptionInfo()
790 return subInfoList.get(0); in getSubscriptionInfo()
3751 List<SubscriptionInfo> subInfoList = getSubInfo(getSelectionForSubIdList(subIdList), in removeSubscriptionsFromGroup() local
3753 for (SubscriptionInfo info : subInfoList) { in removeSubscriptionsFromGroup()
3811 List<SubscriptionInfo> subInfoList = getSubInfo( in checkCarrierPrivilegeOnSubList() local
3815 if (subInfoList == null || subInfoList.size() != subIdList.length) { in checkCarrierPrivilegeOnSubList()
3819 for (SubscriptionInfo subInfo : subInfoList) { in checkCarrierPrivilegeOnSubList()
3890 List<SubscriptionInfo> subInfoList; in getSubscriptionsInGroup() local
3893 subInfoList = getAllSubInfoList(mContext.getOpPackageName(), in getSubscriptionsInGroup()
[all …]
DSmsController.java420 List<SubscriptionInfo> subInfoList; in isSmsSimPickActivityNeeded() local
423 subInfoList = SubscriptionManager.from(context).getActiveSubscriptionInfoList(); in isSmsSimPickActivityNeeded()
428 if (subInfoList != null) { in isSmsSimPickActivityNeeded()
429 final int subInfoLength = subInfoList.size(); in isSmsSimPickActivityNeeded()
432 final SubscriptionInfo sir = subInfoList.get(i); in isSmsSimPickActivityNeeded()
DServiceStateTracker.java5474 List<SubscriptionInfo> subInfoList = SubscriptionController.getInstance() in shouldRefreshSignalStrength()
5478 if (!ArrayUtils.isEmpty(subInfoList)) { in shouldRefreshSignalStrength()
5479 for (SubscriptionInfo info : subInfoList) { in shouldRefreshSignalStrength()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java686 List<SubscriptionInfo> subInfoList = subscriptionManager.getActiveSubscriptionInfoList(); in isSimPresent()
687 if (subInfoList == null || subInfoList.isEmpty()) { in isSimPresent()
690 return subInfoList.stream() in isSimPresent()
733 List<SubscriptionInfo> subInfoList = subscriptionManager.getActiveSubscriptionInfoList(); in getSubIdForConfig() local
734 if (subInfoList == null || subInfoList.isEmpty()) { in getSubIdForConfig()
740 for (SubscriptionInfo subInfo : subInfoList) { in getSubIdForConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java1473 List<SubscriptionInfo> subInfoList = mSubscriptionManager in canManageActiveSubscriptionOnTargetSim() local
1475 if (subInfoList == null || subInfoList.size() == 0) { in canManageActiveSubscriptionOnTargetSim()
1479 for (SubscriptionInfo subInfo : subInfoList) { in canManageActiveSubscriptionOnTargetSim()
1501 List<SubscriptionInfo> subInfoList = mSubscriptionManager in canManageSubscriptionOnTargetSim() local
1504 if (subInfoList == null || subInfoList.size() == 0) { in canManageSubscriptionOnTargetSim()
1532 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
1549 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java3024 List<SubscriptionInfo> subInfoList = null; in getOpportunisticSubscriptions() local
3029 subInfoList = iSub.getOpportunisticSubscriptions(contextPkg, in getOpportunisticSubscriptions()
3036 if (subInfoList == null) { in getOpportunisticSubscriptions()
3037 subInfoList = new ArrayList<>(); in getOpportunisticSubscriptions()
3040 return subInfoList; in getOpportunisticSubscriptions()