Searched refs:isPotentialEmergencyNumber (Results 1 – 5 of 5) 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()
|
D | TelephonyManager.java | 10699 public boolean isPotentialEmergencyNumber(@NonNull String number) { in isPotentialEmergencyNumber() method in TelephonyManager
|
/frameworks/base/api/ |
D | system-current.txt | 8005 …anifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isPotentialEmergencyNumber(@NonNull…
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 73782 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…
|