Home
last modified time | relevance | path

Searched refs:phoneText (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java722 private static String getCanonicalFromCache(final String phoneText, String country) { in getCanonicalFromCache() argument
725 return countryMap.get(phoneText); in getCanonicalFromCache()
730 private static void putCanonicalToCache(final String phoneText, String country, in putCanonicalToCache() argument
734 countryMap.put(phoneText, canonical); in putCanonicalToCache()
745 private static String getValidE164Number(final String phoneText, final String country) { in getValidE164Number() argument
748 final PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneText, country); in getValidE164Number()
754 + LogUtil.sanitizePII(phoneText) + " for country " + country); in getValidE164Number()
765 public String getCanonicalBySystemLocale(final String phoneText) { in getCanonicalBySystemLocale() argument
766 return getCanonicalByCountry(phoneText, getLocaleCountry()); in getCanonicalBySystemLocale()
776 public String getCanonicalBySimLocale(final String phoneText) { in getCanonicalBySimLocale() argument
[all …]
/packages/services/Mms/src/com/android/mms/service/
DPhoneUtils.java43 String phoneText) { in getNationalNumber() argument
46 final Phonenumber.PhoneNumber parsed = getParsedNumber(phoneNumberUtil, phoneText, country); in getNationalNumber()
48 return phoneText; in getNationalNumber()
57 String phoneText, String country) { in getParsedNumber() argument
59 final Phonenumber.PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneText, country); in getParsedNumber()