Home
last modified time | relevance | path

Searched refs:setNationalNumber (Results 1 – 12 of 12) sorted by relevance

/external/libphonenumber/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(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(8002431234L);
[all …]
/external/libphonenumber/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 …]
/external/libphonenumber/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.java43 new PhoneNumber().setCountryCode(1).setNationalNumber(80074935247L);
45 new PhoneNumber().setCountryCode(971).setNationalNumber(600123456L);
47 new PhoneNumber().setCountryCode(54).setNationalNumber(91187654321L);
49 new PhoneNumber().setCountryCode(54).setNationalNumber(1187654321);
51 new PhoneNumber().setCountryCode(61).setNationalNumber(236618300L);
53 new PhoneNumber().setCountryCode(1).setNationalNumber(2423570000L);
55 new PhoneNumber().setCountryCode(1).setNationalNumber(2423651234L);
58 new PhoneNumber().setCountryCode(49).setNationalNumber(30123456L);
60 new PhoneNumber().setCountryCode(49).setNationalNumber(1234L);
62 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()
66 premiumRateNumber.setCountryCode(33).setNationalNumber(Integer.parseInt(premiumRateExample)); in testGetExpectedCost()
75 standardRateNumber.setCountryCode(33).setNationalNumber(Integer.parseInt(standardRateExample)); in testGetExpectedCost()
84 tollFreeNumber.setCountryCode(33).setNationalNumber(Integer.parseInt(tollFreeExample)); in testGetExpectedCost()
91 unknownCostNumber.setCountryCode(33).setNationalNumber(12345L); in testGetExpectedCost()
[all …]
DPhoneNumberMatcherTest.java405 number1.setNationalNumber(6502534561L); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation()
410 number2.setNationalNumber(4552343451L); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation()
720 number1.setNationalNumber(33316005); in testSequences()
725 number2.setNationalNumber(32316005); in testSequences()
/external/libphonenumber/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()
141 number.setNationalNumber(612345678L); in testLookupNumber_IT()
[all …]
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()
132 number.setNationalNumber(421548578L); in testLookupTimeZonesForNumber_RU()
136 number.setNationalNumber(342457897L); in testLookupTimeZonesForNumber_RU()
141 number.setNationalNumber(9342457897L); in testLookupTimeZonesForNumber_RU()
146 number.setNationalNumber(3951L); in testLookupTimeZonesForNumber_RU()
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);
/external/libphonenumber/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);
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonenumber.java63 public PhoneNumber setNationalNumber(long value) { in setNationalNumber() method in Phonenumber.PhoneNumber
199 setNationalNumber(other.getNationalNumber()); in mergeFrom()
DPhoneNumberUtil.java2424 numberCopy.setNationalNumber(nationalNumber);
2430 number.setNationalNumber(nationalNumber);
2978 phoneNumber.setNationalNumber(Long.parseLong(normalizedNationalNumber.toString()));