OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isEmergencyNumber
(Results
1 - 19
of
19
) sorted by null
/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
...]
/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
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
...]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
ShortNumberUtil.java
67
public boolean
isEmergencyNumber
(String number, String regionCode) {
/packages/apps/Phone/src/com/android/phone/
CallController.java
390
boolean
isEmergencyNumber
= PhoneNumberUtils.isLocalEmergencyNumber(number, mApp);
415
if (
isEmergencyNumber
426
if (
isEmergencyNumber
&& (okToCallStatus == CallStatusCode.POWER_OFF)) {
474
(
isEmergencyNumber
|| isEmergencyIntent),
531
if (PhoneUtils.isPhoneInEcm(phone) && !
isEmergencyNumber
) {
[
all
...]
CallNotifier.java
[
all
...]
PhoneUtils.java
[
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
363
public boolean
isEmergencyNumber
() {
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/9/
android.jar
Completed in 551 milliseconds