Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1494 public static String formatNumberToE164(String phoneNumber, String defaultCountryIso) { in formatNumberToE164() argument
1495 return formatNumberInternal(phoneNumber, defaultCountryIso, PhoneNumberFormat.E164); in formatNumberToE164()
1505 public static String formatNumberToRFC3966(String phoneNumber, String defaultCountryIso) { in formatNumberToRFC3966() argument
1506 return formatNumberInternal(phoneNumber, defaultCountryIso, PhoneNumberFormat.RFC3966); in formatNumberToRFC3966()
1523 String rawPhoneNumber, String defaultCountryIso, PhoneNumberFormat formatIdentifier) { in formatNumberInternal() argument
1527 PhoneNumber phoneNumber = util.parse(rawPhoneNumber, defaultCountryIso); in formatNumberInternal()
1545 public static boolean isInternationalNumber(String phoneNumber, String defaultCountryIso) { in isInternationalNumber() argument
1558 PhoneNumber pn = util.parseAndKeepRawInput(phoneNumber, defaultCountryIso); in isInternationalNumber()
1559 return pn.getCountryCode() != util.getCountryCodeForRegion(defaultCountryIso); in isInternationalNumber()
1578 public static String formatNumber(String phoneNumber, String defaultCountryIso) { in formatNumber() argument
[all …]