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.java42 public static String getNationalNumber(TelephonyManager telephonyManager, String phoneText) { in getNationalNumber() argument
45 final Phonenumber.PhoneNumber parsed = getParsedNumber(phoneNumberUtil, phoneText, country); in getNationalNumber()
47 return phoneText; in getNationalNumber()
56 String phoneText, String country) { in getParsedNumber() argument
58 final Phonenumber.PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneText, country); in getParsedNumber()