Home
last modified time | relevance | path

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

/external/libphonenumber/java/test/com/android/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(1).setNationalNumber(6502530000L);
47 new PhoneNumber().setCountryCode(1).setNationalNumber(6509600000L);
49 new PhoneNumber().setCountryCode(1).setNationalNumber(2128120000L);
51 new PhoneNumber().setCountryCode(1).setNationalNumber(6174240000L);
53 new PhoneNumber().setCountryCode(1).setNationalNumber(123456789L);
55 new PhoneNumber().setCountryCode(1).setNationalNumber(2423651234L);
[all …]
/external/libphonenumber/java/test/com/android/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.java42 new PhoneNumber().setCountryCode(1).setNationalNumber(80074935247L);
44 new PhoneNumber().setCountryCode(971).setNationalNumber(600123456L);
46 new PhoneNumber().setCountryCode(54).setNationalNumber(91187654321L);
48 new PhoneNumber().setCountryCode(54).setNationalNumber(1187654321);
50 new PhoneNumber().setCountryCode(61).setNationalNumber(236618300L);
52 new PhoneNumber().setCountryCode(1).setNationalNumber(2423570000L);
54 new PhoneNumber().setCountryCode(1).setNationalNumber(2423651234L);
57 new PhoneNumber().setCountryCode(49).setNationalNumber(30123456L);
59 new PhoneNumber().setCountryCode(49).setNationalNumber(1234L);
61 new PhoneNumber().setCountryCode(44).setNationalNumber(7912345678L);
[all …]
DShortNumberInfoTest.java35 possibleNumber.setCountryCode(33).setNationalNumber(123456L); in testIsPossibleShortNumber()
40 impossibleNumber.setCountryCode(33).setNationalNumber(9L); in testIsPossibleShortNumber()
47 new PhoneNumber().setCountryCode(44).setNationalNumber(11001L))); in testIsPossibleShortNumber()
52 new PhoneNumber().setCountryCode(33).setNationalNumber(1010L))); in testIsValidShortNumber()
55 new PhoneNumber().setCountryCode(33).setNationalNumber(123456L))); in testIsValidShortNumber()
60 new PhoneNumber().setCountryCode(44).setNationalNumber(18001L))); in testIsValidShortNumber()
69 premiumRateNumber.setCountryCode(33).setNationalNumber(Integer.parseInt(premiumRateExample)); in testGetExpectedCost()
78 standardRateNumber.setCountryCode(33).setNationalNumber(Integer.parseInt(standardRateExample)); in testGetExpectedCost()
87 tollFreeNumber.setCountryCode(33).setNationalNumber(Integer.parseInt(tollFreeExample)); in testGetExpectedCost()
94 unknownCostNumber.setCountryCode(33).setNationalNumber(12345L); in testGetExpectedCost()
[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()
719 number1.setCountryCode(phoneUtil.getCountryCodeForRegion(region)); in testSequences()
724 number2.setCountryCode(phoneUtil.getCountryCodeForRegion(region)); in testSequences()
/external/libphonenumber/java/test/com/android/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()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhonenumber.java47 public PhoneNumber setCountryCode(int value) { in setCountryCode() method in Phonenumber.PhoneNumber
196 setCountryCode(other.getCountryCode()); in mergeFrom()
DPhoneNumberUtil.java2546 phoneNumber.setCountryCode(potentialCountryCode);
2582 phoneNumber.setCountryCode(defaultCountryCode);
2588 phoneNumber.setCountryCode(0);
2965 phoneNumber.setCountryCode(countryCode);
3114 firstNumber.setCountryCode(secondNumberCountryCode);
DPhonemetadata.java550 public PhoneMetadata setCountryCode(int value) { in setCountryCode() method in Phonemetadata.PhoneMetadata
940 setCountryCode(objectInput.readInt()); in readExternal()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAddress.java87 public void setCountryCode(String countryCode) { in setCountryCode() method in ShadowAddress
DShadowGeocoder.java51 address.setCountryCode(countryCode); in getFromLocation()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
DPersonalDataManagerTest.java57 profile.setCountryCode("CA"); in testAddAndEditProfiles()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/autofill/
DPersonalDataManager.java208 public void setCountryCode(String countryCode) { in setCountryCode() method in PersonalDataManager.AutofillProfile