Searched refs:subInfoList (Results 1 – 10 of 10) sorted by relevance
1001 List<SubscriptionInfo> subInfoList = in testCreateSubscriptionGroupWithCarrierPrivilegePermission() local1014 eq(subInfoList.get(1)), anyString()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()1471 List<SubscriptionInfo> subInfoList = in testGetActiveSubscriptionInfoListWithNoPermission() local1475 assertNotNull(subInfoList); in testGetActiveSubscriptionInfoListWithNoPermission()1476 assertTrue(subInfoList.size() == 0); in testGetActiveSubscriptionInfoListWithNoPermission()1488 List<SubscriptionInfo> subInfoList = in testGetActiveSubscriptionInfoListWithReadPhoneState() local1492 assertTrue(subInfoList.size() > 0); in testGetActiveSubscriptionInfoListWithReadPhoneState()1493 for (SubscriptionInfo info : subInfoList) { in testGetActiveSubscriptionInfoListWithReadPhoneState()1509 List<SubscriptionInfo> subInfoList = in testGetActiveSubscriptionInfoListWithPhoneNumberAccess() local1513 assertTrue(subInfoList.size() > 0); in testGetActiveSubscriptionInfoListWithPhoneNumberAccess()[all …]
599 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listSuccess() local601 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() local655 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() local689 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_emptyToEmpty()[all …]
45 final List<SubscriptionInfo> subInfoList = in getMobileTemplate() local47 if (subInfoList == null) { in getMobileTemplate()52 for (SubscriptionInfo subInfo : subInfoList) { in getMobileTemplate()
147 List<SubscriptionInfo> subInfoList = mSubscriptionManager in loadAllSimContacts() local150 if ((subInfoList == null) || (subInfoList.size() == 0)) { in loadAllSimContacts()153 int subIdCount = subInfoList.size(); in loadAllSimContacts()158 subId = subInfoList.get(i).getSubscriptionId(); in loadAllSimContacts()
787 List<SubscriptionInfo> subInfoList = getSubInfo( in getSubscriptionInfo() local789 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() local3753 for (SubscriptionInfo info : subInfoList) { in removeSubscriptionsFromGroup()3811 List<SubscriptionInfo> subInfoList = getSubInfo( in checkCarrierPrivilegeOnSubList() local3815 if (subInfoList == null || subInfoList.size() != subIdList.length) { in checkCarrierPrivilegeOnSubList()3819 for (SubscriptionInfo subInfo : subInfoList) { in checkCarrierPrivilegeOnSubList()3890 List<SubscriptionInfo> subInfoList; in getSubscriptionsInGroup() local3893 subInfoList = getAllSubInfoList(mContext.getOpPackageName(), in getSubscriptionsInGroup()[all …]
420 List<SubscriptionInfo> subInfoList; in isSmsSimPickActivityNeeded() local423 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()
5474 List<SubscriptionInfo> subInfoList = SubscriptionController.getInstance() in shouldRefreshSignalStrength()5478 if (!ArrayUtils.isEmpty(subInfoList)) { in shouldRefreshSignalStrength()5479 for (SubscriptionInfo info : subInfoList) { in shouldRefreshSignalStrength()
686 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() local734 if (subInfoList == null || subInfoList.isEmpty()) { in getSubIdForConfig()740 for (SubscriptionInfo subInfo : subInfoList) { in getSubIdForConfig()
1473 List<SubscriptionInfo> subInfoList = mSubscriptionManager in canManageActiveSubscriptionOnTargetSim() local1475 if (subInfoList == null || subInfoList.size() == 0) { in canManageActiveSubscriptionOnTargetSim()1479 for (SubscriptionInfo subInfo : subInfoList) { in canManageActiveSubscriptionOnTargetSim()1501 List<SubscriptionInfo> subInfoList = mSubscriptionManager in canManageSubscriptionOnTargetSim() local1504 if (subInfoList == null || subInfoList.size() == 0) { in canManageSubscriptionOnTargetSim()1532 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()1549 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
3024 List<SubscriptionInfo> subInfoList = null; in getOpportunisticSubscriptions() local3029 subInfoList = iSub.getOpportunisticSubscriptions(contextPkg, in getOpportunisticSubscriptions()3036 if (subInfoList == null) { in getOpportunisticSubscriptions()3037 subInfoList = new ArrayList<>(); in getOpportunisticSubscriptions()3040 return subInfoList; in getOpportunisticSubscriptions()