Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1533 public static String formatNumberToE164(String phoneNumber, String defaultCountryIso) { in formatNumberToE164() argument
1534 return formatNumberInternal(phoneNumber, defaultCountryIso, PhoneNumberFormat.E164); in formatNumberToE164()
1544 public static String formatNumberToRFC3966(String phoneNumber, String defaultCountryIso) { in formatNumberToRFC3966() argument
1545 return formatNumberInternal(phoneNumber, defaultCountryIso, PhoneNumberFormat.RFC3966); in formatNumberToRFC3966()
1562 String rawPhoneNumber, String defaultCountryIso, PhoneNumberFormat formatIdentifier) { in formatNumberInternal() argument
1566 PhoneNumber phoneNumber = util.parse(rawPhoneNumber, defaultCountryIso); in formatNumberInternal()
1584 public static boolean isInternationalNumber(String phoneNumber, String defaultCountryIso) { in isInternationalNumber() argument
1597 PhoneNumber pn = util.parseAndKeepRawInput(phoneNumber, defaultCountryIso); in isInternationalNumber()
1598 return pn.getCountryCode() != util.getCountryCodeForRegion(defaultCountryIso); in isInternationalNumber()
1617 public static String formatNumber(String phoneNumber, String defaultCountryIso) { in formatNumber() argument
[all …]