/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 318 for (SubscriptionInfo subscriptionInfo : mOppSubscriptionInfos) { in getOpprotunisticSubInfo() 319 if (subscriptionInfo.getSubscriptionId() == subId) { in getOpprotunisticSubInfo() 320 return subscriptionInfo; in getOpprotunisticSubInfo() 330 for (SubscriptionInfo subscriptionInfo : mOppSubscriptionInfos) { in isOpprotunisticSub() 331 if (subscriptionInfo.getSubscriptionId() == subId) { in isOpprotunisticSub() 394 for (SubscriptionInfo subscriptionInfo : subscriptionInfos) { in getAvailableESIMPortIndex() 395 if (subscriptionInfo.isEmbedded() && subscriptionInfo.isOpportunistic()) { in getAvailableESIMPortIndex() 396 return subscriptionInfo.getPortIndex(); in getAvailableESIMPortIndex() 476 SubscriptionInfo subscriptionInfo; in getFilteredAvailableNetworks() local 481 subscriptionInfo = subscriptionInfoList.get(subscriptionInfoListIndex); in getFilteredAvailableNetworks() [all …]
|
D | OpportunisticNetworkService.java | 192 for (SubscriptionInfo subscriptionInfo : subscriptionInfos) { in handleSimStateChange() 193 if (subscriptionInfo.getSubscriptionId() == carrierAppConfigInput.getPrimarySub()) { in handleSimStateChange() 622 … SubscriptionInfo subscriptionInfo = mSubscriptionManager.getDefaultVoiceSubscriptionInfo(); in handleCarrierAppAvailableNetworks() local 623 if (subscriptionInfo != null) { in handleCarrierAppAvailableNetworks() 624 onsConfigInput.setPrimarySub(subscriptionInfo.getSubscriptionId()); in handleCarrierAppAvailableNetworks()
|
D | ONSProfileConfigurator.java | 312 SubscriptionInfo subscriptionInfo = mSubscriptionManager.getActiveSubscriptionInfo(pSIMId); in findOpportunisticSubscription() local 313 if (subscriptionInfo == null) { in findOpportunisticSubscription() 317 ParcelUuid pSIMSubGroupId = subscriptionInfo.getGroupUuid(); in findOpportunisticSubscription()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/ |
D | DeviceInfoUtils.java | 175 SubscriptionInfo subscriptionInfo) { in getFormattedPhoneNumber() argument 177 if (subscriptionInfo != null) { in getFormattedPhoneNumber() 181 subscriptionInfo.getSubscriptionId()).getLine1Number(); in getFormattedPhoneNumber() 196 for (SubscriptionInfo subscriptionInfo : subscriptionInfoList) { in getFormattedPhoneNumbers() 198 subscriptionInfo.getSubscriptionId()).getLine1Number(); in getFormattedPhoneNumbers() 215 SubscriptionInfo subscriptionInfo) { in getBidiFormattedPhoneNumber() argument 216 final String phoneNumber = getFormattedPhoneNumber(context, subscriptionInfo); in getBidiFormattedPhoneNumber()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileNetworkEidPreferenceController.kt | 105 .collectLatestWithLifecycle(viewLifecycleOwner) { subscriptionInfo -> in <lambda>() method 106 subscriptionInfo?.let { in <lambda>() 115 suspend fun refreshData(subscriptionInfo: SubscriptionInfo) { in <lambda>() 117 eid = getEid(subscriptionInfo) in <lambda>() 169 fun getEid(subscriptionInfo: SubscriptionInfo): String { in <lambda>() 174 var eid = getEidPerSlot(telMgr, euiccMgr, subscriptionInfo) in <lambda>() 183 subscriptionInfo: SubscriptionInfo in <lambda>() 186 val cardId = subscriptionInfo.cardId in <lambda>()
|
D | DeleteSimProfilePreferenceController.kt | 35 private var subscriptionInfo: SubscriptionInfo? = null variable 40 subscriptionInfo = SubscriptionUtil.getAvailableSubscriptions(mContext) in init() 42 subscriptionInfo?.let { in init() 47 override fun getAvailabilityStatus() = when (subscriptionInfo) { in getAvailabilityStatus()
|
D | MobileNetworkPhoneNumberPreferenceController.kt | 96 suspend fun refreshData(subscriptionInfo: SubscriptionInfo){ in <lambda>() 98 phoneNumber = getFormattedPhoneNumber(subscriptionInfo) in <lambda>() 107 private fun getFormattedPhoneNumber(subscriptionInfo: SubscriptionInfo?): String { in <lambda>() 110 subscriptionInfo in <lambda>()
|
D | SubscriptionRepository.kt | 78 fun Context.phoneNumberFlow(subscriptionInfo: SubscriptionInfo) = subscriptionsChangedFlow().map { in Context() 79 SubscriptionUtil.getBidiFormattedPhoneNumber(this, subscriptionInfo) in Context()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/ |
D | DisableSimFooterPreferenceControllerTest.kt | 36 private val subscriptionInfo = mock<SubscriptionInfo> { in <lambda>() constant in com.android.settings.network.telephony.DisableSimFooterPreferenceControllerTest 43 on { getSelectableSubscriptionInfoList() } doReturn listOf(subscriptionInfo) in <lambda>() 61 subscriptionInfo.stub { in getAvailabilityStatus_eSim_notAvailable() 75 subscriptionInfo.stub { in getAvailabilityStatus_pSimAndCannotDisable_available() 89 subscriptionInfo.stub { in getAvailabilityStatus_pSimAndCanDisable_notAvailable()
|
D | DeleteSimProfilePreferenceControllerTest.kt | 44 private val subscriptionInfo = mock<SubscriptionInfo> { in <lambda>() constant in com.android.settings.network.telephony.DeleteSimProfilePreferenceControllerTest 65 SubscriptionUtil.setAvailableSubscriptionsForTesting(listOf(subscriptionInfo)) in setUp() 84 whenever(subscriptionInfo.isEmbedded).thenReturn(false) in getAvailabilityStatus_physicalSim_notAvailable() 93 whenever(subscriptionInfo.subscriptionId).thenReturn(OTHER_ID) in getAvailabilityStatus_unknownSim_notAvailable()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 108 final SubscriptionInfo subscriptionInfo = getSubscriptionInfo(simSlot); in getPhoneNumber() local 109 if (subscriptionInfo == null) { in getPhoneNumber() 113 return getFormattedPhoneNumber(subscriptionInfo); in getPhoneNumber() 137 protected String getFormattedPhoneNumber(SubscriptionInfo subscriptionInfo) { in getFormattedPhoneNumber() argument 139 subscriptionInfo); in getFormattedPhoneNumber()
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileSelectorTest.java | 314 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testStartProfileSelectionWithDifferentPrioritySubInfo() local 317 subscriptionInfoList.add(subscriptionInfo); in testStartProfileSelectionWithDifferentPrioritySubInfo() 322 doReturn(subscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(5); in testStartProfileSelectionWithDifferentPrioritySubInfo() 517 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testselectProfileForDataWithInActiveSub() local 519 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithInActiveSub() 520 doReturn(subscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(5); in testselectProfileForDataWithInActiveSub() 548 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testselectProfileForDataWithInvalidSubId() local 550 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithInvalidSubId() 551 doReturn(subscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(5); in testselectProfileForDataWithInvalidSubId() 583 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testselectProfileForDataWithValidSub() local [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | ResetNetworkSubscriptionPreferenceControllerTest.java | 453 SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in createSubInfo() local 454 when(subscriptionInfo.getSubscriptionId()).thenReturn(subId); in createSubInfo() 455 when(subscriptionInfo.getDisplayName()).thenReturn(displayName); in createSubInfo() 456 when(subscriptionInfo.getCarrierName()).thenReturn(carrierName); in createSubInfo() 457 when(subscriptionInfo.getNumber()).thenReturn(number); in createSubInfo() 458 when(subscriptionInfo.getSimSlotIndex()).thenReturn(111); in createSubInfo() 459 when(subscriptionInfo.getMcc()).thenReturn(222); in createSubInfo() 460 when(subscriptionInfo.getMnc()).thenReturn(333); in createSubInfo() 461 return subscriptionInfo; in createSubInfo()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageUtils.java | 90 SubscriptionInfo subscriptionInfo = subscriptionManager.getDefaultDataSubscriptionInfo(); in getDefaultSubscriptionId() local 91 if (subscriptionInfo == null) { in getDefaultSubscriptionId() 96 subscriptionInfo = list.get(0); in getDefaultSubscriptionId() 98 return subscriptionInfo.getSubscriptionId(); in getDefaultSubscriptionId()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | SubscriptionUtil.java | 300 public SubscriptionInfo subscriptionInfo; in getUniqueSubscriptionDisplayNames() field in SubscriptionUtil.DisplayInfo 315 info.subscriptionInfo = i; in getUniqueSubscriptionDisplayNames() 336 int infoSubId = info.subscriptionInfo.getSubscriptionId(); in getUniqueSubscriptionDisplayNames() 392 + info.subscriptionInfo.getSubscriptionId(); in getUniqueSubscriptionDisplayNames() 396 info -> info.subscriptionInfo.getSubscriptionId(), in getUniqueSubscriptionDisplayNames() 637 Context context, SubscriptionInfo subscriptionInfo) { 638 if (subscriptionInfo == null) { 648 subscriptionInfo.getSubscriptionId()); 655 String countryIso = MccTable.countryCodeForMcc(subscriptionInfo.getMccString()) 668 SubscriptionInfo subscriptionInfo) { [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | PhoneAccountHandleMigrationUtils.java | 207 for (SubscriptionInfo subscriptionInfo : subscriptionInfoList) { in getSubIdForIccId() 211 if (iccId.startsWith(subscriptionInfo.getIccId())) { in getSubIdForIccId() 213 + subscriptionInfo.getSubscriptionId()); in getSubIdForIccId() 214 return Integer.toString(subscriptionInfo.getSubscriptionId()); in getSubIdForIccId()
|
/packages/apps/Dialer/java/com/android/dialer/precall/impl/ |
D | AssistedDialAction.java | 99 com.google.common.base.Optional<SubscriptionInfo> subscriptionInfo = in getAssistedDialingTelephonyManager() local 101 if (!subscriptionInfo.isPresent()) { in getAssistedDialingTelephonyManager() 107 telephonyManager.createForSubscriptionId(subscriptionInfo.get().getSubscriptionId()); in getAssistedDialingTelephonyManager()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileNetworkUpdateManager.java | 164 for (SubscriptionInfo subscriptionInfo : in getSubscription() 166 if (subscriptionInfo.getSubscriptionId() == mCurSubscriptionId) { in getSubscription() 167 return subscriptionInfo; in getSubscription()
|
D | MobileNetworkFragment.java | 128 for (SubscriptionInfo subscriptionInfo : in onMobileNetworkUpdated() 130 if (subscriptionInfo.getSubscriptionId() == subId) { in onMobileNetworkUpdated() 131 info = subscriptionInfo; in onMobileNetworkUpdated()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowSubscriptionManager.java | 56 public static void setDefaultDataSubscriptionInfo(SubscriptionInfo subscriptionInfo) { in setDefaultDataSubscriptionInfo() argument 57 sDefaultDataSubscriptionInfo = subscriptionInfo; in setDefaultDataSubscriptionInfo()
|
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/ |
D | PhoneNumberHelper.java | 165 Optional<SubscriptionInfo> subscriptionInfo = in isLocalEmergencyNumber() local 167 if (subscriptionInfo.isPresent() in isLocalEmergencyNumber() 169 context, subscriptionInfo.get().getSubscriptionId(), number)) { in isLocalEmergencyNumber()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/gsm/ |
D | OpenNetworkSelectPagePreferenceControllerTest.kt | 46 private val subscriptionInfo = mock<SubscriptionInfo> { in <lambda>() constant in com.android.settings.network.telephony.gsm.OpenNetworkSelectPagePreferenceControllerTest 53 on { getActiveSubscriptionInfo(SUB_ID) } doReturn subscriptionInfo in <lambda>()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 647 final SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in loadSims_oneSim_simSpinnerDefaultSubscription() local 649 when(subscriptionInfo.getSubscriptionId()).thenReturn(carrierId); in loadSims_oneSim_simSpinnerDefaultSubscription() 650 when(subscriptionInfo.getDisplayName()).thenReturn("FAKE-CARRIER"); in loadSims_oneSim_simSpinnerDefaultSubscription() 651 when(subscriptionInfo.getCarrierId()).thenReturn(carrierId); in loadSims_oneSim_simSpinnerDefaultSubscription() 652 when(subscriptionInfo.getCarrierName()).thenReturn("FAKE-CARRIER"); in loadSims_oneSim_simSpinnerDefaultSubscription() 653 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(subscriptionInfo)); in loadSims_oneSim_simSpinnerDefaultSubscription() 654 mShadowSubscriptionManager.setActiveSubscriptionInfoList(Arrays.asList(subscriptionInfo)); in loadSims_oneSim_simSpinnerDefaultSubscription()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ParticipantData.java | 408 public boolean updateSubscriptionInfoForSelfIfChanged(final SubscriptionInfo subscriptionInfo) { in updateSubscriptionInfoForSelfIfChanged() argument 411 if (subscriptionInfo == null) { in updateSubscriptionInfoForSelfIfChanged() 420 final int slotId = subscriptionInfo.getSimSlotIndex(); in updateSubscriptionInfoForSelfIfChanged() 421 final int color = subscriptionInfo.getIconTint(); in updateSubscriptionInfoForSelfIfChanged() 422 final CharSequence name = subscriptionInfo.getDisplayName(); in updateSubscriptionInfoForSelfIfChanged()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimPhonebookProvider.java | 327 private void addEfToCursor(MatrixCursor result, SubscriptionInfo subscriptionInfo, in addEfToCursor() argument 330 subscriptionInfo.getSubscriptionId(), efIdForEfType(efType)); in addEfToCursor() 331 addEfToCursor(result, subscriptionInfo, efType, recordsSize); in addEfToCursor() 334 private void addEfToCursor(MatrixCursor result, SubscriptionInfo subscriptionInfo, in addEfToCursor() argument 346 .getAdnRecordsInEfForSubscriber(subscriptionInfo.getSubscriptionId(), efid); in addEfToCursor() 351 .add(ElementaryFiles.SLOT_INDEX, subscriptionInfo.getSimSlotIndex()) in addEfToCursor() 352 .add(ElementaryFiles.SUBSCRIPTION_ID, subscriptionInfo.getSubscriptionId()) in addEfToCursor()
|