Home
last modified time | relevance | path

Searched refs:emergencyNumber (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneStateListenerTest.java64 public void onOutgoingEmergencyCall(EmergencyNumber emergencyNumber) { in setUp()
66 mCalledEmergencyNumber = emergencyNumber; in setUp()
69 public void onOutgoingEmergencySms(EmergencyNumber emergencyNumber) { in setUp()
71 mTextedEmergencyNumber = emergencyNumber; in setUp()
118 EmergencyNumber emergencyNumber = new EmergencyNumber( in testTriggerOutgoingCallEmergencyNumberChanged() local
128 emergencyNumber); in testTriggerOutgoingCallEmergencyNumberChanged()
131 assertTrue(mCalledEmergencyNumber.equals(emergencyNumber)); in testTriggerOutgoingCallEmergencyNumberChanged()
141 EmergencyNumber emergencyNumber = new EmergencyNumber( in testTriggerOutgoingSmsEmergencyNumberChanged() local
151 emergencyNumber); in testTriggerOutgoingSmsEmergencyNumberChanged()
154 assertTrue(mTextedEmergencyNumber.equals(emergencyNumber)); in testTriggerOutgoingSmsEmergencyNumberChanged()
DGsmCdmaPhoneTest.java508 String emergencyNumber = "111"; in testEmergencySmsMode() local
513 doReturn(true).when(mTelephonyManager).isEmergencyNumber(emergencyNumber); in testEmergencySmsMode()
519 mPhoneUT.notifySmsSent(emergencyNumber); in testEmergencySmsMode()
530 mPhoneUT.notifySmsSent(emergencyNumber); in testEmergencySmsMode()
/frameworks/base/telephony/java/android/telephony/emergency/
DEmergencyNumber.java561 public int compareTo(@NonNull EmergencyNumber emergencyNumber) { in compareTo() argument
563 > emergencyNumber.getDisplayPriorityScore()) { in compareTo()
566 < emergencyNumber.getDisplayPriorityScore()) { in compareTo()
568 } else if (this.getNumber().compareTo(emergencyNumber.getNumber()) != 0) { in compareTo()
569 return this.getNumber().compareTo(emergencyNumber.getNumber()); in compareTo()
570 } else if (this.getCountryIso().compareTo(emergencyNumber.getCountryIso()) != 0) { in compareTo()
571 return this.getCountryIso().compareTo(emergencyNumber.getCountryIso()); in compareTo()
572 } else if (this.getMnc().compareTo(emergencyNumber.getMnc()) != 0) { in compareTo()
573 return this.getMnc().compareTo(emergencyNumber.getMnc()); in compareTo()
575 != emergencyNumber.getEmergencyServiceCategoryBitmask()) { in compareTo()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java750 public EmergencyNumber getEmergencyNumber(String emergencyNumber) { in getEmergencyNumber() argument
751 emergencyNumber = PhoneNumberUtils.stripSeparators(emergencyNumber); in getEmergencyNumber()
753 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyNumber()
769 public @EmergencyServiceCategories int getEmergencyServiceCategories(String emergencyNumber) { in getEmergencyServiceCategories() argument
770 emergencyNumber = PhoneNumberUtils.stripSeparators(emergencyNumber); in getEmergencyServiceCategories()
772 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyServiceCategories()
789 public @EmergencyCallRouting int getEmergencyCallRouting(String emergencyNumber) { in getEmergencyCallRouting() argument
790 emergencyNumber = PhoneNumberUtils.stripSeparators(emergencyNumber); in getEmergencyCallRouting()
792 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyCallRouting()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneNotifier.java102 void notifyOutgoingEmergencyCall(Phone sender, EmergencyNumber emergencyNumber); in notifyOutgoingEmergencyCall() argument
105 void notifyOutgoingEmergencySms(Phone sender, EmergencyNumber emergencyNumber); in notifyOutgoingEmergencySms() argument
DDefaultPhoneNotifier.java233 public void notifyOutgoingEmergencyCall(Phone sender, EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencyCall() argument
237 emergencyNumber); in notifyOutgoingEmergencyCall() local
245 public void notifyOutgoingEmergencySms(Phone sender, EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencySms() argument
249 emergencyNumber); in notifyOutgoingEmergencySms() local
DIccSmsInterfaceManager.java1481 EmergencyNumber emergencyNumber = mPhone.getEmergencyNumberTracker().getEmergencyNumber( in notifyIfOutgoingEmergencySms() local
1483 if (emergencyNumber != null) { in notifyIfOutgoingEmergencySms()
1484 mPhone.notifyOutgoingEmergencySms(emergencyNumber); in notifyIfOutgoingEmergencySms()
DPhone.java2628 public void notifyOutgoingEmergencyCall(EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencyCall() argument
2629 mNotifier.notifyOutgoingEmergencyCall(this, emergencyNumber); in notifyOutgoingEmergencyCall()
2633 public void notifyOutgoingEmergencySms(EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencySms() argument
2634 mNotifier.notifyOutgoingEmergencySms(this, emergencyNumber); in notifyOutgoingEmergencySms()
DRadioIndication.java326 EmergencyNumber emergencyNumber = new EmergencyNumber(emergencyNumberHal.number, in currentEmergencyNumberList() local
330 response.add(emergencyNumber); in currentEmergencyNumberList()
/frameworks/base/core/java/com/android/internal/telephony/
DITelephonyRegistry.aidl98 in EmergencyNumber emergencyNumber); in notifyOutgoingEmergencyCall() argument
100 in EmergencyNumber emergencyNumber); in notifyOutgoingEmergencySms() argument
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2177 EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencyCall() argument
2183 mOutgoingCallEmergencyNumber[phoneId] = emergencyNumber; in notifyOutgoingEmergencyCall()
2189 r.callback.onOutgoingEmergencyCall(emergencyNumber); in notifyOutgoingEmergencyCall()
2202 EmergencyNumber emergencyNumber) { in notifyOutgoingEmergencySms() argument
2208 mOutgoingSmsEmergencyNumber[phoneId] = emergencyNumber; in notifyOutgoingEmergencySms()
2214 r.callback.onOutgoingEmergencySms(emergencyNumber); in notifyOutgoingEmergencySms()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java2153 EmergencyNumber emergencyNumber, String countryIso, in writeOnImsCallTerminated() argument
2169 if (emergencyNumber != null) { in writeOnImsCallTerminated()
2175 convertEmergencyNumberToEmergencyNumberInfo(emergencyNumber)); in writeOnImsCallTerminated()
2568 public void writeEmergencyNumberUpdateEvent(int phoneId, EmergencyNumber emergencyNumber, in writeEmergencyNumberUpdateEvent() argument
2570 if (emergencyNumber == null) { in writeEmergencyNumberUpdateEvent()
2574 convertEmergencyNumberToEmergencyNumberInfo(emergencyNumber); in writeEmergencyNumberUpdateEvent()