Home
last modified time | relevance | path

Searched refs:isFromSources (Results 1 – 6 of 6) 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 …]
DEmergencyNumberTrackerTest.java211 if (number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_DATABASE)) { in testUsingEmergencyNumberDatabaseWheneverHal_1_3()
232 if (number.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_DATABASE)) { in testUsingEmergencyNumberDatabaseWheneverHal_1_4()
/frameworks/base/telephony/java/android/telephony/emergency/
DEmergencyNumber.java464 public boolean isFromSources(@EmergencyNumberSources int sources) { in isFromSources() method in EmergencyNumber
534 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING)) { in getDisplayPriorityScore()
537 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_SIM)) { in getDisplayPriorityScore()
540 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_DATABASE)) { in getDisplayPriorityScore()
543 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_DEFAULT)) { in getDisplayPriorityScore()
546 if (this.isFromSources(EMERGENCY_NUMBER_SOURCE_MODEM_CONFIG)) { in getDisplayPriorityScore()
668 if (first.isFromSources(EMERGENCY_NUMBER_SOURCE_TEST) in areSameEmergencyNumbers()
669 ^ second.isFromSources(EMERGENCY_NUMBER_SOURCE_TEST)) { in areSameEmergencyNumbers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java773 if (num.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING) in getEmergencyServiceCategories()
774 || num.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_SIM)) { in getEmergencyServiceCategories()
793 if (num.isFromSources(EmergencyNumber.EMERGENCY_NUMBER_SOURCE_DATABASE)) { in getEmergencyCallRouting()
/frameworks/base/non-updatable-api/
Dcurrent.txt46292 method public boolean isFromSources(int);
/frameworks/base/api/
Dcurrent.txt46436 method public boolean isFromSources(int);