Home
last modified time | relevance | path

Searched refs:isEmergencyNumber (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java625 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/
DPhoneNumberUtils.java1645 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/
DImsPhoneCallTracker.java771 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/
DGpsNetInitiatedHandler.java158 setInEmergency(PhoneNumberUtils.isEmergencyNumber(phoneNumber));
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java404 public boolean isEmergencyNumber() { in isEmergencyNumber() method in CallerInfo
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java395 if (PhoneNumberUtils.isEmergencyNumber(destAddress, countryIso)) { in checkDestination()
DGsmCdmaPhone.java1062 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in dial()
1164 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in isNotificationOfWfcCallRequired()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28400 method public static boolean isEmergencyNumber(java.lang.String);
/frameworks/base/api/
Dcurrent.txt39684 method public static boolean isEmergencyNumber(java.lang.String);
Dsystem-current.txt43114 method public static boolean isEmergencyNumber(java.lang.String);