Home
last modified time | relevance | path

Searched refs:EmergencyNumber (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTest.java19 import android.telephony.emergency.EmergencyNumber;
29 EmergencyNumber number = new EmergencyNumber( in testEmergencyNumberUnspecified()
33 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in testEmergencyNumberUnspecified()
35 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testEmergencyNumberUnspecified()
36 EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL); in testEmergencyNumberUnspecified()
41 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED)); in testEmergencyNumberUnspecified()
43 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_POLICE)); in testEmergencyNumberUnspecified()
45 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_AMBULANCE)); in testEmergencyNumberUnspecified()
47 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_FIRE_BRIGADE)); in testEmergencyNumberUnspecified()
49 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_MARINE_GUARD)); in testEmergencyNumberUnspecified()
[all …]
DEmergencyNumberTrackerTest.java24 import android.telephony.emergency.EmergencyNumber;
42 private List<EmergencyNumber> mEmergencyNumberListTestSample = new ArrayList<>();
80 EmergencyNumber emergencyNumberForTest = new EmergencyNumber("119", "jp", "30", in initializeEmergencyNumberListTestSamples()
81 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_FIRE_BRIGADE, in initializeEmergencyNumberListTestSamples()
83 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in initializeEmergencyNumberListTestSamples()
84 EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN); in initializeEmergencyNumberListTestSamples()
114 List<EmergencyNumber> resultToVerify = mEmergencyNumberListTestSample; in testEmergencyNumberListPrefix()
115 resultToVerify.add(new EmergencyNumber("123119", "jp", "30", in testEmergencyNumberListPrefix()
116 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_FIRE_BRIGADE, in testEmergencyNumberListPrefix()
118 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testEmergencyNumberListPrefix()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java32 import android.telephony.emergency.EmergencyNumber;
33 import android.telephony.emergency.EmergencyNumber.EmergencyCallRouting;
34 import android.telephony.emergency.EmergencyNumber.EmergencyServiceCategories;
87 private List<EmergencyNumber> mEmergencyNumberListFromDatabase = new ArrayList<>();
88 private List<EmergencyNumber> mEmergencyNumberListFromRadio = new ArrayList<>();
89 private List<EmergencyNumber> mEmergencyNumberListWithPrefix = new ArrayList<>();
90 private List<EmergencyNumber> mEmergencyNumberListFromTestMode = new ArrayList<>();
91 private List<EmergencyNumber> mEmergencyNumberList = new ArrayList<>();
187 updateRadioEmergencyNumberListAndNotify((List<EmergencyNumber>) ar.result); in handleMessage()
207 msg.arg1, (EmergencyNumber) msg.obj); in handleMessage()
[all …]
/frameworks/base/telephony/java/android/telephony/emergency/
DEmergencyNumber.java41 public final class EmergencyNumber implements Parcelable, Comparable<EmergencyNumber> { class
248 public EmergencyNumber(@NonNull String number, @NonNull String countryIso, @NonNull String mnc, in EmergencyNumber() method in EmergencyNumber
263 public EmergencyNumber(Parcel source) { in EmergencyNumber() method in EmergencyNumber
285 public static final @android.annotation.NonNull Parcelable.Creator<EmergencyNumber> CREATOR =
286 new Parcelable.Creator<EmergencyNumber>() {
288 public EmergencyNumber createFromParcel(Parcel in) {
289 return new EmergencyNumber(in);
293 public EmergencyNumber[] newArray(int size) {
294 return new EmergencyNumber[size];
492 if (!EmergencyNumber.class.isInstance(o)) { in equals()
[all …]
DEmergencyNumber.aidl19 parcelable EmergencyNumber;
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallProfile.java27 import android.telephony.emergency.EmergencyNumber;
28 import android.telephony.emergency.EmergencyNumber.EmergencyCallRouting;
29 import android.telephony.emergency.EmergencyNumber.EmergencyServiceCategories;
331 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED;
354 EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN;
804 public void setEmergencyCallInfo(EmergencyNumber num, boolean hasKnownUserIntentEmergency) { in setEmergencyCallInfo()
809 == EmergencyNumber.EMERGENCY_NUMBER_SOURCE_TEST); in setEmergencyCallInfo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java44 import android.telephony.emergency.EmergencyNumber;
274 EmergencyNumber number = new EmergencyNumber( in testWriteEmergencyNumberUpdateEvent()
278 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in testWriteEmergencyNumberUpdateEvent()
280 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testWriteEmergencyNumberUpdateEvent()
281 EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL); in testWriteEmergencyNumberUpdateEvent()
294 assertEquals(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in testWriteEmergencyNumberUpdateEvent()
297 assertEquals(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testWriteEmergencyNumberUpdateEvent()
299 assertEquals(EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL, in testWriteEmergencyNumberUpdateEvent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java56 import android.telephony.emergency.EmergencyNumber;
111 private static final EmergencyNumber SAMPLE_EMERGENCY_NUMBER =
112 new EmergencyNumber("911", "us", "30",
113 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED,
114 new ArrayList<String>(), EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING,
115 EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL);
723 protected final EmergencyNumber getTestEmergencyNumber() { in getTestEmergencyNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java27 import android.telephony.emergency.EmergencyNumber;
247 private EmergencyNumber mEmergencyNumberInfo;
486 public EmergencyNumber getEmergencyNumberInfo() { in getEmergencyNumberInfo()
515 EmergencyNumber num = tracker.getEmergencyNumber(mAddress); in setEmergencyCallInfo()
DRadioIndication.java98 import android.telephony.emergency.EmergencyNumber;
312 ArrayList<android.hardware.radio.V1_4.EmergencyNumber> emergencyNumberList) { in currentEmergencyNumberList()
313 List<EmergencyNumber> response = new ArrayList<>(emergencyNumberList.size()); in currentEmergencyNumberList()
315 for (android.hardware.radio.V1_4.EmergencyNumber emergencyNumberHal in currentEmergencyNumberList()
317 EmergencyNumber emergencyNumber = new EmergencyNumber(emergencyNumberHal.number, in currentEmergencyNumberList()
320 emergencyNumberHal.sources, EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN); in currentEmergencyNumberList()
DCommandsInterface.java30 import android.telephony.emergency.EmergencyNumber;
862 void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
876 void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
DRIL.java94 import android.telephony.emergency.EmergencyNumber;
898 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
968 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
1006 private void emergencyDial(String address, EmergencyNumber emergencyNumberInfo, in emergencyDial()
1041 == EmergencyNumber.EMERGENCY_NUMBER_SOURCE_TEST); in emergencyDial()
DPhone.java64 import android.telephony.emergency.EmergencyNumber;
/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneStateListener.aidl29 import android.telephony.emergency.EmergencyNumber;
DITelephonyRegistry.aidl30 import android.telephony.emergency.EmergencyNumber;
DITelephony.aidl46 import android.telephony.emergency.EmergencyNumber;
1927 void updateEmergencyNumberListTestMode(int action, in EmergencyNumber num); in updateEmergencyNumberListTestMode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java27 import android.telephony.emergency.EmergencyNumber;
105 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
110 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java27 import android.telephony.emergency.EmergencyNumber;
106 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
111 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
DImsPhoneCallTracker.java60 import android.telephony.emergency.EmergencyNumber;
1193 EmergencyNumber num = conn.getEmergencyNumberInfo(); in setEmergencyCallInfo()
/frameworks/base/telephony/java/android/telephony/
DPhoneStateListener.java30 import android.telephony.emergency.EmergencyNumber;
842 @NonNull Map<Integer, List<EmergencyNumber>> emergencyNumberList) { in onEmergencyNumberListChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommandsVerifier.java27 import android.telephony.emergency.EmergencyNumber;
676 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
681 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
DSimulatedCommands.java51 import android.telephony.emergency.EmergencyNumber;
565 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
586 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java56 import android.telephony.emergency.EmergencyNumber;
1469 private EmergencyNumberInfo convertEmergencyNumberToEmergencyNumberInfo(EmergencyNumber num) { in convertEmergencyNumberToEmergencyNumberInfo()
2087 EmergencyNumber emergencyNumber, String countryIso) { in writeOnImsCallTerminated()
2499 public void writeEmergencyNumberUpdateEvent(int phoneId, EmergencyNumber emergencyNumber) { in writeEmergencyNumberUpdateEvent()
/frameworks/base/config/
Ddirty-image-objects178 android.telephony.emergency.EmergencyNumber
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java55 import android.telephony.emergency.EmergencyNumber;
210 private Map<Integer, List<EmergencyNumber>> mEmergencyNumberList;

12