Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/emergency/
DEmergencyNumber.java554 public int compareTo(@NonNull EmergencyNumber emergencyNumber) { in compareTo() argument
556 > emergencyNumber.getDisplayPriorityScore()) { in compareTo()
559 < emergencyNumber.getDisplayPriorityScore()) { in compareTo()
561 } else if (this.getNumber().compareTo(emergencyNumber.getNumber()) != 0) { in compareTo()
562 return this.getNumber().compareTo(emergencyNumber.getNumber()); in compareTo()
563 } else if (this.getCountryIso().compareTo(emergencyNumber.getCountryIso()) != 0) { in compareTo()
564 return this.getCountryIso().compareTo(emergencyNumber.getCountryIso()); in compareTo()
565 } else if (this.getMnc().compareTo(emergencyNumber.getMnc()) != 0) { in compareTo()
566 return this.getMnc().compareTo(emergencyNumber.getMnc()); in compareTo()
568 != emergencyNumber.getEmergencyServiceCategoryBitmask()) { in compareTo()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java512 public EmergencyNumber getEmergencyNumber(String emergencyNumber) { in getEmergencyNumber() argument
513 emergencyNumber = PhoneNumberUtils.stripSeparators(emergencyNumber); in getEmergencyNumber()
515 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyNumber()
531 public @EmergencyServiceCategories int getEmergencyServiceCategories(String emergencyNumber) { in getEmergencyServiceCategories() argument
532 emergencyNumber = PhoneNumberUtils.stripSeparators(emergencyNumber); in getEmergencyServiceCategories()
534 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyServiceCategories()
551 public @EmergencyCallRouting int getEmergencyCallRouting(String emergencyNumber) { in getEmergencyCallRouting() argument
552 emergencyNumber = PhoneNumberUtils.stripSeparators(emergencyNumber); in getEmergencyCallRouting()
554 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyCallRouting()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java348 String emergencyNumber = "111"; in testEmergencySmsMode() local
352 doReturn(true).when(mTelephonyManager).isEmergencyNumber(emergencyNumber); in testEmergencySmsMode()
358 mPhoneUT.notifySmsSent(emergencyNumber); in testEmergencySmsMode()
367 mPhoneUT.notifySmsSent(emergencyNumber); in testEmergencySmsMode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java2087 EmergencyNumber emergencyNumber, String countryIso) { in writeOnImsCallTerminated() argument
2102 if (emergencyNumber != null) { in writeOnImsCallTerminated()
2108 convertEmergencyNumberToEmergencyNumberInfo(emergencyNumber)); in writeOnImsCallTerminated()
2499 public void writeEmergencyNumberUpdateEvent(int phoneId, EmergencyNumber emergencyNumber) { in writeEmergencyNumberUpdateEvent() argument
2500 if (emergencyNumber == null) { in writeEmergencyNumberUpdateEvent()
2504 convertEmergencyNumberToEmergencyNumberInfo(emergencyNumber); in writeEmergencyNumberUpdateEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioIndication.java317 EmergencyNumber emergencyNumber = new EmergencyNumber(emergencyNumberHal.number, in currentEmergencyNumberList() local
321 response.add(emergencyNumber); in currentEmergencyNumberList()