Home
last modified time | relevance | path

Searched refs:simSlotIndex (Results 1 – 11 of 11) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneStateBroadcaster.java152 int simSlotIndex; in sendOutgoingEmergencyCallEvent() local
157 simSlotIndex = SubscriptionManager.DEFAULT_PHONE_INDEX; in sendOutgoingEmergencyCallEvent()
162 simSlotIndex = subInfo.getSimSlotIndex(); in sendOutgoingEmergencyCallEvent()
167 simSlotIndex = SubscriptionManager.INVALID_SIM_SLOT_INDEX; in sendOutgoingEmergencyCallEvent()
171 simSlotIndex, subscriptionId, emergencyNumber.get()); in sendOutgoingEmergencyCallEvent()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DSimSlotRepository.kt31 fun subIdInSimSlotFlow(simSlotIndex: Int) = in subIdInSimSlotFlow()
34 subscriptionManager.getActiveSubscriptionInfoForSimSlotIndex(simSlotIndex) in subIdInSimSlotFlow()
39 .onEach { Log.d(TAG, "sub id in sim slot $simSlotIndex: $it") } in <lambda>()
DSubscriptionRepository.kt121 subInfos.filter { it.simSlotIndex != SubscriptionManager.INVALID_SIM_SLOT_INDEX } in Context()
133 get() = if (simSlotIndex != SubscriptionManager.INVALID_SIM_SLOT_INDEX) {
134 simSlotIndex
DMobileNetworkImeiPreferenceController.kt108 simSlot = subscription.simSlotIndex in <lambda>()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogRepository.kt65 simSlotIndex: Int, in collectSimStatusDialogInfo()
70 simStatusDialogInfoBySlotFlow(simSlotIndex).collect(action) in collectSimStatusDialogInfo()
75 private fun simStatusDialogInfoBySlotFlow(simSlotIndex: Int): Flow<SimStatusDialogInfo> = in simStatusDialogInfoBySlotFlow()
76 simSlotRepository.subIdInSimSlotFlow(simSlotIndex) in simStatusDialogInfoBySlotFlow()
DSlotSimStatus.java193 int simSlotIndex = SubscriptionManager.INVALID_SIM_SLOT_INDEX + 1; in findSlotIndexByKey() local
195 simSlotIndex = Integer.parseInt(prefKey.substring(KEY_SIM_STATUS.length())); in findSlotIndexByKey()
200 return simSlotIndex - 1; in findSlotIndexByKey()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DSubscriptionUtilsTest.java98 private SubscriptionInfo createSubscriptionInfo(int subId, int simSlotIndex, in createSubscriptionInfo() argument
101 simSlotIndex, /* displayName= */ "", /* carrierName= */ "", in createSubscriptionInfo()
109 private UiccSlotInfo createUuicSlotInfo(boolean isActive, boolean isEsim, int simSlotIndex, in createUuicSlotInfo() argument
116 simSlotIndex /* logicalSlotIdx */, isActive /* isActive */))); in createUuicSlotInfo()
DMobileNetworkListPreferenceControllerTest.java122 private SubscriptionInfo createSubscriptionInfo(int subId, int simSlotIndex, in createSubscriptionInfo() argument
125 simSlotIndex, /* displayName= */ "", /* carrierName= */ "", in createSubscriptionInfo()
DMobileNetworkEntryPreferenceControllerTest.java492 private SubscriptionInfo createSubscriptionInfo(int subId, int simSlotIndex, in createSubscriptionInfo() argument
495 simSlotIndex, displayName, /* carrierName= */ "", in createSubscriptionInfo()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DSubscriptionRepositoryTest.kt114 assertThat(subInfos.map { it.simSlotIndex }) in getSelectableSubscriptionInfoList_sortedBySimSlotIndex()
135 assertThat(subInfos.map { it.simSlotIndex }) in getSelectableSubscriptionInfoList_oneNotInSlot_inSlotSortedFirst()
/packages/apps/Settings/src/com/android/settings/spa/network/
DNetworkCellularGroupProvider.kt134 .filter { subInfo -> subInfo.simSlotIndex > -1 } in <lambda>()
181 (info.simSlotIndex != -1) && (info.subscriptionId != defaultDataSubId) in <lambda>()
319 subscriptionInfoList.filter { subInfo -> subInfo.simSlotIndex != -1 } in PrimarySimSectionImpl()