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() 85 assertTrue(shortInfo.isSmsServiceForRegion(smsServiceNumberForSomeRegion, RegionCode.US)); in testIsSmsService() 86 assertFalse(shortInfo.isSmsServiceForRegion(smsServiceNumberForSomeRegion, RegionCode.BB)); in testIsSmsService() 90 String premiumRateExample = 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 | 132 assertEquals(RegionCode.UN001, phoneUtil.getRegionCodeForCountryCode(callingCode)); in testGetSupportedGlobalNetworkCallingCodes() 141 assertTrue(phoneUtil.getRegionCodeForCountryCode(callingCode) != RegionCode.ZZ); in testGetSupportedCallingCodes() 155 assertTrue(phoneUtil.getSupportedTypesForRegion(RegionCode.BR) in testGetSupportedTypesForRegion() 158 assertFalse(phoneUtil.getSupportedTypesForRegion(RegionCode.BR) in testGetSupportedTypesForRegion() 161 assertFalse(phoneUtil.getSupportedTypesForRegion(RegionCode.BR) in testGetSupportedTypesForRegion() 165 assertTrue(phoneUtil.getSupportedTypesForRegion(RegionCode.US) in testGetSupportedTypesForRegion() 167 assertTrue(phoneUtil.getSupportedTypesForRegion(RegionCode.US) in testGetSupportedTypesForRegion() 169 assertFalse(phoneUtil.getSupportedTypesForRegion(RegionCode.US) in testGetSupportedTypesForRegion() 173 assertEquals(0, phoneUtil.getSupportedTypesForRegion(RegionCode.ZZ).size()); in testGetSupportedTypesForRegion() 187 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.US); in testGetInstanceLoadUSMetadata() [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
|