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
554
// regular
isEmergencyNumber
() method, and the other for
557
// (The difference is that
isEmergencyNumber
() will return true
563
// Tests for
isEmergencyNumber
():
564
assertTrue(PhoneNumberUtils.
isEmergencyNumber
("911", "US"));
565
assertTrue(PhoneNumberUtils.
isEmergencyNumber
("112", "US"));
569
assertFalse(PhoneNumberUtils.
isEmergencyNumber
("91112345", "US"));
570
assertFalse(PhoneNumberUtils.
isEmergencyNumber
("11212345", "US"));
573
assertFalse(PhoneNumberUtils.
isEmergencyNumber
("91121234", "SG"));
576
assertFalse(PhoneNumberUtils.
isEmergencyNumber
("1121234567", "BR"));
579
assertFalse(PhoneNumberUtils.
isEmergencyNumber
("91112345", "BR"))
[
all
...]
/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),
523
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/com/android/internal/telephony/
CallerInfo.java
339
public boolean
isEmergencyNumber
() {
/frameworks/base/telephony/java/android/telephony/
PhoneNumberUtils.java
[
all
...]
/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 648 milliseconds