Home
last modified time | relevance | path

Searched refs:EmergencyNumber (Results 1 – 25 of 38) 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.java25 import android.telephony.emergency.EmergencyNumber;
61 private List<EmergencyNumber> mEmergencyNumberListTestSample = new ArrayList<>();
62 private EmergencyNumber mUsEmergencyNumber;
94 EmergencyNumber emergencyNumberForTest = new EmergencyNumber("119", "jp", "30", in initializeEmergencyNumberListTestSamples()
95 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_FIRE_BRIGADE, in initializeEmergencyNumberListTestSamples()
97 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in initializeEmergencyNumberListTestSamples()
98 EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN); in initializeEmergencyNumberListTestSamples()
99 mUsEmergencyNumber = new EmergencyNumber("911", "us", "", in initializeEmergencyNumberListTestSamples()
100 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_POLICE in initializeEmergencyNumberListTestSamples()
101 | EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_AMBULANCE in initializeEmergencyNumberListTestSamples()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java34 import android.telephony.emergency.EmergencyNumber;
35 import android.telephony.emergency.EmergencyNumber.EmergencyCallRouting;
36 import android.telephony.emergency.EmergencyNumber.EmergencyServiceCategories;
108 private List<EmergencyNumber> mEmergencyNumberListFromDatabase = new ArrayList<>();
109 private List<EmergencyNumber> mEmergencyNumberListFromRadio = new ArrayList<>();
110 private List<EmergencyNumber> mEmergencyNumberListWithPrefix = new ArrayList<>();
111 private List<EmergencyNumber> mEmergencyNumberListFromTestMode = new ArrayList<>();
112 private List<EmergencyNumber> mEmergencyNumberList = new ArrayList<>();
217 updateRadioEmergencyNumberListAndNotify((List<EmergencyNumber>) ar.result); in handleMessage()
237 msg.arg1, (EmergencyNumber) msg.obj); in handleMessage()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneStateListenerTest.java25 import android.telephony.emergency.EmergencyNumber;
44 private EmergencyNumber mCalledEmergencyNumber;
45 private EmergencyNumber mTextedEmergencyNumber;
64 public void onOutgoingEmergencyCall(EmergencyNumber emergencyNumber) { in setUp()
69 public void onOutgoingEmergencySms(EmergencyNumber emergencyNumber) { in setUp()
118 EmergencyNumber emergencyNumber = new EmergencyNumber( in testTriggerOutgoingCallEmergencyNumberChanged()
122 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in testTriggerOutgoingCallEmergencyNumberChanged()
124 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testTriggerOutgoingCallEmergencyNumberChanged()
125 EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL); in testTriggerOutgoingCallEmergencyNumberChanged()
141 EmergencyNumber emergencyNumber = new EmergencyNumber( in testTriggerOutgoingSmsEmergencyNumberChanged()
[all …]
DTelephonyTest.java65 import android.telephony.emergency.EmergencyNumber;
125 private static final EmergencyNumber SAMPLE_EMERGENCY_NUMBER =
126 new EmergencyNumber("911", "us", "30",
127 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED,
128 new ArrayList<String>(), EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING,
129 EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL);
834 protected final EmergencyNumber getTestEmergencyNumber() { in getTestEmergencyNumber()
DSimulatedCommandsVerifier.java29 import android.telephony.emergency.EmergencyNumber;
686 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
691 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
DSimulatedCommands.java53 import android.telephony.emergency.EmergencyNumber;
589 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
610 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
/frameworks/base/telephony/java/android/telephony/emergency/
DEmergencyNumber.java44 public final class EmergencyNumber implements Parcelable, Comparable<EmergencyNumber> { class
252 public EmergencyNumber(@NonNull String number, @NonNull String countryIso, @NonNull String mnc, in EmergencyNumber() method in EmergencyNumber
267 public EmergencyNumber(Parcel source) { in EmergencyNumber() method in EmergencyNumber
289 public static final @android.annotation.NonNull Parcelable.Creator<EmergencyNumber> CREATOR =
290 new Parcelable.Creator<EmergencyNumber>() {
292 public EmergencyNumber createFromParcel(Parcel in) {
293 return new EmergencyNumber(in);
297 public EmergencyNumber[] newArray(int size) {
298 return new EmergencyNumber[size];
499 if (!EmergencyNumber.class.isInstance(o)) { in equals()
[all …]
DEmergencyNumber.aidl19 parcelable EmergencyNumber;
/frameworks/base/core/java/com/android/internal/telephony/
DIPhoneStateListener.aidl30 import android.telephony.emergency.EmergencyNumber;
64 void onOutgoingEmergencyCall(in EmergencyNumber placedEmergencyNumber); in onOutgoingEmergencyCall()
65 void onOutgoingEmergencySms(in EmergencyNumber sentEmergencyNumber); in onOutgoingEmergencySms()
DITelephonyRegistry.aidl33 import android.telephony.emergency.EmergencyNumber;
98 in EmergencyNumber emergencyNumber); in notifyOutgoingEmergencyCall()
100 in EmergencyNumber emergencyNumber); in notifyOutgoingEmergencySms()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneNotifier.java31 import android.telephony.emergency.EmergencyNumber;
102 void notifyOutgoingEmergencyCall(Phone sender, EmergencyNumber emergencyNumber); in notifyOutgoingEmergencyCall()
105 void notifyOutgoingEmergencySms(Phone sender, EmergencyNumber emergencyNumber); in notifyOutgoingEmergencySms()
DDefaultPhoneNotifier.java38 import android.telephony.emergency.EmergencyNumber;
233 public void notifyOutgoingEmergencyCall(Phone sender, EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencyCall()
245 public void notifyOutgoingEmergencySms(Phone sender, EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencySms()
DConnection.java26 import android.telephony.emergency.EmergencyNumber;
262 private EmergencyNumber mEmergencyNumberInfo;
524 public EmergencyNumber getEmergencyNumberInfo() { in getEmergencyNumberInfo()
553 EmergencyNumber num = tracker.getEmergencyNumber(mAddress); in setEmergencyCallInfo()
DBaseCommands.java29 import android.telephony.emergency.EmergencyNumber;
154 private final List<EmergencyNumber> mLastEmergencyNumberListIndication = new ArrayList<>();
817 List<EmergencyNumber> lastEmergencyNumberListIndication = in registerForEmergencyNumberList()
881 List<EmergencyNumber> emergencyNumberListIndication) { in cacheEmergencyNumberListIndication()
888 private List<EmergencyNumber> getLastEmergencyNumberListIndication() { in getLastEmergencyNumberListIndication()
DRadioIndication.java103 import android.telephony.emergency.EmergencyNumber;
321 ArrayList<android.hardware.radio.V1_4.EmergencyNumber> emergencyNumberList) { in currentEmergencyNumberList()
322 List<EmergencyNumber> response = new ArrayList<>(emergencyNumberList.size()); in currentEmergencyNumberList()
324 for (android.hardware.radio.V1_4.EmergencyNumber emergencyNumberHal in currentEmergencyNumberList()
326 EmergencyNumber emergencyNumber = new EmergencyNumber(emergencyNumberHal.number, in currentEmergencyNumberList()
329 emergencyNumberHal.sources, EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN); in currentEmergencyNumberList()
DCommandsInterface.java34 import android.telephony.emergency.EmergencyNumber;
902 void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
916 void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
DIccSmsInterfaceManager.java47 import android.telephony.emergency.EmergencyNumber;
1481 EmergencyNumber emergencyNumber = mPhone.getEmergencyNumberTracker().getEmergencyNumber( in notifyIfOutgoingEmergencySms()
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallProfile.java28 import android.telephony.emergency.EmergencyNumber;
29 import android.telephony.emergency.EmergencyNumber.EmergencyCallRouting;
30 import android.telephony.emergency.EmergencyNumber.EmergencyServiceCategories;
401 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED;
424 EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN;
920 public void setEmergencyCallInfo(EmergencyNumber num, boolean hasKnownUserIntentEmergency) { in setEmergencyCallInfo()
925 == EmergencyNumber.EMERGENCY_NUMBER_SOURCE_TEST); in setEmergencyCallInfo()
/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java35 import android.telephony.emergency.EmergencyNumber;
926 @NonNull Map<Integer, List<EmergencyNumber>> emergencyNumberList) { in onEmergencyNumberListChanged()
939 public void onOutgoingEmergencyCall(@NonNull EmergencyNumber placedEmergencyNumber) { in onOutgoingEmergencyCall()
951 public void onOutgoingEmergencySms(@NonNull EmergencyNumber sentEmergencyNumber) { in onOutgoingEmergencySms()
1321 public void onOutgoingEmergencyCall(@NonNull EmergencyNumber placedEmergencyNumber) { in onOutgoingEmergencyCall()
1330 public void onOutgoingEmergencySms(@NonNull EmergencyNumber sentEmergencyNumber) { in onOutgoingEmergencySms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java47 import android.telephony.emergency.EmergencyNumber;
278 EmergencyNumber number = new EmergencyNumber( in testWriteEmergencyNumberUpdateEvent()
282 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in testWriteEmergencyNumberUpdateEvent()
284 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testWriteEmergencyNumberUpdateEvent()
285 EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL); in testWriteEmergencyNumberUpdateEvent()
299 assertEquals(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in testWriteEmergencyNumberUpdateEvent()
302 assertEquals(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testWriteEmergencyNumberUpdateEvent()
304 assertEquals(EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL, in testWriteEmergencyNumberUpdateEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java28 import android.telephony.emergency.EmergencyNumber;
113 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
118 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java28 import android.telephony.emergency.EmergencyNumber;
112 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
117 public void dial(String address, boolean isEmergencyCall, EmergencyNumber emergencyNumberInfo, in dial()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java80 import android.telephony.emergency.EmergencyNumber;
261 private Map<Integer, List<EmergencyNumber>> mEmergencyNumberList;
263 private EmergencyNumber[] mOutgoingSmsEmergencyNumber;
265 private EmergencyNumber[] mOutgoingCallEmergencyNumber;
579 mOutgoingCallEmergencyNumber = new EmergencyNumber[numPhones]; in TelephonyRegistry()
580 mOutgoingSmsEmergencyNumber = new EmergencyNumber[numPhones]; in TelephonyRegistry()
2177 EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencyCall()
2202 EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencySms()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl50 import android.telephony.emergency.EmergencyNumber;
2131 void updateEmergencyNumberListTestMode(int action, in EmergencyNumber num); in updateEmergencyNumberListTestMode()

12