Home
last modified time | relevance | path

Searched refs:getNationalSignificantNumber (Results 1 – 11 of 11) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java149 int numberLength = getNationalSignificantNumber(number).length(); in isPossibleShortNumberForRegion()
164 int shortNumberLength = getNationalSignificantNumber(number).length(); in isPossibleShortNumber()
194 String shortNumber = getNationalSignificantNumber(number); in isValidShortNumberForRegion()
256 String shortNumber = getNationalSignificantNumber(number); in getExpectedCostForRegion()
346 String nationalNumber = getNationalSignificantNumber(number); in getRegionCodeForShortNumberFromRegionList()
482 String nationalNumber = getNationalSignificantNumber(number); in isCarrierSpecific()
506 String nationalNumber = getNationalSignificantNumber(number); in isCarrierSpecificForRegion()
532 && matchesPossibleNumberAndNationalNumber(getNationalSignificantNumber(number), in isSmsServiceForRegion()
547 private static String getNationalSignificantNumber(PhoneNumber number) { in getNationalSignificantNumber() method in ShortNumberInfo
DPhoneNumberMatcher.java490 String nationalSignificantNumber = util.getNationalSignificantNumber(number); in allNumberGroupsRemainGrouped()
516 util.getNationalSignificantNumber(number))) { in allNumberGroupsAreExactlyPresent()
563 String nationalSignificantNumber = util.getNationalSignificantNumber(number); in getNationalNumberGroups()
582 String nationalSignificantNumber = util.getNationalSignificantNumber(number); in checkNumberGroupingIsValid()
671 String nationalNumber = util.getNationalSignificantNumber(number); in isNationalPrefixPresentIfRequired()
DPhoneNumberUtil.java1286 String nationalSignificantNumber = getNationalSignificantNumber(number);
1328 String nationalSignificantNumber = getNationalSignificantNumber(number);
1388 String nationalSignificantNumber = getNationalSignificantNumber(number);
1493 && testNumberLength(getNationalSignificantNumber(numberNoExt), regionMetadata)
1563 String nationalSignificantNumber = getNationalSignificantNumber(number);
1676 String nationalNumber = getNationalSignificantNumber(number);
1755 String nationalNumber = getNationalSignificantNumber(number);
1806 String nationalNumber = getNationalSignificantNumber(number);
1883 public String getNationalSignificantNumber(PhoneNumber number) {
2232 String nationalSignificantNumber = getNationalSignificantNumber(number);
[all …]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil.js1725 var nationalSignificantNumber = this.getNationalSignificantNumber(number);
1785 var nationalSignificantNumber = this.getNationalSignificantNumber(number);
1868 var nationalSignificantNumber = this.getNationalSignificantNumber(number);
2016 this.testNumberLength_(this.getNationalSignificantNumber(numberNoExt),
2105 var nationalSignificantNumber = this.getNationalSignificantNumber(number);
2253 var nationalNumber = this.getNationalSignificantNumber(number);
2370 var nationalNumber = this.getNationalSignificantNumber(number);
2431 var nationalNumber = this.getNationalSignificantNumber(number);
2522 i18n.phonenumbers.PhoneNumberUtil.prototype.getNationalSignificantNumber = method in i18n.phonenumbers.PhoneNumberUtil
2904 var nationalSignificantNumber = this.getNationalSignificantNumber(number);
[all …]
Dphonenumberutil_test.js520 assertEquals('6502530000', phoneUtil.getNationalSignificantNumber(US_NUMBER));
523 assertEquals('345678901', phoneUtil.getNationalSignificantNumber(IT_MOBILE));
526 assertEquals('0236618300', phoneUtil.getNationalSignificantNumber(IT_NUMBER));
530 phoneUtil.getNationalSignificantNumber(INTERNATIONAL_TOLL_FREE));
535 assertEquals('', phoneUtil.getNationalSignificantNumber(emptyNumber));
545 assertEquals('00650', phoneUtil.getNationalSignificantNumber(number));
550 assertEquals('650', phoneUtil.getNationalSignificantNumber(number));
/third_party/libphonenumber/java/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPrefixTimeZonesMap.java92 + PhoneNumberUtil.getInstance().getNationalSignificantNumber(number)); in lookupTimeZonesForNumber()
DPhonePrefixMap.java182 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup()
/third_party/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java119 String nationalNumber = phoneUtil.getNationalSignificantNumber(number); in getDescriptionForValidNumber()
/third_party/libphonenumber/resources/
Dphonenumber.proto38 // getNationalSignificantNumber method of PhoneNumberUtil.
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java375 assertEquals("6502530000", phoneUtil.getNationalSignificantNumber(US_NUMBER)); in testGetNationalSignificantNumber()
378 assertEquals("345678901", phoneUtil.getNationalSignificantNumber(IT_MOBILE)); in testGetNationalSignificantNumber()
381 assertEquals("0236618300", phoneUtil.getNationalSignificantNumber(IT_NUMBER)); in testGetNationalSignificantNumber()
383 assertEquals("12345678", phoneUtil.getNationalSignificantNumber(INTERNATIONAL_TOLL_FREE)); in testGetNationalSignificantNumber()
392 assertEquals("00650", phoneUtil.getNationalSignificantNumber(number)); in testGetNationalSignificantNumber_ManyLeadingZeros()
396 assertEquals("650", phoneUtil.getNationalSignificantNumber(number)); in testGetNationalSignificantNumber_ManyLeadingZeros()
/third_party/libphonenumber/
Drelease_notes.txt1168 - Bug fix for Javascript: getNationalSignificantNumber used to print the string
1305 - Making getNationalSignificantNumber more robust in the face of malicious
2697 - getNationalSignificantNumber is no longer a static method, but is instead an instance method.