Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java758 assertFalse(PhoneNumberUtils.isInternationalNumber("", "US")); in testIsInternational()
759 assertFalse(PhoneNumberUtils.isInternationalNumber(null, "US")); in testIsInternational()
760 assertFalse(PhoneNumberUtils.isInternationalNumber("+16505551212", "US")); in testIsInternational()
761 assertTrue(PhoneNumberUtils.isInternationalNumber("+16505551212", "UK")); in testIsInternational()
762 assertTrue(PhoneNumberUtils.isInternationalNumber("+16505551212", "JP")); in testIsInternational()
763 assertTrue(PhoneNumberUtils.isInternationalNumber("+86 10 8888 0000", "US")); in testIsInternational()
764 assertTrue(PhoneNumberUtils.isInternationalNumber("001-541-754-3010", "DE")); in testIsInternational()
765 assertFalse(PhoneNumberUtils.isInternationalNumber("001-541-754-3010", "US")); in testIsInternational()
766 assertTrue(PhoneNumberUtils.isInternationalNumber("01161396694916", "US")); in testIsInternational()
767 assertTrue(PhoneNumberUtils.isInternationalNumber("011-613-966-94916", "US")); in testIsInternational()
[all …]
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1579 public static boolean isInternationalNumber(String phoneNumber, String defaultCountryIso) { in isInternationalNumber() method in PhoneNumberUtils
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java1468 && PhoneNumberUtils.isInternationalNumber(dialString, getCountryIso()); in isNotificationOfWfcCallRequired()