Home
last modified time | relevance | path

Searched refs:setCountryCode (Results 1 – 23 of 23) sorted by relevance

/third_party/libphonenumber/java/geocoder/test/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoderTest.java37 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L);
39 new PhoneNumber().setCountryCode(82).setNationalNumber(322123456L);
41 new PhoneNumber().setCountryCode(82).setNationalNumber(6421234567L);
43 new PhoneNumber().setCountryCode(82).setNationalNumber(1234L);
45 new PhoneNumber().setCountryCode(82).setNationalNumber(101234567L);
47 new PhoneNumber().setCountryCode(1).setNationalNumber(6502530000L);
49 new PhoneNumber().setCountryCode(1).setNationalNumber(6509600000L);
51 new PhoneNumber().setCountryCode(1).setNationalNumber(2128120000L);
53 new PhoneNumber().setCountryCode(1).setNationalNumber(6174240000L);
55 new PhoneNumber().setCountryCode(1).setNationalNumber(123456789L);
[all …]
/third_party/libphonenumber/java/carrier/test/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapperTest.java36 new PhoneNumber().setCountryCode(244).setNationalNumber(917654321L);
38 new PhoneNumber().setCountryCode(244).setNationalNumber(927654321L);
40 new PhoneNumber().setCountryCode(244).setNationalNumber(22254321L);
42 new PhoneNumber().setCountryCode(244).setNationalNumber(26254321L);
44 new PhoneNumber().setCountryCode(244).setNationalNumber(101234L);
46 new PhoneNumber().setCountryCode(44).setNationalNumber(7387654321L);
48 new PhoneNumber().setCountryCode(44).setNationalNumber(7487654321L);
50 new PhoneNumber().setCountryCode(44).setNationalNumber(1123456789L);
52 new PhoneNumber().setCountryCode(44).setNationalNumber(2987654321L);
54 new PhoneNumber().setCountryCode(44).setNationalNumber(7301234L);
[all …]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhonenumberTest.java33 numberA.setCountryCode(1).setNationalNumber(6502530000L); in testEqualSimpleNumber()
36 numberB.setCountryCode(1).setNationalNumber(6502530000L); in testEqualSimpleNumber()
44 numberA.setCountryCode(1).setNationalNumber(6502530000L).setItalianLeadingZero(false); in testEqualWithItalianLeadingZeroSetToDefault()
47 numberB.setCountryCode(1).setNationalNumber(6502530000L); in testEqualWithItalianLeadingZeroSetToDefault()
67 numberA.setCountryCode(1).setNationalNumber(6502530000L).setItalianLeadingZero(true); in testNonEqualWithItalianLeadingZeroSetToTrue()
70 numberB.setCountryCode(1).setNationalNumber(6502530000L); in testNonEqualWithItalianLeadingZeroSetToTrue()
78 numberA.setCountryCode(1).setNationalNumber(6502530000L).setRawInput("+1 650 253 00 00"). in testNonEqualWithDifferingRawInput()
84 numberB.setCountryCode(1).setNationalNumber(6502530000L).setRawInput("+1-650-253-00-00"). in testNonEqualWithDifferingRawInput()
93 numberA.setCountryCode(1).setNationalNumber(6502530000L).setPreferredDomesticCarrierCode(""); in testNonEqualWithPreferredDomesticCarrierCodeSetToDefault()
96 numberB.setCountryCode(1).setNationalNumber(6502530000L); in testNonEqualWithPreferredDomesticCarrierCodeSetToDefault()
[all …]
DPhoneNumberUtilTest.java51 new PhoneNumber().setCountryCode(1).setNationalNumber(80074935247L);
53 new PhoneNumber().setCountryCode(971).setNationalNumber(600123456L);
55 new PhoneNumber().setCountryCode(54).setNationalNumber(91187654321L);
57 new PhoneNumber().setCountryCode(54).setNationalNumber(1187654321);
59 new PhoneNumber().setCountryCode(61).setNationalNumber(236618300L);
61 new PhoneNumber().setCountryCode(1).setNationalNumber(2423570000L);
63 new PhoneNumber().setCountryCode(1).setNationalNumber(2423651234L);
66 new PhoneNumber().setCountryCode(49).setNationalNumber(30123456L);
68 new PhoneNumber().setCountryCode(49).setNationalNumber(1234L);
70 new PhoneNumber().setCountryCode(44).setNationalNumber(7912345678L);
[all …]
DShortNumberInfoTest.java31 possibleNumber.setCountryCode(33).setNationalNumber(123456L); in testIsPossibleShortNumber()
37 impossibleNumber.setCountryCode(33).setNationalNumber(9L); in testIsPossibleShortNumber()
43 new PhoneNumber().setCountryCode(44).setNationalNumber(11001L))); in testIsPossibleShortNumber()
48 new PhoneNumber().setCountryCode(33).setNationalNumber(1010L))); in testIsValidShortNumber()
51 new PhoneNumber().setCountryCode(33).setNationalNumber(123456L))); in testIsValidShortNumber()
57 new PhoneNumber().setCountryCode(44).setNationalNumber(18001L))); in testIsValidShortNumber()
62 carrierSpecificNumber.setCountryCode(1).setNationalNumber(33669L); in testIsCarrierSpecific()
68 notCarrierSpecificNumber.setCountryCode(1).setNationalNumber(911L); in testIsCarrierSpecific()
74 carrierSpecificNumberForSomeRegion.setCountryCode(1).setNationalNumber(211L); in testIsCarrierSpecific()
84 smsServiceNumberForSomeRegion.setCountryCode(1).setNationalNumber(21234L); in testIsSmsService()
[all …]
DPhoneNumberMatcherTest.java39 number.setCountryCode(1); in testContainsMoreThanOneSlashInNationalNumber()
47 number.setCountryCode(274); in testContainsMoreThanOneSlashInNationalNumber()
54 number.setCountryCode(49); in testContainsMoreThanOneSlashInNationalNumber()
60 number.setCountryCode(49); in testContainsMoreThanOneSlashInNationalNumber()
74 number.setCountryCode(49); in testContainsMoreThanOneSlashInNationalNumber()
404 number1.setCountryCode(phoneUtil.getCountryCodeForRegion(region)); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation()
409 number2.setCountryCode(phoneUtil.getCountryCodeForRegion(region)); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation()
721 number1.setCountryCode(phoneUtil.getCountryCodeForRegion(region)); in testSequences()
726 number2.setCountryCode(phoneUtil.getCountryCodeForRegion(region)); in testSequences()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js53 ALPHA_NUMERIC_NUMBER.setCountryCode(1);
59 AE_UAN.setCountryCode(971);
65 AR_MOBILE.setCountryCode(54);
71 AR_NUMBER.setCountryCode(54);
77 AU_NUMBER.setCountryCode(61);
83 BS_MOBILE.setCountryCode(1);
89 BS_NUMBER.setCountryCode(1);
96 DE_NUMBER.setCountryCode(49);
102 DE_SHORT_NUMBER.setCountryCode(49);
108 GB_MOBILE.setCountryCode(44);
[all …]
Dshortnumberinfo_test.js49 possibleNumber.setCountryCode(33);
56 impossibleNumber.setCountryCode(33);
63 impossibleUkNumber.setCountryCode(44);
70 shortNumber1.setCountryCode(33);
76 shortNumber2.setCountryCode(33);
84 shortNumber3.setCountryCode(44);
91 carrierSpecificNumber.setCountryCode(1);
98 notCarrierSpecificNumber.setCountryCode(1);
105 carrierSpecificNumberForSomeRegion.setCountryCode(1);
116 smsServiceNumberForSomeRegion.setCountryCode(1);
[all …]
Dphonenumberutil.js3762 phoneNumber.setCountryCode(potentialCountryCode);
3809 phoneNumber.setCountryCode(defaultCountryCode);
3815 phoneNumber.setCountryCode(0);
4265 phoneNumber.setCountryCode(countryCode);
4410 phoneNumber.setCountryCode(numberIn.getCountryCodeOrDefault());
4552 firstNumberToCompare.setCountryCode(0);
4553 secondNumberToCompare.setCountryCode(0);
Dphonenumber.pb.js82 i18n.phonenumbers.PhoneNumber.prototype.setCountryCode = function(value) { method in i18n.phonenumbers.PhoneNumber
Dphonemetadata.pb.js1600 i18n.phonenumbers.PhoneMetadata.prototype.setCountryCode = function(value) { method in i18n.phonenumbers.PhoneMetadata
/third_party/libphonenumber/java/geocoder/test/com/google/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapperTest.java37 new PhoneNumber().setCountryCode(61).setNationalNumber(236618300L);
39 new PhoneNumber().setCountryCode(1).setNationalNumber(6048406565L);
41 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L);
43 new PhoneNumber().setCountryCode(82).setNationalNumber(1234L);
45 new PhoneNumber().setCountryCode(1).setNationalNumber(6509600000L);
47 new PhoneNumber().setCountryCode(1).setNationalNumber(2128120000L);
49 new PhoneNumber().setCountryCode(1).setNationalNumber(6174240000L);
51 new PhoneNumber().setCountryCode(1).setNationalNumber(123456789L);
53 new PhoneNumber().setCountryCode(999).setNationalNumber(2423651234L);
55 new PhoneNumber().setCountryCode(800).setNationalNumber(12345678L);
/third_party/libphonenumber/java/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/
DPhonePrefixMapTest.java98 number.setCountryCode(1).setNationalNumber(2121234567L); in testLookupInvalidNumber_US()
103 number.setCountryCode(1).setNationalNumber(2016641234L); in testLookupNumber_NJ()
108 number.setCountryCode(1).setNationalNumber(2126641234L); in testLookupNumber_NY()
113 number.setCountryCode(1).setNationalNumber(6503451234L); in testLookupNumber_CA_1()
118 number.setCountryCode(1).setNationalNumber(6502531234L); in testLookupNumber_CA_2()
123 number.setCountryCode(1).setNationalNumber(9724801234L); in testLookupNumberFound_TX()
128 number.setCountryCode(1).setNationalNumber(9724811234L); in testLookupNumberNotFound_TX()
133 number.setCountryCode(41).setNationalNumber(446681300L); in testLookupNumber_CH()
138 number.setCountryCode(39).setNationalNumber(212345678L).setItalianLeadingZero(true); in testLookupNumber_IT()
DPrefixFileReaderTest.java33 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L);
35 new PhoneNumber().setCountryCode(1).setNationalNumber(6502530000L);
37 new PhoneNumber().setCountryCode(1).setNationalNumber(2128120000L);
39 new PhoneNumber().setCountryCode(1).setNationalNumber(6174240000L);
41 new PhoneNumber().setCountryCode(46).setNationalNumber(81234567L);
DPrefixTimeZonesMapTest.java93 number.setCountryCode(1).setNationalNumber(1000000000L); in testLookupTimeZonesForNumberCountryLevel_US()
100 number.setCountryCode(1).setNationalNumber(2051235458L); in testLookupTimeZonesForNumber_ValidNumber_Chicago()
107 number.setCountryCode(1).setNationalNumber(2082924565L); in testLookupTimeZonesForNumber_LA()
114 number.setCountryCode(1).setNationalNumber(2016641234L); in testLookupTimeZonesForNumber_NY()
121 number.setCountryCode(41).setNationalNumber(446681300L); in testLookupTimeZonesForNumber_CH()
128 number.setCountryCode(7).setNationalNumber(87945154L); in testLookupTimeZonesForNumber_RU()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/metadata/source/
DCompositeMetadataContainerTest.java28 PhoneMetadata.newBuilder().setId(REGION_CODE).setCountryCode(COUNTRY_CODE);
32 .setCountryCode(COUNTRY_CODE);
DMapBackedMetadataContainerTest.java27 PhoneMetadata.newBuilder().setId(REGION_CODE).setCountryCode(COUNTRY_CODE);
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonenumber.java48 public PhoneNumber setCountryCode(int value) { in setCountryCode() method in Phonenumber.PhoneNumber
197 setCountryCode(other.getCountryCode()); in mergeFrom()
DPhoneNumberUtil.java2878 phoneNumber.setCountryCode(potentialCountryCode);
2909 phoneNumber.setCountryCode(defaultCountryCode);
2915 phoneNumber.setCountryCode(0);
3307 phoneNumber.setCountryCode(countryCode);
3402 phoneNumber.setCountryCode(phoneNumberIn.getCountryCode());
3463 firstNumber.setCountryCode(secondNumberCountryCode);
DPhonemetadata.java641 public PhoneMetadata setCountryCode(int value) { in setCountryCode() method in Phonemetadata.PhoneMetadata
1095 setCountryCode(objectInput.readInt()); in readExternal()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java202 metadata.setCountryCode(Integer.parseInt(element.getAttribute(COUNTRY_CODE))); in loadTerritoryTagMetadata()
/third_party/libphonenumber/
DREADME.md202 new PhoneNumber().setCountryCode(41).setNationalNumber(798765432L);
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DMetadataFilterTest.java974 metadata.setCountryCode(COUNTRY_CODE); in getFakeArmeniaPhoneMetadata()