Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java642 assertTrue(PhoneNumberUtils.isEmergencyNumber("911", "US")); in testIsEmergencyNumber()
643 assertTrue(PhoneNumberUtils.isEmergencyNumber("112", "US")); in testIsEmergencyNumber()
647 assertFalse(PhoneNumberUtils.isEmergencyNumber("91112345", "US")); in testIsEmergencyNumber()
648 assertFalse(PhoneNumberUtils.isEmergencyNumber("11212345", "US")); in testIsEmergencyNumber()
651 assertFalse(PhoneNumberUtils.isEmergencyNumber("91121234", "SG")); in testIsEmergencyNumber()
654 assertFalse(PhoneNumberUtils.isEmergencyNumber("1121234567", "BR")); in testIsEmergencyNumber()
657 assertFalse(PhoneNumberUtils.isEmergencyNumber("91112345", "BR")); in testIsEmergencyNumber()
DGsmCdmaPhoneTest.java352 doReturn(true).when(mTelephonyManager).isEmergencyNumber(emergencyNumber); in testEmergencySmsMode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java473 public boolean isEmergencyNumber(String number, boolean exactMatch) { in isEmergencyNumber() method in EmergencyNumberTracker
750 if (info.isEmergencyNumber(number, mCountryIso.toUpperCase())) { in isEmergencyNumberFromEccList()
754 if (info.isEmergencyNumber(prefix + number, mCountryIso.toUpperCase())) { in isEmergencyNumberFromEccList()
790 if (!isEmergencyNumber(num.getNumber(), true)) { in updateEmergencyNumberListTestModeAndNotify()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1743 public static boolean isEmergencyNumber(String number) { in isEmergencyNumber() method in PhoneNumberUtils
1744 return isEmergencyNumber(getDefaultVoiceSubId(), number); in isEmergencyNumber()
1763 public static boolean isEmergencyNumber(int subId, String number) { in isEmergencyNumber() method in PhoneNumberUtils
1892 public static boolean isEmergencyNumber(String number, String defaultCountryIso) { in isEmergencyNumber() method in PhoneNumberUtils
1893 return isEmergencyNumber(getDefaultVoiceSubId(), number, defaultCountryIso); in isEmergencyNumber()
1911 public static boolean isEmergencyNumber(int subId, String number, String defaultCountryIso) { in isEmergencyNumber() method in PhoneNumberUtils
2021 return TelephonyManager.getDefault().isEmergencyNumber(number); in isEmergencyNumberInternal()
3205 if (isEmergencyNumber(normalizedNumber)) { in convertToEmergencyNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java142 boolean isEmergencyNumber(String number); in isEmergencyNumber() method
526 return PhoneNumberUtils.isEmergencyNumber(string);
761 boolean isEmergencyNumber = mPhoneNumberUtilsProxy.isEmergencyNumber(dialString); in dial()
763 if (!shouldNumberBePlacedOnIms(isEmergencyNumber, dialString)) { in dial()
772 if (isEmergencyNumber) { in dial()
788 if (isPhoneInEcmMode && isEmergencyNumber) { in dial()
794 if (isEmergencyNumber && VideoProfile.isVideo(videoState) && in dial()
844 isEmergencyNumber); in dial()
845 if (isEmergencyNumber && dialArgs != null && dialArgs.intentExtras != null) { in dial()
860 if ((!isPhoneInEcmMode) || (isPhoneInEcmMode && isEmergencyNumber)) { in dial()
[all …]
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java156 mIsInEmergencyCall = PhoneNumberUtils.isEmergencyNumber(phoneNumber);
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java429 public boolean isEmergencyNumber() { in isEmergencyNumber() method in CallerInfo
DITelephony.aidl1869 boolean isEmergencyNumber(String number, boolean exactMatch); in isEmergencyNumber() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java387 if (PhoneNumberUtils.isEmergencyNumber(destAddress, countryIso)) { in checkDestination()
DGsmCdmaPhone.java1174 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in dial()
1304 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in isNotificationOfWfcCallRequired()
DPhone.java926 if (m != null && m.isEmergencyNumber(destinationAddress)) { in notifySmsSent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...