Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorSubscriptionController.java111 List<SubscriptionInfo> subInfoList = in registerForAddSubscriptionRecord() local
113 if (subInfoList != null) { in registerForAddSubscriptionRecord()
318 List<SubscriptionInfo> subInfoList = in handleDataPreference() local
320 if (subInfoList == null) { in handleDataPreference()
324 for (SubscriptionInfo subInfo : subInfoList) { in handleDataPreference()
/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/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java598 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listSuccess() local
600 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
604 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
609 new String[] { "1", "3"}, false /* removable */)).thenReturn(subInfoList); in testUpdateEmbeddedSubscriptions_listSuccess()
652 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listFailure() local
654 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
658 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
663 new String[0], false /* removable */)).thenReturn(subInfoList); in testUpdateEmbeddedSubscriptions_listFailure()
686 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_emptyToEmpty() local
688 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_emptyToEmpty()
[all …]
DSubscriptionControllerTest.java734 List<SubscriptionInfo> subInfoList = in testCreateSubscriptionGroupWithCarrierPrivilegePermission() local
747 eq(subInfoList.get(1)), anyString()); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java130 List<SubscriptionInfo> subInfoList = mSubscriptionManager in loadAllSimContacts() local
133 if ((subInfoList == null) || (subInfoList.size() == 0)) { in loadAllSimContacts()
136 int subIdCount = subInfoList.size(); in loadAllSimContacts()
141 subId = subInfoList.get(i).getSubscriptionId(); in loadAllSimContacts()
DSmsController.java413 List<SubscriptionInfo> subInfoList; in isSmsSimPickActivityNeeded() local
416 subInfoList = SubscriptionManager.from(context).getActiveSubscriptionInfoList(); in isSmsSimPickActivityNeeded()
421 if (subInfoList != null) { in isSmsSimPickActivityNeeded()
422 final int subInfoLength = subInfoList.size(); in isSmsSimPickActivityNeeded()
425 final SubscriptionInfo sir = subInfoList.get(i); in isSmsSimPickActivityNeeded()
DSubscriptionController.java595 List<SubscriptionInfo> subInfoList = getSubInfo( in getSubscriptionInfo() local
597 if (subInfoList == null || subInfoList.isEmpty()) return null; in getSubscriptionInfo()
598 return subInfoList.get(0); in getSubscriptionInfo()
3324 List<SubscriptionInfo> subInfoList = getSubInfo(getSelectionForSubIdList(subIdList), in removeSubscriptionsFromGroup() local
3326 for (SubscriptionInfo info : subInfoList) { in removeSubscriptionsFromGroup()
3384 List<SubscriptionInfo> subInfoList = getSubInfo( in checkCarrierPrivilegeOnSubList() local
3388 if (subInfoList == null || subInfoList.size() != subIdList.length) { in checkCarrierPrivilegeOnSubList()
3392 for (SubscriptionInfo subInfo : subInfoList) { in checkCarrierPrivilegeOnSubList()
3463 List<SubscriptionInfo> subInfoList; in getSubscriptionsInGroup() local
3466 subInfoList = getAllSubInfoList(mContext.getOpPackageName(), null); in getSubscriptionsInGroup()
[all …]
DServiceStateTracker.java5068 List<SubscriptionInfo> subInfoList = SubscriptionController.getInstance() in shouldRefreshSignalStrength()
5071 if (!ArrayUtils.isEmpty(subInfoList)) { in shouldRefreshSignalStrength()
5072 for (SubscriptionInfo info : subInfoList) { in shouldRefreshSignalStrength()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java1462 List<SubscriptionInfo> subInfoList = mSubscriptionManager in canManageActiveSubscriptionOnTargetSim() local
1464 if (subInfoList == null || subInfoList.size() == 0) { in canManageActiveSubscriptionOnTargetSim()
1468 for (SubscriptionInfo subInfo : subInfoList) { in canManageActiveSubscriptionOnTargetSim()
1490 List<SubscriptionInfo> subInfoList = mSubscriptionManager in canManageSubscriptionOnTargetSim() local
1493 if (subInfoList == null || subInfoList.size() == 0) { in canManageSubscriptionOnTargetSim()
1521 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
1533 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2828 List<SubscriptionInfo> subInfoList = null; in getOpportunisticSubscriptions() local
2833 subInfoList = iSub.getOpportunisticSubscriptions(contextPkg, contextFeature); in getOpportunisticSubscriptions()
2839 if (subInfoList == null) { in getOpportunisticSubscriptions()
2840 subInfoList = new ArrayList<>(); in getOpportunisticSubscriptions()
2843 return subInfoList; in getOpportunisticSubscriptions()