HomeSort by relevance Sort by last modified time
    Searched refs:isEmergencyNumber (Results 1 - 25 of 27) sorted by null

1 2

  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/
ShortNumberUtilTest.java 85 assertTrue(shortUtil.isEmergencyNumber("911", RegionCode.US));
86 assertTrue(shortUtil.isEmergencyNumber("119", RegionCode.US));
87 assertFalse(shortUtil.isEmergencyNumber("999", RegionCode.US));
91 assertFalse(shortUtil.isEmergencyNumber("9116666666", RegionCode.US));
92 assertFalse(shortUtil.isEmergencyNumber("1196666666", RegionCode.US));
93 assertFalse(shortUtil.isEmergencyNumber("9996666666", RegionCode.US));
97 assertTrue(shortUtil.isEmergencyNumber("9-1-1", RegionCode.US));
98 assertTrue(shortUtil.isEmergencyNumber("*911", RegionCode.US));
99 assertTrue(shortUtil.isEmergencyNumber("1-1-9", RegionCode.US));
100 assertTrue(shortUtil.isEmergencyNumber("*119", RegionCode.US))
    [all...]
ExampleNumbersTest.java 188 !shortUtil.isEmergencyNumber(exampleNumber, regionCode)) {
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
ShortNumberUtil.java 67 public boolean isEmergencyNumber(String number, String regionCode) {
  /packages/services/Telephony/src/com/android/phone/
CallController.java 354 boolean isEmergencyNumber = PhoneNumberUtils.isLocalEmergencyNumber(number, mApp);
379 if (isEmergencyNumber
390 if (isEmergencyNumber && (okToCallStatus == CallStatusCode.POWER_OFF)) {
445 (isEmergencyNumber || isEmergencyIntent),
470 if (PhoneUtils.isPhoneInEcm(phone) && !isEmergencyNumber) {
CallLogger.java 111 final boolean isEmergencyNumber = PhoneNumberUtils.isLocalEmergencyNumber(number,
123 boolean isOkToLogThisCall = !isEmergencyNumber || okToLogEmergencyNumber;
183 callerInfo.isEmergencyNumber() || callerInfo.isVoiceMailNumber()) {
CallNotifier.java     [all...]
PhoneUtils.java     [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
PhoneNumberUtilsTest.java 577 // regular isEmergencyNumber() method, and the other for
580 // (The difference is that isEmergencyNumber() will return true
586 // Tests for isEmergencyNumber():
587 assertTrue(PhoneNumberUtils.isEmergencyNumber("911", "US"));
588 assertTrue(PhoneNumberUtils.isEmergencyNumber("112", "US"));
592 assertFalse(PhoneNumberUtils.isEmergencyNumber("91112345", "US"));
593 assertFalse(PhoneNumberUtils.isEmergencyNumber("11212345", "US"));
596 assertFalse(PhoneNumberUtils.isEmergencyNumber("91121234", "SG"));
599 assertFalse(PhoneNumberUtils.isEmergencyNumber("1121234567", "BR"));
602 assertFalse(PhoneNumberUtils.isEmergencyNumber("91112345", "BR"))
    [all...]
  /cts/tests/tests/telephony/src/android/telephony/cts/
PhoneNumberUtilsTest.java 287 // Test isEmergencyNumber, now only know US emergency number
290 // Test isEmergencyNumber, now only know US emergency number
292 assertTrue(PhoneNumberUtils.isEmergencyNumber("911"));
293 assertFalse(PhoneNumberUtils.isEmergencyNumber("119"));
  /frameworks/base/telephony/java/android/telephony/
PhoneNumberUtils.java     [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfo.java 361 public boolean isEmergencyNumber() {
  /packages/apps/InCallUI/src/com/android/incallui/
CallerInfo.java 359 public boolean isEmergencyNumber() {
ContactInfoCache.java 160 if (callerInfo.contactExists || callerInfo.isEmergencyNumber() || callerInfo.isVoiceMailNumber()) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsUsageMonitor.java 394 if (PhoneNumberUtils.isEmergencyNumber(destAddress, countryIso)) {
395 if (DBG) Rlog.d(TAG, "isEmergencyNumber");
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 

Completed in 203 milliseconds

1 2