/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 305 for (SubscriptionInfo subscriptionInfo : mOppSubscriptionInfos) { in getOpprotunisticSubInfo() 306 if (subscriptionInfo.getSubscriptionId() == subId) { in getOpprotunisticSubInfo() 307 return subscriptionInfo; in getOpprotunisticSubInfo() 317 for (SubscriptionInfo subscriptionInfo : mOppSubscriptionInfos) { in isOpprotunisticSub() 318 if (subscriptionInfo.getSubscriptionId() == subId) { in isOpprotunisticSub() 413 SubscriptionInfo subscriptionInfo; in getFilteredAvailableNetworks() local 418 subscriptionInfo = subscriptionInfoList.get(subscriptionInfoListIndex); in getFilteredAvailableNetworks() 420 if (subscriptionInfo.getSubscriptionId() == availableNetwork.getSubId()) { in getFilteredAvailableNetworks() 424 } else if (subscriptionInfo.getSubscriptionId() < availableNetwork.getSubId()) { in getFilteredAvailableNetworks() 457 for (SubscriptionInfo subscriptionInfo : subscriptionInfos) { in isPrimaryActiveOnOpportunisticSlot() [all …]
|
D | OpportunisticNetworkService.java | 136 for (SubscriptionInfo subscriptionInfo : subscriptionInfos) { in handleSimStateChange() 137 if (subscriptionInfo.getSubscriptionId() == carrierAppConfigInput.getPrimarySub()) { in handleSimStateChange() 438 … SubscriptionInfo subscriptionInfo = mSubscriptionManager.getDefaultVoiceSubscriptionInfo(); in handleCarrierAppAvailableNetworks() local 439 if (subscriptionInfo != null) { in handleCarrierAppAvailableNetworks() 440 onsConfigInput.setPrimarySub(subscriptionInfo.getSubscriptionId()); in handleCarrierAppAvailableNetworks()
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileSelectorTest.java | 181 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testStartProfileSelectionSuccess() local 185 subscriptionInfoList.add(subscriptionInfo); in testStartProfileSelectionSuccess() 255 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testStartProfileSelectionWithDifferentPrioritySubInfo() local 257 subscriptionInfoList.add(subscriptionInfo); in testStartProfileSelectionWithDifferentPrioritySubInfo() 328 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testStartProfileSelectionWithActivePrimarySimOnESim() local 332 opportunisticSubscriptionInfoList.add(subscriptionInfo); in testStartProfileSelectionWithActivePrimarySimOnESim() 428 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testselectProfileForDataWithInActiveSub() local 430 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithInActiveSub() 458 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testselectProfileForDataWithInvalidSubId() local 460 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithInvalidSubId() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | ResetNetworkSubscriptionPreferenceControllerTest.java | 343 SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in createSubInfo() local 344 when(subscriptionInfo.getSubscriptionId()).thenReturn(subId); in createSubInfo() 345 when(subscriptionInfo.getDisplayName()).thenReturn(displayName); in createSubInfo() 346 when(subscriptionInfo.getCarrierName()).thenReturn(carrierName); in createSubInfo() 347 when(subscriptionInfo.getNumber()).thenReturn(number); in createSubInfo() 348 when(subscriptionInfo.getSimSlotIndex()).thenReturn(111); in createSubInfo() 349 when(subscriptionInfo.getMcc()).thenReturn(222); in createSubInfo() 350 when(subscriptionInfo.getMnc()).thenReturn(333); in createSubInfo() 351 return subscriptionInfo; in createSubInfo()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 130 final SubscriptionInfo subscriptionInfo = getSubscriptionInfo(simSlot); in getPhoneNumber() local 131 if (subscriptionInfo == null) { in getPhoneNumber() 135 return getFormattedPhoneNumber(subscriptionInfo); in getPhoneNumber() 159 CharSequence getFormattedPhoneNumber(SubscriptionInfo subscriptionInfo) { in getFormattedPhoneNumber() argument 161 subscriptionInfo); in getFormattedPhoneNumber()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 132 final SubscriptionInfo subscriptionInfo = getSubscriptionInfo(simSlot); in getPhoneNumber() local 133 if (subscriptionInfo == null) { in getPhoneNumber() 137 return getFormattedPhoneNumber(subscriptionInfo); in getPhoneNumber() 161 CharSequence getFormattedPhoneNumber(SubscriptionInfo subscriptionInfo) { in getFormattedPhoneNumber() argument 163 subscriptionInfo); in getFormattedPhoneNumber()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageUtils.java | 62 SubscriptionInfo subscriptionInfo = subscriptionManager.getDefaultDataSubscriptionInfo(); in getDefaultSubscriptionId() local 63 if (subscriptionInfo == null) { in getDefaultSubscriptionId() 68 subscriptionInfo = list.get(0); in getDefaultSubscriptionId() 70 return subscriptionInfo.getSubscriptionId(); in getDefaultSubscriptionId()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageUtils.java | 166 SubscriptionInfo subscriptionInfo = subManager.getDefaultDataSubscriptionInfo(); in getDefaultSubscriptionId() local 167 if (subscriptionInfo == null) { in getDefaultSubscriptionId() 172 subscriptionInfo = list.get(0); in getDefaultSubscriptionId() 174 return subscriptionInfo.getSubscriptionId(); in getDefaultSubscriptionId()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileNetworkFragment.java | 99 for (SubscriptionInfo subscriptionInfo : in onMobileNetworkUpdated() 101 if (subscriptionInfo.getSubscriptionId() == subId) { in onMobileNetworkUpdated() 102 info = subscriptionInfo; in onMobileNetworkUpdated()
|
D | MobileNetworkUpdateManager.java | 147 for (SubscriptionInfo subscriptionInfo : in getSubscription() 149 if (subscriptionInfo.getSubscriptionId() == mCurSubscriptionId) { in getSubscription() 150 return subscriptionInfo; in getSubscription()
|
/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/Settings/src/com/android/settings/homepage/contextualcards/deviceinfo/ |
D | DeviceInfoSlice.java | 97 final SubscriptionInfo subscriptionInfo = getFirstSubscriptionInfo(); in getPhoneNumber() local 98 if (subscriptionInfo == null) { in getPhoneNumber() 102 subscriptionInfo); in getPhoneNumber()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/deviceinfo/ |
D | DeviceInfoSlice.java | 99 final SubscriptionInfo subscriptionInfo = getFirstSubscriptionInfo(); in getPhoneNumber() local 100 if (subscriptionInfo == null) { in getPhoneNumber() 104 subscriptionInfo); in getPhoneNumber()
|
/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/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | MobileNetworkActivity.java | 204 final SubscriptionInfo subscriptionInfo = mSubscriptionInfos.get(i); in updateBottomNavigationView() local 205 menu.add(0, subscriptionInfo.getSubscriptionId(), i, in updateBottomNavigationView() 206 subscriptionInfo.getDisplayName()) in updateBottomNavigationView()
|
/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/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/Settings/src/com/android/settings/network/telephony/ |
D | MobileNetworkActivity.java | 256 final SubscriptionInfo subscriptionInfo = mSubscriptionInfos.get(i); in updateBottomNavigationView() local 257 menu.add(0, subscriptionInfo.getSubscriptionId(), i, in updateBottomNavigationView() 258 subscriptionInfo.getDisplayName()) in updateBottomNavigationView()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | VoicemailSettingsFragment.java | 332 Optional<SubscriptionInfo> subscriptionInfo = in setupAdvancedSettingsPreference() local 334 if (subscriptionInfo.isPresent()) { in setupAdvancedSettingsPreference() 335 advancedSettingsIntent.putExtra(SUB_ID_EXTRA, subscriptionInfo.get().getSubscriptionId()); in setupAdvancedSettingsPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDeviceInfoUtils.java | 36 SubscriptionInfo subscriptionInfo) { in getBidiFormattedPhoneNumber() argument
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | SimContactDaoImpl.java | 259 for (SubscriptionInfo subscriptionInfo : subscriptions) { in getSimCardsFromSubscriptions() 260 result.add(SimCard.create(subscriptionInfo)); in getSimCardsFromSubscriptions()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 705 private static String getNormalizedNumber(SubscriptionInfo subscriptionInfo) { 706 if (subscriptionInfo == null) { 709 return PhoneNumberUtils.formatNumberToE164(subscriptionInfo.getNumber(), 710 subscriptionInfo.getCountryIso().toUpperCase(Locale.US));
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | ParticipantRefresh.java | 450 final SubscriptionInfo subscriptionInfo = in refreshFromSelfProfile() local 452 if (participantData.updateSubscriptionInfoForSelfIfChanged(subscriptionInfo)) { in refreshFromSelfProfile()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 993 for (final SubscriptionInfo subscriptionInfo : subscriptionList) { in forEachActiveSubscription() 994 runnable.runForSubscription(subscriptionInfo.getSubscriptionId()); in forEachActiveSubscription()
|