Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java497 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listSuccess() local
499 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
503 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
508 new String[] { "1", "3"}, false /* removable */)).thenReturn(subInfoList); in testUpdateEmbeddedSubscriptions_listSuccess()
553 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listFailure() local
555 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
559 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
564 new String[0], false /* removable */)).thenReturn(subInfoList); in testUpdateEmbeddedSubscriptions_listFailure()
587 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_emptyToEmpty() local
589 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_emptyToEmpty()
[all …]
DSubscriptionControllerTest.java713 List<SubscriptionInfo> subInfoList = mSubscriptionControllerUT in testCreateSubscriptionGroupWithCarrierPrivilegePermission() local
725 eq(subInfoList.get(1)), anyString()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java199 List<SubscriptionInfo> subInfoList = subscriptionManager.getActiveSubscriptionInfoList(); in updateNetworkConfig() local
200 if (subInfoList == null) { in updateNetworkConfig()
205 for (SubscriptionInfo subInfo : subInfoList) { in updateNetworkConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java127 List<SubscriptionInfo> subInfoList = mSubscriptionManager in loadAllSimContacts() local
130 if ((subInfoList == null) || (subInfoList.size() == 0)) { in loadAllSimContacts()
133 int subIdCount = subInfoList.size(); in loadAllSimContacts()
138 subId = subInfoList.get(i).getSubscriptionId(); in loadAllSimContacts()
DSmsController.java383 List<SubscriptionInfo> subInfoList; in isSmsSimPickActivityNeeded() local
386 subInfoList = SubscriptionManager.from(context).getActiveSubscriptionInfoList(); in isSmsSimPickActivityNeeded()
391 if (subInfoList != null) { in isSmsSimPickActivityNeeded()
392 final int subInfoLength = subInfoList.size(); in isSmsSimPickActivityNeeded()
395 final SubscriptionInfo sir = subInfoList.get(i); in isSmsSimPickActivityNeeded()
DSubscriptionController.java528 List<SubscriptionInfo> subInfoList = getSubInfo( in getSubscriptionInfo() local
530 if (subInfoList == null || subInfoList.isEmpty()) return null; in getSubscriptionInfo()
531 return subInfoList.get(0); in getSubscriptionInfo()
3121 List<SubscriptionInfo> subInfoList = getSubInfo(getSelectionForSubIdList(subIdList), in removeSubscriptionsFromGroup() local
3123 for (SubscriptionInfo info : subInfoList) { in removeSubscriptionsFromGroup()
3181 List<SubscriptionInfo> subInfoList = getSubInfo( in checkCarrierPrivilegeOnSubList() local
3185 if (subInfoList == null || subInfoList.size() != subIdList.length) { in checkCarrierPrivilegeOnSubList()
3189 for (SubscriptionInfo subInfo : subInfoList) { in checkCarrierPrivilegeOnSubList()
3243 List<SubscriptionInfo> subInfoList; in getSubscriptionsInGroup() local
3246 subInfoList = getAllSubInfoList(mContext.getOpPackageName()); in getSubscriptionsInGroup()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java1227 List<SubscriptionInfo> subInfoList = mSubscriptionManager in canManageActiveSubscriptionOnTargetSim() local
1229 if (subInfoList == null || subInfoList.size() == 0) { in canManageActiveSubscriptionOnTargetSim()
1233 for (SubscriptionInfo subInfo : subInfoList) { in canManageActiveSubscriptionOnTargetSim()
1255 List<SubscriptionInfo> subInfoList = mSubscriptionManager in canManageSubscriptionOnTargetSim() local
1258 if (subInfoList == null || subInfoList.size() == 0) { in canManageSubscriptionOnTargetSim()
1286 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
1298 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2710 List<SubscriptionInfo> subInfoList = null; in getOpportunisticSubscriptions() local
2715 subInfoList = iSub.getOpportunisticSubscriptions(pkgForDebug); in getOpportunisticSubscriptions()
2721 if (subInfoList == null) { in getOpportunisticSubscriptions()
2722 subInfoList = new ArrayList<>(); in getOpportunisticSubscriptions()
2725 return subInfoList; in getOpportunisticSubscriptions()