/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 | 46 import android.telephony.emergency.EmergencyNumber; 95 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_POLICE 96 | EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_AMBULANCE 97 | EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_FIRE_BRIGADE 98 | EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_MARINE_GUARD 99 | EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_MOUNTAIN_RESCUE 100 | EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_MIEC 101 | EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_AIEC; 104 private static final EmergencyNumber CONFIG_EMERGENCY_NUMBER = new EmergencyNumber( 108 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_DATABASE, [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | EmergencyNumberStats.java | 36 import android.telephony.emergency.EmergencyNumber; 62 put(EmergencyNumber.EMERGENCY_CALL_ROUTING_EMERGENCY, 64 put(EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL, 66 put(EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN, 73 put(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, 75 put(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_POLICE, 77 put(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_AMBULANCE, 79 put(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_FIRE_BRIGADE, 81 put(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_MARINE_GUARD, 83 put(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_MOUNTAIN_RESCUE, [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTracker.java | 38 import android.telephony.emergency.EmergencyNumber; 39 import android.telephony.emergency.EmergencyNumber.EmergencyCallRouting; 40 import android.telephony.emergency.EmergencyNumber.EmergencyServiceCategories; 131 private List<EmergencyNumber> mEmergencyNumberListFromDatabase = new ArrayList<>(); 132 private List<EmergencyNumber> mEmergencyNumberListFromRadio = new ArrayList<>(); 133 private List<EmergencyNumber> mEmergencyNumberListWithPrefix = new ArrayList<>(); 134 private List<EmergencyNumber> mEmergencyNumberListFromTestMode = new ArrayList<>(); 135 private List<EmergencyNumber> mEmergencyNumberList = new ArrayList<>(); 246 updateRadioEmergencyNumberListAndNotify((List<EmergencyNumber>) ar.result); in handleMessage() 266 msg.arg1, (EmergencyNumber) msg.obj); in handleMessage() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneStateListenerTest.java | 26 import android.telephony.emergency.EmergencyNumber; 46 private EmergencyNumber mCalledEmergencyNumber; 47 private EmergencyNumber mTextedEmergencyNumber; 66 public void onOutgoingEmergencyCall(EmergencyNumber emergencyNumber, in setUp() 72 public void onOutgoingEmergencySms(EmergencyNumber emergencyNumber) { in setUp() 124 EmergencyNumber emergencyNumber = new EmergencyNumber( in testTriggerOutgoingCallEmergencyNumberChanged() 128 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in testTriggerOutgoingCallEmergencyNumberChanged() 130 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testTriggerOutgoingCallEmergencyNumberChanged() 131 EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL); in testTriggerOutgoingCallEmergencyNumberChanged() 147 EmergencyNumber emergencyNumber = new EmergencyNumber( in testTriggerOutgoingSmsEmergencyNumberChanged() [all …]
|
D | ConnectionTest.java | 34 import android.telephony.emergency.EmergencyNumber; 219 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_POLICE); in testUpdateEmergencyRouting() 224 EmergencyNumber expectedNumber = new EmergencyNumber("911", "us", "30", in testUpdateEmergencyRouting() 225 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_POLICE, in testUpdateEmergencyRouting() 226 new ArrayList<String>(), EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testUpdateEmergencyRouting() 227 EmergencyNumber.EMERGENCY_CALL_ROUTING_EMERGENCY); in testUpdateEmergencyRouting()
|
/frameworks/base/telephony/java/android/telephony/emergency/ |
D | EmergencyNumber.java | 46 public final class EmergencyNumber implements Parcelable, Comparable<EmergencyNumber> { class 175 android.hardware.radio.voice.EmergencyNumber.SOURCE_NETWORK_SIGNALING; 182 android.hardware.radio.voice.EmergencyNumber.SOURCE_SIM; 196 android.hardware.radio.voice.EmergencyNumber.SOURCE_MODEM_CONFIG; 206 android.hardware.radio.voice.EmergencyNumber.SOURCE_DEFAULT; 267 public EmergencyNumber(@NonNull String number, @NonNull String countryIso, @NonNull String mnc, in EmergencyNumber() method in EmergencyNumber 282 public EmergencyNumber(Parcel source) { in EmergencyNumber() method in EmergencyNumber 304 public static final @NonNull Creator<EmergencyNumber> CREATOR = 305 new Creator<EmergencyNumber>() { 307 public EmergencyNumber createFromParcel(Parcel in) { [all …]
|
D | EmergencyNumber.aidl | 19 parcelable EmergencyNumber;
|
/frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/ |
D | EmergencyNumberUtils.java | 19 import static android.telephony.emergency.EmergencyNumber.EMERGENCY_NUMBER_SOURCE_DATABASE; 20 import static android.telephony.emergency.EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_POLICE; 31 import android.telephony.emergency.EmergencyNumber; 177 Map<Integer, List<EmergencyNumber>> allLists = mTelephonyManager.getEmergencyNumberList( in getPromotedEmergencyNumbers() 184 for (Map.Entry<Integer, List<EmergencyNumber>> entry : allLists.entrySet()) { in getPromotedEmergencyNumbers() 189 List<EmergencyNumber> emergencyNumberList = entry.getValue(); in getPromotedEmergencyNumbers() 193 List<EmergencyNumber> promotedList = new ArrayList<>(); in getPromotedEmergencyNumbers() 195 List<EmergencyNumber> tempList = new ArrayList<>(); in getPromotedEmergencyNumbers() 197 for (EmergencyNumber emergencyNumber : emergencyNumberList) { in getPromotedEmergencyNumbers() 227 List<EmergencyNumber> input, int subscriptionId) { in sanitizeEmergencyNumbers() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/emergencynumber/ |
D | EmergencyNumberUtilsTest.java | 19 import static android.telephony.emergency.EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_POLICE; 41 import android.telephony.emergency.EmergencyNumber; 146 EmergencyNumber emergencyNumber = mock(EmergencyNumber.class); in addEmergencyNumberToTelephony() 149 Map<Integer, List<EmergencyNumber>> numbers = new ArrayMap<>(); in addEmergencyNumberToTelephony() 150 List<EmergencyNumber> numbersForSubId = new ArrayList<>(); in addEmergencyNumberToTelephony()
|
/frameworks/base/core/java/com/android/internal/telephony/ |
D | IPhoneStateListener.aidl | 32 import android.telephony.emergency.EmergencyNumber; 69 void onOutgoingEmergencyCall(in EmergencyNumber placedEmergencyNumber, int subscriptionId); in onOutgoingEmergencyCall() 70 void onOutgoingEmergencySms(in EmergencyNumber sentEmergencyNumber, int subscriptionId); in onOutgoingEmergencySms()
|
D | ITelephonyRegistry.aidl | 34 import android.telephony.emergency.EmergencyNumber; 91 in EmergencyNumber emergencyNumber); in notifyOutgoingEmergencyCall() 93 in EmergencyNumber emergencyNumber); in notifyOutgoingEmergencySms()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Connection.java | 28 import android.telephony.emergency.EmergencyNumber; 309 private EmergencyNumber mEmergencyNumberInfo; 615 public EmergencyNumber getEmergencyNumberInfo() { in getEmergencyNumberInfo() 644 EmergencyNumber num = tracker.getEmergencyNumber(mAddress); in setEmergencyCallInfo() 686 : EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in setEmergencyCallInfo() 693 != EmergencyNumber.EMERGENCY_CALL_ROUTING_EMERGENCY) { in setEmergencyCallInfo() 704 mEmergencyNumberInfo = new EmergencyNumber(mEmergencyNumberInfo.getNumber(), in setEmergencyCallInfo() 710 EmergencyNumber.EMERGENCY_CALL_ROUTING_EMERGENCY); in setEmergencyCallInfo() 723 mEmergencyNumberInfo = new EmergencyNumber(mAddress, ""/*countryIso*/, ""/*mnc*/, in setNonDetectableEmergencyCallInfo() 725 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in setNonDetectableEmergencyCallInfo() [all …]
|
D | VoiceIndication.java | 39 import android.telephony.emergency.EmergencyNumber; 256 android.hardware.radio.voice.EmergencyNumber[] emergencyNumberList) { in currentEmergencyNumberList() 259 List<EmergencyNumber> response = new ArrayList<>(emergencyNumberList.length); in currentEmergencyNumberList() 260 for (android.hardware.radio.voice.EmergencyNumber enHal : emergencyNumberList) { in currentEmergencyNumberList() 261 EmergencyNumber emergencyNumber = new EmergencyNumber(enHal.number, in currentEmergencyNumberList() 264 EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN); in currentEmergencyNumberList()
|
D | RadioVoiceProxy.java | 22 import android.telephony.emergency.EmergencyNumber; 153 public void emergencyDial(int serial, String address, EmergencyNumber emergencyNumberInfo, in emergencyDial() 167 == EmergencyNumber.EMERGENCY_NUMBER_SOURCE_TEST); in emergencyDial() 178 == EmergencyNumber.EMERGENCY_NUMBER_SOURCE_TEST); in emergencyDial() 189 == EmergencyNumber.EMERGENCY_NUMBER_SOURCE_TEST); in emergencyDial()
|
D | PhoneNotifier.java | 37 import android.telephony.emergency.EmergencyNumber; 119 void notifyOutgoingEmergencySms(Phone sender, EmergencyNumber emergencyNumber); in notifyOutgoingEmergencySms()
|
D | DefaultPhoneNotifier.java | 39 import android.telephony.emergency.EmergencyNumber; 246 public void notifyOutgoingEmergencySms(Phone sender, EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencySms()
|
D | PhoneInternalInterface.java | 34 import android.telephony.emergency.EmergencyNumber; 85 protected int mEccCategory = EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED;
|
D | RadioIndication.java | 109 import android.telephony.emergency.EmergencyNumber; 351 ArrayList<android.hardware.radio.V1_4.EmergencyNumber> emergencyNumberList) { in currentEmergencyNumberList() 353 List<EmergencyNumber> response = new ArrayList<>(emergencyNumberList.size()); in currentEmergencyNumberList() 355 for (android.hardware.radio.V1_4.EmergencyNumber emergencyNumberHal in currentEmergencyNumberList() 357 EmergencyNumber emergencyNumber = new EmergencyNumber(emergencyNumberHal.number, in currentEmergencyNumberList() 360 emergencyNumberHal.sources, EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN); in currentEmergencyNumberList()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsCallProfile.java | 32 import android.telephony.emergency.EmergencyNumber; 33 import android.telephony.emergency.EmergencyNumber.EmergencyCallRouting; 34 import android.telephony.emergency.EmergencyNumber.EmergencyServiceCategories; 553 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED; 576 EmergencyNumber.EMERGENCY_CALL_ROUTING_UNKNOWN; 1114 public void setEmergencyCallInfo(EmergencyNumber num, boolean hasKnownUserIntentEmergency) { in setEmergencyCallInfo() 1119 == EmergencyNumber.EMERGENCY_NUMBER_SOURCE_TEST); in setEmergencyCallInfo()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 27 import android.telephony.emergency.EmergencyNumber; 73 public void onOutgoingEmergencyCall(EmergencyNumber placedEmergencyNumber, in onOutgoingEmergencyCall()
|
/frameworks/base/core/java/android/telephony/ |
D | PhoneStateListener.java | 37 import android.telephony.emergency.EmergencyNumber; 1049 @NonNull Map<Integer, List<EmergencyNumber>> emergencyNumberList) { in onEmergencyNumberListChanged() 1066 public void onOutgoingEmergencyCall(@NonNull EmergencyNumber placedEmergencyNumber) { in onOutgoingEmergencyCall() 1092 public void onOutgoingEmergencyCall(@NonNull EmergencyNumber placedEmergencyNumber, in onOutgoingEmergencyCall() 1111 public void onOutgoingEmergencySms(@NonNull EmergencyNumber sentEmergencyNumber) { in onOutgoingEmergencySms() 1133 public void onOutgoingEmergencySms(@NonNull EmergencyNumber sentEmergencyNumber, in onOutgoingEmergencySms() 1535 public void onOutgoingEmergencyCall(@NonNull EmergencyNumber placedEmergencyNumber, in onOutgoingEmergencyCall() 1546 public void onOutgoingEmergencySms(@NonNull EmergencyNumber sentEmergencyNumber, in onOutgoingEmergencySms()
|
D | TelephonyCallback.java | 29 import android.telephony.emergency.EmergencyNumber; 1174 List<EmergencyNumber>> emergencyNumberList); in onEmergencyNumberListChanged() 1202 void onOutgoingEmergencyCall(@NonNull EmergencyNumber placedEmergencyNumber, in onOutgoingEmergencyCall() 1223 void onOutgoingEmergencySms(@NonNull EmergencyNumber sentEmergencyNumber, in onOutgoingEmergencySms() 1940 public void onOutgoingEmergencyCall(@NonNull EmergencyNumber placedEmergencyNumber, in onOutgoingEmergencyCall() 1952 public void onOutgoingEmergencySms(@NonNull EmergencyNumber sentEmergencyNumber, in onOutgoingEmergencySms()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 44 import android.telephony.emergency.EmergencyNumber; 286 EmergencyNumber number = new EmergencyNumber( in testWriteEmergencyNumberUpdateEvent() 290 EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in testWriteEmergencyNumberUpdateEvent() 292 EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testWriteEmergencyNumberUpdateEvent() 293 EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL); in testWriteEmergencyNumberUpdateEvent() 307 assertEquals(EmergencyNumber.EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED, in testWriteEmergencyNumberUpdateEvent() 310 assertEquals(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING, in testWriteEmergencyNumberUpdateEvent() 312 assertEquals(EmergencyNumber.EMERGENCY_CALL_ROUTING_NORMAL, in testWriteEmergencyNumberUpdateEvent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 31 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()
|