Home
last modified time | relevance | path

Searched refs:subInfos (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java412 List<SubscriptionInfo> subInfos = getSubscriptionInfoList(withEmergencyIsoInSim); in setUpSim() local
413 doReturn(subInfos).when(mSubscriptionManager).getActiveSubscriptionInfoList(); in setUpSim()
448 List<SubscriptionInfo> subInfos = new ArrayList<>(2); in getSubscriptionInfoList() local
455 subInfos.add(subInfo); in getSubscriptionInfoList()
462 subInfos.add(subInfo2); in getSubscriptionInfoList()
464 return subInfos; in getSubscriptionInfoList()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionManagerServiceTest.java556 List<SubscriptionInfo> subInfos = mSubscriptionManagerServiceUT.getAllSubInfoList( in testGetAllSubInfoList() local
558 assertThat(subInfos).hasSize(2); in testGetAllSubInfoList()
560 assertThat(subInfos.get(0)).isEqualTo(FAKE_SUBSCRIPTION_INFO1.toSubscriptionInfo()); in testGetAllSubInfoList()
562 assertThat(subInfos.get(1)).isEqualTo(FAKE_SUBSCRIPTION_INFO2.toSubscriptionInfo()); in testGetAllSubInfoList()
567 subInfos = mSubscriptionManagerServiceUT.getAllSubInfoList( in testGetAllSubInfoList()
570 assertThat(subInfos).hasSize(1); in testGetAllSubInfoList()
572 assertThat(subInfos.get(0).getIccId()).isEqualTo(FAKE_ICCID1); in testGetAllSubInfoList()
573 assertThat(subInfos.get(0).getCardString()).isEqualTo(FAKE_ICCID1); in testGetAllSubInfoList()
574 assertThat(subInfos.get(0).getNumber()).isEqualTo(FAKE_PHONE_NUMBER1); in testGetAllSubInfoList()
588 subInfos = mSubscriptionManagerServiceUT.getAllSubInfoList( in testGetAllSubInfoList()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1117 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1)); in testDeleteSubscription_adminOwned_success() local
1118 when(mSubscriptionManager.getAvailableSubscriptionInfoList()).thenReturn(subInfos); in testDeleteSubscription_adminOwned_success()
1142 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1)); in testDeleteSubscription_adminOwned_featureDisabled_success() local
1143 when(mSubscriptionManager.getAvailableSubscriptionInfoList()).thenReturn(subInfos); in testDeleteSubscription_adminOwned_featureDisabled_success()
1167 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1)); in testDeleteSubscription_adminOwned_noPermissions_error() local
1168 when(mSubscriptionManager.getAvailableSubscriptionInfoList()).thenReturn(subInfos); in testDeleteSubscription_adminOwned_noPermissions_error()
1982 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1, subInfo2)); in setCanManageSubscriptionOnTargetSim() local
1983 when(mSubscriptionManager.getActiveSubscriptionInfoList(anyBoolean())).thenReturn(subInfos); in setCanManageSubscriptionOnTargetSim()
2002 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1, subInfo2)); in setActiveSubscriptionInfoInMEPMode() local
2003 when(mSubscriptionManager.getActiveSubscriptionInfoList(anyBoolean())).thenReturn(subInfos); in setActiveSubscriptionInfoInMEPMode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java1746 List<SubscriptionInfo> subInfos = new ArrayList<>(); in setOperatorBrandOverride() local
1747 subInfos.add(subInfo.toSubscriptionInfo()); in setOperatorBrandOverride()
1750 subInfos.addAll(SubscriptionManagerService.getInstance() in setOperatorBrandOverride()
1755 if (subInfos.stream().noneMatch(info -> TextUtils.equals(IccUtils.stripTrailingFs( in setOperatorBrandOverride()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java3077 List<SubscriptionInfoInternal> subInfos = in getDefaultAsUser() local
3081 if (subInfos.size() == 1) { in getDefaultAsUser()
3082 return subInfos.get(0).getSubscriptionId(); in getDefaultAsUser()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java839 public synchronized void updateActiveSubscriptionInfoList(List<SubscriptionInfo> subInfos) { in updateActiveSubscriptionInfoList() argument
845 for (SubscriptionInfo info : subInfos) { in updateActiveSubscriptionInfoList()