Searched refs:RegionCode (Results 1 – 6 of 6) sorted by relevance
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
D | ShortNumberUtilTest.java | 32 assertTrue(shortUtil.connectsToEmergencyNumber("911", RegionCode.US)); in testConnectsToEmergencyNumber_US() 33 assertTrue(shortUtil.connectsToEmergencyNumber("119", RegionCode.US)); in testConnectsToEmergencyNumber_US() 34 assertFalse(shortUtil.connectsToEmergencyNumber("999", RegionCode.US)); in testConnectsToEmergencyNumber_US() 38 assertTrue(shortUtil.connectsToEmergencyNumber("9116666666", RegionCode.US)); in testConnectsToEmergencyNumberLongNumber_US() 39 assertTrue(shortUtil.connectsToEmergencyNumber("1196666666", RegionCode.US)); in testConnectsToEmergencyNumberLongNumber_US() 40 assertFalse(shortUtil.connectsToEmergencyNumber("9996666666", RegionCode.US)); in testConnectsToEmergencyNumberLongNumber_US() 44 assertTrue(shortUtil.connectsToEmergencyNumber("9-1-1", RegionCode.US)); in testConnectsToEmergencyNumberWithFormatting_US() 45 assertTrue(shortUtil.connectsToEmergencyNumber("1-1-9", RegionCode.US)); in testConnectsToEmergencyNumberWithFormatting_US() 46 assertFalse(shortUtil.connectsToEmergencyNumber("9-9-9", RegionCode.US)); in testConnectsToEmergencyNumberWithFormatting_US() 50 assertFalse(shortUtil.connectsToEmergencyNumber("+911", RegionCode.US)); in testConnectsToEmergencyNumberWithPlusSign_US() [all …]
|
D | PhoneNumberMatcherTest.java | 39 doTestFindInContext("033316005", RegionCode.NZ); in testFindNationalNumber() 43 doTestFindInContext("03-331 6005", RegionCode.NZ); in testFindNationalNumber() 44 doTestFindInContext("03 331 6005", RegionCode.NZ); in testFindNationalNumber() 47 doTestFindInContext("0064 3 331 6005", RegionCode.NZ); in testFindNationalNumber() 50 doTestFindInContext("01164 3 331 6005", RegionCode.US); in testFindNationalNumber() 51 doTestFindInContext("+64 3 331 6005", RegionCode.US); in testFindNationalNumber() 53 doTestFindInContext("64(0)64123456", RegionCode.NZ); in testFindNationalNumber() 55 doTestFindInContext("123/45678", RegionCode.DE); in testFindNationalNumber() 56 doTestFindInContext("123-456-7890", RegionCode.US); in testFindNationalNumber() 61 doTestFindInContext("+1 (650) 333-6000", RegionCode.NZ); in testFindWithInternationalPrefixes() [all …]
|
D | PhoneNumberUtilTest.java | 110 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.US); in testGetInstanceLoadUSMetadata() 131 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.DE); in testGetInstanceLoadDEMetadata() 151 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.AR); in testGetInstanceLoadARMetadata() 262 assertEquals(DE_NUMBER, phoneUtil.getExampleNumber(RegionCode.DE)); in testGetExampleNumber() 265 phoneUtil.getExampleNumberForType(RegionCode.DE, in testGetExampleNumber() 268 phoneUtil.getExampleNumberForType(RegionCode.DE, in testGetExampleNumber() 272 assertNotNull(phoneUtil.getExampleNumberForType(RegionCode.US, in testGetExampleNumber() 274 assertNotNull(phoneUtil.getExampleNumberForType(RegionCode.US, in testGetExampleNumber() 277 assertNull(phoneUtil.getExampleNumberForType(RegionCode.CS, in testGetExampleNumber() 281 assertEquals(null, phoneUtil.getExampleNumber(RegionCode.UN001)); in testGetExampleNumber() [all …]
|
D | AsYouTypeFormatterTest.java | 30 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testInvalidRegion() 52 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testInvalidPlusSign() 72 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testTooLongNumberMatchingMultipleLeadingDigits() 92 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUS() 186 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUSFullWidthCharacters() 200 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUSMobileShortCode() 209 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUSVanityNumber() 225 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFAndRememberPositionUS() 361 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.GB); in testAYTFGBFixedLine() 378 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.GB); in testAYTFGBTollFree() [all …]
|
D | RegionCode.java | 22 final class RegionCode { class
|
/external/webkit/Source/WebCore/platform/mac/ |
D | WebCoreNSStringExtras.mm | 100 RegionCode region;
|