Searched refs:RegionCode (Results 1 – 6 of 6) sorted by relevance
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | ShortNumberInfoTest.java | 34 shortInfo.isPossibleShortNumberForRegion(parse("123456", RegionCode.FR), RegionCode.FR)); in testIsPossibleShortNumber() 49 assertTrue(shortInfo.isValidShortNumberForRegion(parse("1010", RegionCode.FR), RegionCode.FR)); in testIsValidShortNumber() 53 shortInfo.isValidShortNumberForRegion(parse("123456", RegionCode.FR), RegionCode.FR)); in testIsValidShortNumber() 65 shortInfo.isCarrierSpecificForRegion(parse("33669", RegionCode.US), RegionCode.US)); in testIsCarrierSpecific() 71 shortInfo.isCarrierSpecificForRegion(parse("911", RegionCode.US), RegionCode.US)); in testIsCarrierSpecific() 77 shortInfo.isCarrierSpecificForRegion(carrierSpecificNumberForSomeRegion, RegionCode.US)); in testIsCarrierSpecific() 79 shortInfo.isCarrierSpecificForRegion(carrierSpecificNumberForSomeRegion, RegionCode.BB)); in testIsCarrierSpecific() 83 String premiumRateExample = shortInfo.getExampleShortNumberForCost(RegionCode.FR, in testGetExpectedCost() 86 parse(premiumRateExample, RegionCode.FR), RegionCode.FR)); in testGetExpectedCost() 92 String standardRateExample = shortInfo.getExampleShortNumberForCost(RegionCode.FR, in testGetExpectedCost() [all …]
|
D | PhoneNumberMatcherTest.java | 83 doTestFindInContext("033316005", RegionCode.NZ); in testFindNationalNumber() 87 doTestFindInContext("03-331 6005", RegionCode.NZ); in testFindNationalNumber() 88 doTestFindInContext("03 331 6005", RegionCode.NZ); in testFindNationalNumber() 91 doTestFindInContext("0064 3 331 6005", RegionCode.NZ); in testFindNationalNumber() 94 doTestFindInContext("01164 3 331 6005", RegionCode.US); in testFindNationalNumber() 95 doTestFindInContext("+64 3 331 6005", RegionCode.US); in testFindNationalNumber() 97 doTestFindInContext("64(0)64123456", RegionCode.NZ); in testFindNationalNumber() 100 doTestFindInContext("0123/456789", RegionCode.PL); in testFindNationalNumber() 101 doTestFindInContext("123-456-7890", RegionCode.US); in testFindNationalNumber() 106 doTestFindInContext("+1 (650) 333-6000", RegionCode.NZ); in testFindWithInternationalPrefixes() [all …]
|
D | PhoneNumberUtilTest.java | 126 assertEquals(RegionCode.UN001, phoneUtil.getRegionCodeForCountryCode(callingCode)); in testGetSupportedGlobalNetworkCallingCodes() 136 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.US); in testGetInstanceLoadUSMetadata() 160 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.DE); in testGetInstanceLoadDEMetadata() 185 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.AR); in testGetInstanceLoadARMetadata() 314 RegionCode.MX))); in testGetCountryMobileToken() 318 RegionCode.SE))); in testGetCountryMobileToken() 347 assertEquals(DE_NUMBER, phoneUtil.getExampleNumber(RegionCode.DE)); in testGetExampleNumber() 350 phoneUtil.getExampleNumberForType(RegionCode.DE, in testGetExampleNumber() 353 phoneUtil.getExampleNumberForType(RegionCode.DE, in testGetExampleNumber() 355 assertNotNull(phoneUtil.getExampleNumberForType(RegionCode.US, 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.BY); in testCountryWithSpaceInNationalPrefixFormattingRule() 107 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.BY); in testCountryWithSpaceInNationalPrefixFormattingRuleAndLongNdd() 121 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUS() 215 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUSFullWidthCharacters() 229 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUSMobileShortCode() 238 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUSVanityNumber() 254 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFAndRememberPositionUS() [all …]
|
D | RegionCode.java | 22 final class RegionCode { class
|
/external/python/cpython2/Tools/bgen/bgen/ |
D | macsupport.py | 28 RegionCode = Type("RegionCode", "h") variable
|