Searched refs:subInfos (Results 1 – 6 of 6) sorted by relevance
412 List<SubscriptionInfo> subInfos = getSubscriptionInfoList(withEmergencyIsoInSim); in setUpSim() local413 doReturn(subInfos).when(mSubscriptionManager).getActiveSubscriptionInfoList(); in setUpSim()448 List<SubscriptionInfo> subInfos = new ArrayList<>(2); in getSubscriptionInfoList() local455 subInfos.add(subInfo); in getSubscriptionInfoList()462 subInfos.add(subInfo2); in getSubscriptionInfoList()464 return subInfos; in getSubscriptionInfoList()
556 List<SubscriptionInfo> subInfos = mSubscriptionManagerServiceUT.getAllSubInfoList( in testGetAllSubInfoList() local558 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 …]
1117 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1)); in testDeleteSubscription_adminOwned_success() local1118 when(mSubscriptionManager.getAvailableSubscriptionInfoList()).thenReturn(subInfos); in testDeleteSubscription_adminOwned_success()1142 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1)); in testDeleteSubscription_adminOwned_featureDisabled_success() local1143 when(mSubscriptionManager.getAvailableSubscriptionInfoList()).thenReturn(subInfos); in testDeleteSubscription_adminOwned_featureDisabled_success()1167 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1)); in testDeleteSubscription_adminOwned_noPermissions_error() local1168 when(mSubscriptionManager.getAvailableSubscriptionInfoList()).thenReturn(subInfos); in testDeleteSubscription_adminOwned_noPermissions_error()1982 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1, subInfo2)); in setCanManageSubscriptionOnTargetSim() local1983 when(mSubscriptionManager.getActiveSubscriptionInfoList(anyBoolean())).thenReturn(subInfos); in setCanManageSubscriptionOnTargetSim()2002 ArrayList<SubscriptionInfo> subInfos = new ArrayList<>(Arrays.asList(subInfo1, subInfo2)); in setActiveSubscriptionInfoInMEPMode() local2003 when(mSubscriptionManager.getActiveSubscriptionInfoList(anyBoolean())).thenReturn(subInfos); in setActiveSubscriptionInfoInMEPMode()
1746 List<SubscriptionInfo> subInfos = new ArrayList<>(); in setOperatorBrandOverride() local1747 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()
3077 List<SubscriptionInfoInternal> subInfos = in getDefaultAsUser() local3081 if (subInfos.size() == 1) { in getDefaultAsUser()3082 return subInfos.get(0).getSubscriptionId(); in getDefaultAsUser()
839 public synchronized void updateActiveSubscriptionInfoList(List<SubscriptionInfo> subInfos) { in updateActiveSubscriptionInfoList() argument845 for (SubscriptionInfo info : subInfos) { in updateActiveSubscriptionInfoList()