Searched refs:isEmergencyNumber (Results 1 – 10 of 10) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 625 assertTrue(PhoneNumberUtils.isEmergencyNumber("911", "US")); in testIsEmergencyNumber() 626 assertTrue(PhoneNumberUtils.isEmergencyNumber("112", "US")); in testIsEmergencyNumber() 630 assertFalse(PhoneNumberUtils.isEmergencyNumber("91112345", "US")); in testIsEmergencyNumber() 631 assertFalse(PhoneNumberUtils.isEmergencyNumber("11212345", "US")); in testIsEmergencyNumber() 634 assertFalse(PhoneNumberUtils.isEmergencyNumber("91121234", "SG")); in testIsEmergencyNumber() 637 assertFalse(PhoneNumberUtils.isEmergencyNumber("1121234567", "BR")); in testIsEmergencyNumber() 640 assertFalse(PhoneNumberUtils.isEmergencyNumber("91112345", "BR")); in testIsEmergencyNumber()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 1645 public static boolean isEmergencyNumber(String number) { in isEmergencyNumber() method in PhoneNumberUtils 1646 return isEmergencyNumber(getDefaultVoiceSubId(), number); in isEmergencyNumber() 1659 public static boolean isEmergencyNumber(int subId, String number) { in isEmergencyNumber() method in PhoneNumberUtils 1773 public static boolean isEmergencyNumber(String number, String defaultCountryIso) { in isEmergencyNumber() method in PhoneNumberUtils 1774 return isEmergencyNumber(getDefaultVoiceSubId(), number, defaultCountryIso); in isEmergencyNumber() 1787 public static boolean isEmergencyNumber(int subId, String number, String defaultCountryIso) { in isEmergencyNumber() method in PhoneNumberUtils 1965 return info.isEmergencyNumber(number, defaultCountryIso); in isEmergencyNumberInternal() 3135 if (isEmergencyNumber(normalizedNumber)) { in convertToEmergencyNumber()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 771 boolean isEmergencyNumber = PhoneNumberUtils.isEmergencyNumber(dialString); in dial() 786 if (isPhoneInEcmMode && isEmergencyNumber) { in dial() 792 if (isEmergencyNumber && VideoProfile.isVideo(videoState) && in dial() 839 isEmergencyNumber); in dial() 845 if ((!isPhoneInEcmMode) || (isPhoneInEcmMode && isEmergencyNumber)) { in dial() 969 int serviceType = PhoneNumberUtils.isEmergencyNumber(conn.getAddress()) ? in dialInternal() 1825 boolean isEmergencyNumber = mPendingMO.isEmergency(); in dialPendingMO() 1826 if ((!isPhoneInEcmMode) || (isPhoneInEcmMode && isEmergencyNumber)) { in dialPendingMO()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 158 setInEmergency(PhoneNumberUtils.isEmergencyNumber(phoneNumber));
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 404 public boolean isEmergencyNumber() { in isEmergencyNumber() method in CallerInfo
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 395 if (PhoneNumberUtils.isEmergencyNumber(destAddress, countryIso)) { in checkDestination()
|
D | GsmCdmaPhone.java | 1062 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in dial() 1164 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in isNotificationOfWfcCallRequired()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 28400 method public static boolean isEmergencyNumber(java.lang.String);
|
/frameworks/base/api/ |
D | current.txt | 39684 method public static boolean isEmergencyNumber(java.lang.String);
|
D | system-current.txt | 43114 method public static boolean isEmergencyNumber(java.lang.String);
|