Home
last modified time | relevance | path

Searched refs:getRegionCodeForNumber (Results 1 – 9 of 9) sorted by relevance

/third_party/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapper.java108 if (phoneUtil.isMobileNumberPortableRegion(phoneUtil.getRegionCodeForNumber(number))) { in getSafeDisplayName()
/third_party/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java169 String regionCode = phoneUtil.getRegionCodeForNumber(number); in getDescriptionForValidNumber()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Ddemo.js79 output.append(phoneUtil_.getRegionCodeForNumber(number));
Dphonenumberutil.js1271 var metadata = this.getMetadataForRegion(this.getRegionCodeForNumber(number));
2896 var regionCode = this.getRegionCodeForNumber(number);
3055 var regionCode = this.getRegionCodeForNumber(number);
3114 i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumber = method in i18n.phonenumbers.PhoneNumberUtil
4607 var metadata = this.getMetadataForRegion(this.getRegionCodeForNumber(number));
Dphonenumberutil_test.js1742 assertEquals(RegionCode.YT, phoneUtil.getRegionCodeForNumber(reNumber));
1813 assertEquals(RegionCode.BS, phoneUtil.getRegionCodeForNumber(BS_NUMBER));
1814 assertEquals(RegionCode.US, phoneUtil.getRegionCodeForNumber(US_NUMBER));
1815 assertEquals(RegionCode.GB, phoneUtil.getRegionCodeForNumber(GB_MOBILE));
1818 phoneUtil.getRegionCodeForNumber(INTERNATIONAL_TOLL_FREE));
1821 phoneUtil.getRegionCodeForNumber(UNIVERSAL_PREMIUM_RATE));
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java875 PhoneMetadata metadata = getMetadataForRegion(getRegionCodeForNumber(number));
2227 String regionCode = getRegionCodeForNumber(number);
2347 String regionCode = getRegionCodeForNumber(number);
2390 public String getRegionCodeForNumber(PhoneNumber number) {
3579 PhoneMetadata metadata = getMetadataForRegion(getRegionCodeForNumber(number));
/third_party/libphonenumber/java/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java300 String region = phoneUtil.getRegionCodeForNumber(number); in getOutputForSingleNumber()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1249 assertEquals(RegionCode.YT, phoneUtil.getRegionCodeForNumber(reNumber)); in testIsValidForRegion()
1306 assertEquals(RegionCode.BS, phoneUtil.getRegionCodeForNumber(BS_NUMBER)); in testGetRegionCodeForNumber()
1307 assertEquals(RegionCode.US, phoneUtil.getRegionCodeForNumber(US_NUMBER)); in testGetRegionCodeForNumber()
1308 assertEquals(RegionCode.GB, phoneUtil.getRegionCodeForNumber(GB_MOBILE)); in testGetRegionCodeForNumber()
1309 assertEquals(RegionCode.UN001, phoneUtil.getRegionCodeForNumber(INTERNATIONAL_TOLL_FREE)); in testGetRegionCodeForNumber()
1310 assertEquals(RegionCode.UN001, phoneUtil.getRegionCodeForNumber(UNIVERSAL_PREMIUM_RATE)); in testGetRegionCodeForNumber()
/third_party/libphonenumber/
Drelease_notes.txt1247 - Doc updates for getRegionCodeForNumber to clarify that it does not