OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shortUtil
(Results
1 - 2
of
2
) sorted by null
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
ShortNumberUtilTest.java
25
private ShortNumberUtil
shortUtil
;
28
shortUtil
= new ShortNumberUtil(phoneUtil);
32
assertTrue(
shortUtil
.connectsToEmergencyNumber("911", RegionCode.US));
33
assertTrue(
shortUtil
.connectsToEmergencyNumber("119", RegionCode.US));
34
assertFalse(
shortUtil
.connectsToEmergencyNumber("999", RegionCode.US));
38
assertTrue(
shortUtil
.connectsToEmergencyNumber("9116666666", RegionCode.US));
39
assertTrue(
shortUtil
.connectsToEmergencyNumber("1196666666", RegionCode.US));
40
assertFalse(
shortUtil
.connectsToEmergencyNumber("9996666666", RegionCode.US));
44
assertTrue(
shortUtil
.connectsToEmergencyNumber("9-1-1", RegionCode.US));
45
assertTrue(
shortUtil
.connectsToEmergencyNumber("1-1-9", RegionCode.US))
[
all
...]
ExampleNumbersTest.java
180
ShortNumberUtil
shortUtil
= new ShortNumberUtil(phoneNumberUtil);
188
!
shortUtil
.isEmergencyNumber(exampleNumber, regionCode)) {
Completed in 490 milliseconds