Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java606 assertTrue(PhoneNumberUtils.isPotentialEmergencyNumber("911", "US")); in testIsEmergencyNumber()
607 assertTrue(PhoneNumberUtils.isPotentialEmergencyNumber("112", "US")); in testIsEmergencyNumber()
611 assertTrue(PhoneNumberUtils.isPotentialEmergencyNumber("91112345", "US")); in testIsEmergencyNumber()
612 assertTrue(PhoneNumberUtils.isPotentialEmergencyNumber("11212345", "US")); in testIsEmergencyNumber()
621 assertFalse(PhoneNumberUtils.isPotentialEmergencyNumber("1121234567", "BR")); in testIsEmergencyNumber()
624 assertFalse(PhoneNumberUtils.isPotentialEmergencyNumber("91112345", "BR")); in testIsEmergencyNumber()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1627 public static boolean isPotentialEmergencyNumber(String number) { in isPotentialEmergencyNumber() method in PhoneNumberUtils
1628 return isPotentialEmergencyNumber(getDefaultVoiceSubId(), number); in isPotentialEmergencyNumber()
1651 public static boolean isPotentialEmergencyNumber(int subId, String number) { in isPotentialEmergencyNumber() method in PhoneNumberUtils
1756 public static boolean isPotentialEmergencyNumber(String number, String defaultCountryIso) { in isPotentialEmergencyNumber() method in PhoneNumberUtils
1757 return isPotentialEmergencyNumber(getDefaultVoiceSubId(), number, defaultCountryIso); in isPotentialEmergencyNumber()
1781 public static boolean isPotentialEmergencyNumber(int subId, String number, in isPotentialEmergencyNumber() method in PhoneNumberUtils