Searched refs:isPotentialEmergencyNumber (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 661 assertTrue(PhoneNumberUtils.isPotentialEmergencyNumber("911", "US")); in testIsEmergencyNumber() 662 assertTrue(PhoneNumberUtils.isPotentialEmergencyNumber("112", "US")); in testIsEmergencyNumber() 666 assertTrue(PhoneNumberUtils.isPotentialEmergencyNumber("91112345", "US")); in testIsEmergencyNumber() 667 assertTrue(PhoneNumberUtils.isPotentialEmergencyNumber("11212345", "US")); in testIsEmergencyNumber() 676 assertFalse(PhoneNumberUtils.isPotentialEmergencyNumber("1121234567", "BR")); in testIsEmergencyNumber() 679 assertFalse(PhoneNumberUtils.isPotentialEmergencyNumber("91112345", "BR")); in testIsEmergencyNumber()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 1793 public static boolean isPotentialEmergencyNumber(String number) { in isPotentialEmergencyNumber() method in PhoneNumberUtils 1794 return isPotentialEmergencyNumber(getDefaultVoiceSubId(), number); in isPotentialEmergencyNumber() 1823 public static boolean isPotentialEmergencyNumber(int subId, String number) { in isPotentialEmergencyNumber() method in PhoneNumberUtils 1942 public static boolean isPotentialEmergencyNumber(String number, String defaultCountryIso) { in isPotentialEmergencyNumber() method in PhoneNumberUtils 1943 return isPotentialEmergencyNumber(getDefaultVoiceSubId(), number, defaultCountryIso); in isPotentialEmergencyNumber() 1972 public static boolean isPotentialEmergencyNumber(int subId, String number, in isPotentialEmergencyNumber() method in PhoneNumberUtils 2023 return TelephonyManager.getDefault().isPotentialEmergencyNumber(number); in isEmergencyNumberInternal()
|
/frameworks/base/api/ |
D | system-current.txt | 8005 …anifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isPotentialEmergencyNumber(@NonNull…
|