Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java661 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/
DPhoneNumberUtils.java1793 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()
DTelephonyManager.java10699 public boolean isPotentialEmergencyNumber(@NonNull String number) { in isPotentialEmergencyNumber() method in TelephonyManager
/frameworks/base/api/
Dsystem-current.txt8005 …anifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isPotentialEmergencyNumber(@NonNull…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt73782 Landroid/telephony/PhoneNumberUtils;->isPotentialEmergencyNumber(ILjava/lang/String;Ljava/lang/Stri…
73783 Landroid/telephony/PhoneNumberUtils;->isPotentialEmergencyNumber(Ljava/lang/String;)Z
73784 Landroid/telephony/PhoneNumberUtils;->isPotentialEmergencyNumber(Ljava/lang/String;Ljava/lang/Strin…