Searched refs:isPotentialEmergencyNumber (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 606 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/ |
D | PhoneNumberUtils.java | 1599 public static boolean isPotentialEmergencyNumber(String number) { in isPotentialEmergencyNumber() method in PhoneNumberUtils 1600 return isPotentialEmergencyNumber(getDefaultVoiceSubId(), number); in isPotentialEmergencyNumber() 1623 public static boolean isPotentialEmergencyNumber(int subId, String number) { in isPotentialEmergencyNumber() method in PhoneNumberUtils 1728 public static boolean isPotentialEmergencyNumber(String number, String defaultCountryIso) { in isPotentialEmergencyNumber() method in PhoneNumberUtils 1729 return isPotentialEmergencyNumber(getDefaultVoiceSubId(), number, defaultCountryIso); in isPotentialEmergencyNumber() 1753 public static boolean isPotentialEmergencyNumber(int subId, String number, in isPotentialEmergencyNumber() method in PhoneNumberUtils
|