Searched refs:connectsToEmergencyNumber (Results 1 – 2 of 2) sorted by relevance
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | ShortNumberInfoTest.java | 209 assertTrue(shortInfo.connectsToEmergencyNumber("911", RegionCode.US)); in testConnectsToEmergencyNumber_US() 210 assertTrue(shortInfo.connectsToEmergencyNumber("112", RegionCode.US)); in testConnectsToEmergencyNumber_US() 211 assertFalse(shortInfo.connectsToEmergencyNumber("999", RegionCode.US)); in testConnectsToEmergencyNumber_US() 215 assertTrue(shortInfo.connectsToEmergencyNumber("9116666666", RegionCode.US)); in testConnectsToEmergencyNumberLongNumber_US() 216 assertTrue(shortInfo.connectsToEmergencyNumber("1126666666", RegionCode.US)); in testConnectsToEmergencyNumberLongNumber_US() 217 assertFalse(shortInfo.connectsToEmergencyNumber("9996666666", RegionCode.US)); in testConnectsToEmergencyNumberLongNumber_US() 221 assertTrue(shortInfo.connectsToEmergencyNumber("9-1-1", RegionCode.US)); in testConnectsToEmergencyNumberWithFormatting_US() 222 assertTrue(shortInfo.connectsToEmergencyNumber("1-1-2", RegionCode.US)); in testConnectsToEmergencyNumberWithFormatting_US() 223 assertFalse(shortInfo.connectsToEmergencyNumber("9-9-9", RegionCode.US)); in testConnectsToEmergencyNumberWithFormatting_US() 227 assertFalse(shortInfo.connectsToEmergencyNumber("+911", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US() [all …]
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | ShortNumberInfo.java | 415 public boolean connectsToEmergencyNumber(String number, String regionCode) { in connectsToEmergencyNumber() method in ShortNumberInfo
|