Searched refs:subInfos (Results 1 – 8 of 8) sorted by relevance
112 val subInfos = context.getSelectableSubscriptionInfoList() in getSelectableSubscriptionInfoList_sortedBySimSlotIndex() constant114 assertThat(subInfos.map { it.simSlotIndex }) in getSelectableSubscriptionInfoList_sortedBySimSlotIndex()133 val subInfos = context.getSelectableSubscriptionInfoList() in getSelectableSubscriptionInfoList_oneNotInSlot_inSlotSortedFirst() constant135 assertThat(subInfos.map { it.simSlotIndex }) in getSelectableSubscriptionInfoList_oneNotInSlot_inSlotSortedFirst()156 val subInfos = context.getSelectableSubscriptionInfoList() in getSelectableSubscriptionInfoList_sameGroupAndOneHasSlot_returnTheOneWithSimSlotIndex() constant158 assertThat(subInfos.map { it.subscriptionId }).containsExactly(SUB_ID_IN_SLOT_0) in getSelectableSubscriptionInfoList_sameGroupAndOneHasSlot_returnTheOneWithSimSlotIndex()176 val subInfos = context.getSelectableSubscriptionInfoList() in getSelectableSubscriptionInfoList_sameGroupAndNonHasSlot_returnTheOneWithMinimumSubId() constant178 assertThat(subInfos.map { it.subscriptionId }).containsExactly(SUB_ID_3_NOT_IN_SLOT) in getSelectableSubscriptionInfoList_sameGroupAndNonHasSlot_returnTheOneWithMinimumSubId()
490 List<SubscriptionInfo> subInfos = SubscriptionManagerService.getInstance() in updatePhoneStateListeners() local509 if (subInfos == null || !containsSubId(subInfos, subId)) { in updatePhoneStateListeners()540 if (subInfos == null) { in updatePhoneStateListeners()545 for (int i = 0; i < subInfos.size(); i++) { in updatePhoneStateListeners()546 int subId = subInfos.get(i).getSubscriptionId(); in updatePhoneStateListeners()559 private boolean containsSubId(List<SubscriptionInfo> subInfos, int subId) { in containsSubId() argument560 if (subInfos == null) { in containsSubId()564 for (int i = 0; i < subInfos.size(); i++) { in containsSubId()565 if (subInfos.get(i).getSubscriptionId() == subId) { in containsSubId()
114 .flatMap { (groupUuid, subInfos) -> in Context() method116 subInfos in Context()121 subInfos.filter { it.simSlotIndex != SubscriptionManager.INVALID_SIM_SLOT_INDEX } in Context()122 .ifEmpty { subInfos.sortedBy { it.subscriptionId } } in Context()
153 List<SubscriptionInfo> subInfos = in ignoreEvent() local156 (subInfos != null && !subInfos.isEmpty()) in ignoreEvent()157 ? subInfos.get(0).getSubscriptionId() in ignoreEvent()
105 List<SubscriptionInfo> subInfos = getSubscriptionManager().getActiveSubscriptionInfoList(); in getNonDefaultDataSubscriptionInfo() local106 if (subInfos == null || dds == null) { in getNonDefaultDataSubscriptionInfo()109 return subInfos.stream().filter(subinfo -> subinfo.getSubscriptionId() in getNonDefaultDataSubscriptionInfo()
204 List<SubscriptionInfo> subInfos = subMgr.getActiveSubscriptionInfoList(); in getActiveSubIdList() local205 int size = subInfos != null ? subInfos.size() : 0; in getActiveSubIdList()208 subIds[i] = subInfos.get(i).getSubscriptionId(); in getActiveSubIdList()
792 private boolean updateCarrierConfigs(@Nullable List<SubscriptionInfo> subInfos) { in updateCarrierConfigs() argument797 if (subInfos != null) { in updateCarrierConfigs()798 for (SubscriptionInfo subInfo : subInfos) { in updateCarrierConfigs()
726 List<SubscriptionInfo> subInfos = subscriptionManager.getActiveSubscriptionInfoList(); in getCarrierId() local727 if (subInfos == null) { in getCarrierId()730 return subInfos.stream() in getCarrierId()