Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java575 assertTrue(PhoneNumberUtils.isEmergencyNumber("911", "US")); in testIsEmergencyNumber()
576 assertTrue(PhoneNumberUtils.isEmergencyNumber("112", "US")); in testIsEmergencyNumber()
580 assertFalse(PhoneNumberUtils.isEmergencyNumber("91112345", "US")); in testIsEmergencyNumber()
581 assertFalse(PhoneNumberUtils.isEmergencyNumber("11212345", "US")); in testIsEmergencyNumber()
584 assertFalse(PhoneNumberUtils.isEmergencyNumber("91121234", "SG")); in testIsEmergencyNumber()
587 assertFalse(PhoneNumberUtils.isEmergencyNumber("1121234567", "BR")); in testIsEmergencyNumber()
590 assertFalse(PhoneNumberUtils.isEmergencyNumber("91112345", "BR")); in testIsEmergencyNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java338 boolean isEmergencyNumber = PhoneNumberUtils.isEmergencyNumber(dialString); in dial()
353 if (isPhoneInEcmMode && isEmergencyNumber) { in dial()
359 if (isEmergencyNumber && VideoProfile.isVideo(videoState) && in dial()
406 isEmergencyNumber); in dial()
412 if ((!isPhoneInEcmMode) || (isPhoneInEcmMode && isEmergencyNumber)) { in dial()
487 int serviceType = PhoneNumberUtils.isEmergencyNumber(conn.getAddress()) ? in dialInternal()
1190 boolean isEmergencyNumber = mPendingMO.isEmergency(); in dialPendingMO()
1191 if ((!isPhoneInEcmMode) || (isPhoneInEcmMode && isEmergencyNumber)) { in dialPendingMO()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1601 public static boolean isEmergencyNumber(String number) { in isEmergencyNumber() method in PhoneNumberUtils
1602 return isEmergencyNumber(getDefaultVoiceSubId(), number); in isEmergencyNumber()
1615 public static boolean isEmergencyNumber(int subId, String number) { in isEmergencyNumber() method in PhoneNumberUtils
1729 public static boolean isEmergencyNumber(String number, String defaultCountryIso) { in isEmergencyNumber() method in PhoneNumberUtils
1730 return isEmergencyNumber(getDefaultVoiceSubId(), number, defaultCountryIso); in isEmergencyNumber()
1743 public static boolean isEmergencyNumber(int subId, String number, String defaultCountryIso) { in isEmergencyNumber() method in PhoneNumberUtils
1921 return util.isEmergencyNumber(number, defaultCountryIso); in isEmergencyNumberInternal()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java160 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(dialString); in dial()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28400 method public static boolean isEmergencyNumber(java.lang.String);
/frameworks/base/api/
Dcurrent.txt36943 method public static boolean isEmergencyNumber(java.lang.String);
Dtest-current.txt37020 method public static boolean isEmergencyNumber(java.lang.String);
Dsystem-current.txt39878 method public static boolean isEmergencyNumber(java.lang.String);