OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isEmergencyNumber
(Results
1 - 16
of
16
) sorted by null
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
CallerInfoTest.java
65
assertFalse(mInfo.
isEmergencyNumber
());
76
assertFalse(mInfo.
isEmergencyNumber
());
96
assertFalse(mInfo.
isEmergencyNumber
());
212
assertTrue(mInfo.
isEmergencyNumber
());
PhoneNumberUtilsTest.java
553
assertTrue(PhoneNumberUtils.
isEmergencyNumber
("911", "US"));
554
assertTrue(PhoneNumberUtils.
isEmergencyNumber
("112", "US"));
558
assertTrue(PhoneNumberUtils.
isEmergencyNumber
("91112345", "US"));
559
assertTrue(PhoneNumberUtils.
isEmergencyNumber
("11212345", "US"));
562
assertFalse(PhoneNumberUtils.
isEmergencyNumber
("91121234", "SG"));
565
assertFalse(PhoneNumberUtils.
isEmergencyNumber
("1121234567", "BR"));
568
assertFalse(PhoneNumberUtils.
isEmergencyNumber
("91112345", "BR"));
/packages/apps/Phone/src/com/android/phone/
CallController.java
370
boolean
isEmergencyNumber
= PhoneNumberUtils.isLocalEmergencyNumber(number, mApp);
373
if (
isEmergencyNumber
&& !isEmergencyIntent) {
378
} else if (!
isEmergencyNumber
&& isEmergencyIntent) {
393
if (
isEmergencyNumber
404
if (
isEmergencyNumber
&& (okToCallStatus == CallStatusCode.POWER_OFF)) {
452
(
isEmergencyNumber
|| isEmergencyIntent),
500
if (PhoneUtils.isPhoneInEcm(phone) && !
isEmergencyNumber
) {
[
all
...]
CallNotifier.java
[
all
...]
PhoneUtils.java
[
all
...]
/cts/tests/tests/telephony/src/android/telephony/cts/
PhoneNumberUtilsTest.java
368
method = "
isEmergencyNumber
",
443
// Test
isEmergencyNumber
, now only know US emergency number
446
// Test
isEmergencyNumber
, now only know US emergency number
448
assertTrue(PhoneNumberUtils.
isEmergencyNumber
("911"));
449
assertFalse(PhoneNumberUtils.
isEmergencyNumber
("119"));
/frameworks/base/telephony/java/android/telephony/
PhoneNumberUtils.java
[
all
...]
/frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfo.java
339
public boolean
isEmergencyNumber
() {
/prebuilt/sdk/11/
android.jar
/prebuilt/sdk/12/
android.jar
/prebuilt/sdk/14/
android.jar
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/9/
android.jar
Completed in 428 milliseconds