/packages/services/Telephony/tests/src/com/android/phone/tests/ |
D | CallForwardInfoTest.java | 40 assertNotNull(PhoneNumberUtils.formatNumber("+12345678900", Locale.US.getCountry())); in testCallForwardNumberResponses() 41 assertNotNull(PhoneNumberUtils.formatNumber("123-456-7890", Locale.US.getCountry())); in testCallForwardNumberResponses() 42 assertNotNull(PhoneNumberUtils.formatNumber("#123", Locale.US.getCountry())); in testCallForwardNumberResponses() 43 assertNotNull(PhoneNumberUtils.formatNumber("*12", Locale.US.getCountry())); in testCallForwardNumberResponses() 45 assertNull(PhoneNumberUtils.formatNumber("a", Locale.US.getCountry())); in testCallForwardNumberResponses() 46 assertNull(PhoneNumberUtils.formatNumber("a1", Locale.US.getCountry())); in testCallForwardNumberResponses()
|
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/ |
D | PhoneNumberHelper.java | 271 public static String formatNumber( in formatNumber() method in PhoneNumberHelper 282 String formattedNumber = PhoneNumberUtils.formatNumber(number, numberE164, countryIso); in formatNumber() 287 public static String formatNumber(Context context, @Nullable String number, String countryIso) { in formatNumber() method in PhoneNumberHelper 288 return formatNumber(context, number, /* numberE164 = */ null, countryIso); in formatNumber() 300 .unicodeWrap(formatNumber(context, number, countryIso), TextDirectionHeuristics.LTR)); in formatNumberForDisplay()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | PhoneNumberUtilsCompat.java | 73 public static String formatNumber( in formatNumber() method in PhoneNumberUtilsCompat 76 return PhoneNumberUtils.formatNumber(phoneNumber, phoneNumberE164, defaultCountryIso); in formatNumber() 79 return PhoneNumberUtils.formatNumber(phoneNumber); in formatNumber()
|
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
D | BlockedNumbersUtil.java | 61 public static String formatNumber(String number){ in formatNumber() method in BlockedNumbersUtil 62 String formattedNumber = PhoneNumberUtils.formatNumber(number, getLocaleDefaultToUS()); in formatNumber() 74 String formattedNumber = formatNumber(number); in showToastWithFormattedNumber()
|
D | BlockedNumbersAdapter.java | 45 final String formattedNumber = BlockedNumbersUtil.formatNumber(rawNumber); in bindView()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | UriRecord.java | 92 return context.getString(R.string.action_call, PhoneNumberUtils.formatNumber(ssp)); in getPrettyUriString() 94 return context.getString(R.string.action_text, PhoneNumberUtils.formatNumber(ssp)); in getPrettyUriString()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | PhoneDataItem.java | 57 PhoneNumberHelper.formatNumber( in computeFormattedPhoneNumber()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | PhoneDataItem.java | 81 final String formattedPhoneNumber = PhoneNumberUtilsCompat.formatNumber(phoneNumber, in computeFormattedPhoneNumber()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ContactInfoCache.java | 214 displayNumber = PhoneNumberHelper.formatNumber(context, number, info.countryIso); in populateCacheEntry() 227 displayNumber = PhoneNumberHelper.formatNumber(context, number, info.countryIso); in populateCacheEntry() 252 displayNumber = PhoneNumberHelper.formatNumber(context, number, info.countryIso); in populateCacheEntry()
|
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/ |
D | BlockedNumbersAdapter.java | 69 PhoneNumberHelper.formatNumber(getContext(), number, countryIso), in bindView()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | SuggestionViewHolder.java | 58 PhoneNumberHelper.formatNumber( in bind()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | LegacyVoicemailNotifier.java | 155 PhoneNumberHelper.formatNumber( in getNotificationText()
|
D | CallLogNotificationsQueryHelper.java | 209 contactInfo.formattedNumber = PhoneNumberHelper.formatNumber(context, number, countryIso); in getContactInfo()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | SimCard.java | 110 return PhoneNumberUtils.formatNumber(mPhoneNumber, mCountryCode); in getFormattedPhone()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimPreferenceDialog.java | 145 numberView.setText(PhoneNumberUtils.formatNumber(rawNumber)); in createEditDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/ |
D | SimPreferenceDialog.java | 145 numberView.setText(PhoneNumberUtils.formatNumber(rawNumber)); in createEditDialog()
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | DisconnectedCallNotifier.java | 258 String formattedNumber = PhoneNumberUtils.formatNumber(number, in getNameForCallNotification()
|
D | MissedCallNotifierImpl.java | 418 String formattedNumber = PhoneNumberUtils.formatNumber(handle, in getNameForMissedCallNotification()
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
D | SpamCallListListener.java | 268 PhoneNumberHelper.formatNumber( in getDisplayNumber()
|
D | SpamNotificationActivity.java | 132 PhoneNumberHelper.formatNumber(context, number, GeoUtil.getCurrentCountryIso(context)); in getFormattedNumber()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/ |
D | SystemCallLogDataSource.java | 331 PhoneNumberUtils.formatNumber(numberWithPostDialDigits, countryIso); in handleInsertsAndUpdates()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallLogManager.java | 335 String formattedViaNumber = PhoneNumberUtils.formatNumber(call.getViaNumber(), in logCall()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallForwardEditPreference.java | 211 if (mReplaceInvalidCFNumber && (PhoneNumberUtils.formatNumber(callForwardInfo.number, in handleCallForwardResult()
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | TelecomUtils.java | 129 String formattedNumber = PhoneNumberUtils.formatNumber(number, e164, countryIso); in getFormattedNumber()
|
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
D | ContactInfoHelper.java | 459 return PhoneNumberHelper.formatNumber(context, number, normalizedNumber, countryIso); in formatPhoneNumber()
|