Searched refs:isEmergencyNumber (Results 1 – 5 of 5) sorted by relevance
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | ShortNumberInfoTest.java | 273 assertTrue(shortInfo.isEmergencyNumber("911", RegionCode.US)); in testIsEmergencyNumber_US() 274 assertTrue(shortInfo.isEmergencyNumber("112", RegionCode.US)); in testIsEmergencyNumber_US() 275 assertFalse(shortInfo.isEmergencyNumber("999", RegionCode.US)); in testIsEmergencyNumber_US() 279 assertFalse(shortInfo.isEmergencyNumber("9116666666", RegionCode.US)); in testIsEmergencyNumberLongNumber_US() 280 assertFalse(shortInfo.isEmergencyNumber("1126666666", RegionCode.US)); in testIsEmergencyNumberLongNumber_US() 281 assertFalse(shortInfo.isEmergencyNumber("9996666666", RegionCode.US)); in testIsEmergencyNumberLongNumber_US() 285 assertTrue(shortInfo.isEmergencyNumber("9-1-1", RegionCode.US)); in testIsEmergencyNumberWithFormatting_US() 286 assertTrue(shortInfo.isEmergencyNumber("*911", RegionCode.US)); in testIsEmergencyNumberWithFormatting_US() 287 assertTrue(shortInfo.isEmergencyNumber("1-1-2", RegionCode.US)); in testIsEmergencyNumberWithFormatting_US() 288 assertTrue(shortInfo.isEmergencyNumber("*112", RegionCode.US)); in testIsEmergencyNumberWithFormatting_US() [all …]
|
D | ExampleNumbersTest.java | 246 || !shortNumberInfo.isEmergencyNumber(exampleNumber, regionCode)) { in testEmergency()
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | ShortNumberInfo.java | 257 if (isEmergencyNumber(shortNumber, regionDialingFrom)) { in getExpectedCostForRegion() 431 public boolean isEmergencyNumber(String number, String regionCode) { in isEmergencyNumber() method in ShortNumberInfo
|
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/ |
D | ContactNumberUtils.java | 164 if (PhoneNumberUtils.isEmergencyNumber(number)) { in validate()
|
/external/libphonenumber/ |
D | release_notes.txt | 1102 - Providing an "exact match" isEmergencyNumber method
|