/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 266 for (SubscriptionInfo subscriptionInfo : mOppSubscriptionInfos) { in getOpprotunisticSubInfo() 267 if (subscriptionInfo.getSubscriptionId() == subId) { in getOpprotunisticSubInfo() 268 return subscriptionInfo; in getOpprotunisticSubInfo() 278 for (SubscriptionInfo subscriptionInfo : mOppSubscriptionInfos) { in isOpprotunisticSub() 279 if (subscriptionInfo.getSubscriptionId() == subId) { in isOpprotunisticSub() 367 SubscriptionInfo subscriptionInfo; in getFilteredAvailableNetworks() local 372 subscriptionInfo = subscriptionInfoList.get(subscriptionInfoListIndex); in getFilteredAvailableNetworks() 374 if (subscriptionInfo.getSubscriptionId() == availableNetwork.getSubId()) { in getFilteredAvailableNetworks() 378 } else if (subscriptionInfo.getSubscriptionId() < availableNetwork.getSubId()) { in getFilteredAvailableNetworks() 411 for (SubscriptionInfo subscriptionInfo : subscriptionInfos) { in isPrimaryActiveOnOpportunisticSlot() [all …]
|
D | OpportunisticNetworkService.java | 129 for (SubscriptionInfo subscriptionInfo : subscriptionInfos) { in handleSimStateChange() 130 if (subscriptionInfo.getSubscriptionId() == onsConfigInput.getPrimarySub()) { in handleSimStateChange()
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileSelectorTest.java | 166 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testStartProfileSelectionSuccess() local 170 subscriptionInfoList.add(subscriptionInfo); in testStartProfileSelectionSuccess() 235 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testStartProfileSelectionWithActivePrimarySimOnESim() local 239 opportunisticSubscriptionInfoList.add(subscriptionInfo); in testStartProfileSelectionWithActivePrimarySimOnESim() 333 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testselectProfileForDataWithInActiveSub() local 335 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithInActiveSub() 362 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testselectProfileForDataWithInvalidSubId() local 364 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithInvalidSubId() 395 SubscriptionInfo subscriptionInfo = new SubscriptionInfo(5, "", 1, "TMO", "TMO", 1, 1, in testselectProfileForDataWithValidSub() local 397 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithValidSub()
|
/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/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/Settings/src/com/android/settings/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/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageUtils.java | 167 SubscriptionInfo subscriptionInfo = subManager.getDefaultDataSubscriptionInfo(); in getDefaultSubscriptionId() local 168 if (subscriptionInfo == null) { in getDefaultSubscriptionId() 173 subscriptionInfo = list.get(0); in getDefaultSubscriptionId() 175 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 | 102 for (SubscriptionInfo subscriptionInfo : in onMobileNetworkUpdated() 104 if (subscriptionInfo.getSubscriptionId() == subId) { in onMobileNetworkUpdated() 105 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/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/Settings/src/com/android/settings/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 | 374 public boolean updateSubscriptionInfoForSelfIfChanged(final SubscriptionInfo subscriptionInfo) { in updateSubscriptionInfoForSelfIfChanged() argument 377 if (subscriptionInfo == null) { in updateSubscriptionInfoForSelfIfChanged() 386 final int slotId = subscriptionInfo.getSimSlotIndex(); in updateSubscriptionInfoForSelfIfChanged() 387 final int color = subscriptionInfo.getIconTint(); in updateSubscriptionInfoForSelfIfChanged() 388 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/Settings/src/com/android/settings/network/telephony/ |
D | MobileNetworkActivity.java | 205 final SubscriptionInfo subscriptionInfo = mSubscriptionInfos.get(i); in updateBottomNavigationView() local 206 menu.add(0, subscriptionInfo.getSubscriptionId(), i, in updateBottomNavigationView() 207 subscriptionInfo.getDisplayName()) in updateBottomNavigationView()
|
/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/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/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/util/ |
D | PhoneUtils.java | 993 for (final SubscriptionInfo subscriptionInfo : subscriptionList) { in forEachActiveSubscription() 994 runnable.runForSubscription(subscriptionInfo.getSubscriptionId()); in forEachActiveSubscription()
|
/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()
|