/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTest.java | 19 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 …]
|
D | EmergencyNumberTrackerTest.java | 25 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/ |
D | EmergencyNumberTracker.java | 34 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/ |
D | PhoneStateListenerTest.java | 25 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 …]
|
D | TelephonyTest.java | 65 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()
|
D | SimulatedCommandsVerifier.java | 29 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()
|
D | SimulatedCommands.java | 53 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/ |
D | EmergencyNumber.java | 44 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 …]
|
D | EmergencyNumber.aidl | 19 parcelable EmergencyNumber;
|
/frameworks/base/core/java/com/android/internal/telephony/ |
D | IPhoneStateListener.aidl | 30 import android.telephony.emergency.EmergencyNumber; 64 void onOutgoingEmergencyCall(in EmergencyNumber placedEmergencyNumber); in onOutgoingEmergencyCall() 65 void onOutgoingEmergencySms(in EmergencyNumber sentEmergencyNumber); in onOutgoingEmergencySms()
|
D | ITelephonyRegistry.aidl | 33 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/ |
D | PhoneNotifier.java | 31 import android.telephony.emergency.EmergencyNumber; 102 void notifyOutgoingEmergencyCall(Phone sender, EmergencyNumber emergencyNumber); in notifyOutgoingEmergencyCall() 105 void notifyOutgoingEmergencySms(Phone sender, EmergencyNumber emergencyNumber); in notifyOutgoingEmergencySms()
|
D | DefaultPhoneNotifier.java | 38 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()
|
D | Connection.java | 26 import android.telephony.emergency.EmergencyNumber; 262 private EmergencyNumber mEmergencyNumberInfo; 524 public EmergencyNumber getEmergencyNumberInfo() { in getEmergencyNumberInfo() 553 EmergencyNumber num = tracker.getEmergencyNumber(mAddress); in setEmergencyCallInfo()
|
D | BaseCommands.java | 29 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()
|
D | RadioIndication.java | 103 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()
|
D | CommandsInterface.java | 34 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()
|
D | IccSmsInterfaceManager.java | 47 import android.telephony.emergency.EmergencyNumber; 1481 EmergencyNumber emergencyNumber = mPhone.getEmergencyNumberTracker().getEmergencyNumber( in notifyIfOutgoingEmergencySms()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsCallProfile.java | 28 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/ |
D | PhoneStateListener.java | 35 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/ |
D | TelephonyMetricsTest.java | 47 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/ |
D | ImsPhoneCommandInterface.java | 28 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/ |
D | SipCommandInterface.java | 28 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/ |
D | TelephonyRegistry.java | 80 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/ |
D | ITelephony.aidl | 50 import android.telephony.emergency.EmergencyNumber; 2131 void updateEmergencyNumberListTestMode(int action, in EmergencyNumber num); in updateEmergencyNumberListTestMode()
|