Home
last modified time | relevance | path

Searched refs:isFromSources (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTest.java63 assertTrue(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING)); in testEmergencyNumberUnspecified()
64 assertFalse(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_SIM)); in testEmergencyNumberUnspecified()
65 assertFalse(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_MODEM_CONFIG)); in testEmergencyNumberUnspecified()
66 assertFalse(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_DEFAULT)); in testEmergencyNumberUnspecified()
115 assertTrue(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING)); in testEmergencyNumberSpecificService()
116 assertFalse(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_SIM)); in testEmergencyNumberSpecificService()
117 assertTrue(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_MODEM_CONFIG)); in testEmergencyNumberSpecificService()
118 assertFalse(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_DEFAULT)); in testEmergencyNumberSpecificService()
183 assertTrue(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING)); in testEmergencyNumberMultipleServices()
184 assertTrue(number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_SIM)); in testEmergencyNumberMultipleServices()
[all …]
/frameworks/base/telephony/java/android/telephony/emergency/
DEmergencyNumber.java457 public boolean isFromSources(@EmergencyNumberSources int sources) { in isFromSources() method in EmergencyNumber
527 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING)) { in getDisplayPriorityScore()
530 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_SIM)) { in getDisplayPriorityScore()
533 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_DATABASE)) { in getDisplayPriorityScore()
536 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_DEFAULT)) { in getDisplayPriorityScore()
539 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_MODEM_CONFIG)) { in getDisplayPriorityScore()
661 if (first.isFromSources(EMERGENCY_NUMBER_SOURCE_TEST) in areSameEmergencyNumbers()
662 ^ second.isFromSources(EMERGENCY_NUMBER_SOURCE_TEST)) { in areSameEmergencyNumbers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java535 if (num.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING) in getEmergencyServiceCategories()
536 || num.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_SIM)) { in getEmergencyServiceCategories()
555 if (num.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_DATABASE)) { in getEmergencyCallRouting()
/frameworks/base/api/
Dcurrent.txt45303 method public boolean isFromSources(int);