Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DSubscriptionRepositoryTest.kt112 val subInfos = context.getSelectableSubscriptionInfoList() in getSelectableSubscriptionInfoList_sortedBySimSlotIndex() constant
114 assertThat(subInfos.map { it.simSlotIndex }) in getSelectableSubscriptionInfoList_sortedBySimSlotIndex()
133 val subInfos = context.getSelectableSubscriptionInfoList() in getSelectableSubscriptionInfoList_oneNotInSlot_inSlotSortedFirst() constant
135 assertThat(subInfos.map { it.simSlotIndex }) in getSelectableSubscriptionInfoList_oneNotInSlot_inSlotSortedFirst()
156 val subInfos = context.getSelectableSubscriptionInfoList() in getSelectableSubscriptionInfoList_sameGroupAndOneHasSlot_returnTheOneWithSimSlotIndex() constant
158 assertThat(subInfos.map { it.subscriptionId }).containsExactly(SUB_ID_IN_SLOT_0) in getSelectableSubscriptionInfoList_sameGroupAndOneHasSlot_returnTheOneWithSimSlotIndex()
176 val subInfos = context.getSelectableSubscriptionInfoList() in getSelectableSubscriptionInfoList_sameGroupAndNonHasSlot_returnTheOneWithMinimumSubId() constant
178 assertThat(subInfos.map { it.subscriptionId }).containsExactly(SUB_ID_3_NOT_IN_SLOT) in getSelectableSubscriptionInfoList_sameGroupAndNonHasSlot_returnTheOneWithMinimumSubId()
/packages/services/Telephony/src/com/android/phone/
DCallNotifier.java490 List<SubscriptionInfo> subInfos = SubscriptionManagerService.getInstance() in updatePhoneStateListeners() local
509 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() argument
560 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()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DSubscriptionRepository.kt114 .flatMap { (groupUuid, subInfos) -> in Context() method
116 subInfos in Context()
121 subInfos.filter { it.simSlotIndex != SubscriptionManager.INVALID_SIM_SLOT_INDEX } in Context()
122 .ifEmpty { subInfos.sortedBy { it.subscriptionId } } in Context()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSStats.java153 List<SubscriptionInfo> subInfos = in ignoreEvent() local
156 (subInfos != null && !subInfos.isEmpty()) in ignoreEvent()
157 ? subInfos.get(0).getSubscriptionId() in ignoreEvent()
/packages/apps/Settings/src/com/android/settings/sim/
DSelectSpecificDataSimDialogFragment.java105 List<SubscriptionInfo> subInfos = getSubscriptionManager().getActiveSubscriptionInfoList(); in getNonDefaultDataSubscriptionInfo() local
106 if (subInfos == null || dds == null) { in getNonDefaultDataSubscriptionInfo()
109 return subInfos.stream().filter(subinfo -> subinfo.getSubscriptionId() in getNonDefaultDataSubscriptionInfo()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java204 List<SubscriptionInfo> subInfos = subMgr.getActiveSubscriptionInfoList(); in getActiveSubIdList() local
205 int size = subInfos != null ? subInfos.size() : 0; in getActiveSubIdList()
208 subIds[i] = subInfos.get(i).getSubscriptionId(); in getActiveSubIdList()
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/
DCoexManager.java792 private boolean updateCarrierConfigs(@Nullable List<SubscriptionInfo> subInfos) { in updateCarrierConfigs() argument
797 if (subInfos != null) { in updateCarrierConfigs()
798 for (SubscriptionInfo subInfo : subInfos) { in updateCarrierConfigs()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java726 List<SubscriptionInfo> subInfos = subscriptionManager.getActiveSubscriptionInfoList(); in getCarrierId() local
727 if (subInfos == null) { in getCarrierId()
730 return subInfos.stream() in getCarrierId()