Home
last modified time | relevance | path

Searched refs:getMetadataForRegion (Results 1 – 17 of 17) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DMultiFileMetadataSourceImplTest.java33 PhoneMetadata uaeMetadata = SOURCE.getMetadataForRegion("AE"); in testGeoPhoneNumberMetadataLoadCorrectly()
40 MISSING_FILE_SOURCE.getMetadataForRegion("AE"); in testGeoPhoneNumberMetadataLoadFromMissingFileThrowsException()
DExampleNumbersTest.java150 phoneNumberUtil.getMetadataForRegion(regionCode).getNoInternationalDialling(); in testCanBeInternationallyDialled()
244 … PhoneNumberDesc desc = shortNumberMetadataSource.getMetadataForRegion(regionCode).getEmergency(); in testEmergency()
265 …PhoneNumberDesc desc = shortNumberMetadataSource.getMetadataForRegion(regionCode).getCarrierSpecif… in testCarrierSpecificShortNumbers()
282 …PhoneNumberDesc desc = shortNumberMetadataSource.getMetadataForRegion(regionCode).getSmsServices(); in testSmsServiceShortNumbers()
DSingleFileMetadataSourceImplTest.java33 MISSING_FILE_SOURCE.getMetadataForRegion("AE"); in testGeoPhoneNumberMetadataLoadFromMissingFileThrowsException()
DPhoneNumberUtilTest.java161 assertNull(phoneUtil.getMetadataForRegion("No Such Region")); in testGetInstanceLoadBadMetadata()
198 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.US); in testGetInstanceLoadUSMetadata()
222 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.DE); in testGetInstanceLoadDEMetadata()
247 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.AR); in testGetInstanceLoadARMetadata()
1949 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.US); in testMaybeExtractCountryCode()
3176 assertNull(phoneUtil.getMetadataForRegion(RegionCode.UN001)); in testGetMetadataForRegionForNonGeoEntity_shouldBeNull()
3180 assertNull(phoneUtil.getMetadataForRegion(RegionCode.ZZ)); in testGetMetadataForRegionForUnknownRegion_shouldBeNull()
3193 phoneNumberUtilWithMissingMetadata.getMetadataForRegion(RegionCode.US); in testGetMetadataForRegionForMissingMetadata()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java121 currentMetadata = getMetadataForRegion(defaultCountry); in AsYouTypeFormatter()
127 private PhoneMetadata getMetadataForRegion(String regionCode) { in getMetadataForRegion() method in AsYouTypeFormatter
130 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(mainCountry); in getMetadataForRegion()
277 currentMetadata = getMetadataForRegion(defaultCountry); in clear()
617 currentMetadata = getMetadataForRegion(newRegionCode); in attemptToExtractCountryCallingCode()
DPhoneNumberUtil.java875 PhoneMetadata metadata = getMetadataForRegion(getRegionCodeForNumber(number));
1119 PhoneMetadata metadata = getMetadataForRegion(regionCode);
1413 : getMetadataForRegion(regionCode);
1491 PhoneMetadata regionMetadata = getMetadataForRegion(regionCallingFrom);
1583 PhoneMetadata metadataForRegionCallingFrom = getMetadataForRegion(regionCallingFrom);
1675 PhoneMetadata metadata = getMetadataForRegion(regionCode);
1813 PhoneMetadata metadataForRegionCallingFrom = getMetadataForRegion(regionCallingFrom);
2045 PhoneNumberDesc desc = getNumberDescByType(getMetadataForRegion(regionCode),
2097 PhoneNumberDesc desc = getNumberDescByType(getMetadataForRegion(regionCode), type);
2290 PhoneMetadata getMetadataForRegion(String regionCode) {
[all …]
DMetadataSource.java31 PhoneMetadata getMetadataForRegion(String regionCode); in getMetadataForRegion() method
DSingleFileMetadataSourceImpl.java49 public PhoneMetadata getMetadataForRegion(String regionCode) { in getMetadataForRegion() method in SingleFileMetadataSourceImpl
DMultiFileMetadataSourceImpl.java63 public PhoneMetadata getMetadataForRegion(String regionCode) { in getMetadataForRegion() method in MultiFileMetadataSourceImpl
DShortNumberInfo.java127 return shortNumberMetadataSource.getMetadataForRegion(regionCode); in getShortNumberMetadataForRegion()
DPhoneNumberMatcher.java666 PhoneMetadata metadata = util.getMetadataForRegion(phoneNumberRegion); in isNationalPrefixPresentIfRequired()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/metadata/source/
DRegionMetadataSource.java39 PhoneMetadata getMetadataForRegion(String regionCode); in getMetadataForRegion() method
DRegionMetadataSourceImpl.java54 public PhoneMetadata getMetadataForRegion(String regionCode) { in getMetadataForRegion() method in RegionMetadataSourceImpl
DMetadataSourceImpl.java64 public PhoneMetadata getMetadataForRegion(String regionCode) { in getMetadataForRegion() method in MetadataSourceImpl
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil.js1271 var metadata = this.getMetadataForRegion(this.getRegionCodeForNumber(number));
1543 this.getMetadataForRegion(regionCode)));
1907 this.getMetadataForRegion(regionCode);
2014 var regionMetadata = this.getMetadataForRegion(regionCallingFrom);
2133 this.getMetadataForRegion(regionCallingFrom);
2251 var metadata = this.getMetadataForRegion(regionCode);
2442 this.getMetadataForRegion(regionCallingFrom);
2764 this.getMetadataForRegion(regionCode), type);
2977 i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegion = method in i18n.phonenumbers.PhoneNumberUtil
3011 return this.getMetadataForRegion('' + countryCallingCode);
[all …]
Dasyoutypeformatter.js269 var metadata = this.phoneUtil_.getMetadataForRegion(mainCountry);
Dphonenumberutil_test.js267 var metadata = phoneUtil.getMetadataForRegion(RegionCode.US);
291 var metadata = phoneUtil.getMetadataForRegion(RegionCode.DE);
313 var metadata = phoneUtil.getMetadataForRegion(RegionCode.AR);
2597 var metadata = phoneUtil.getMetadataForRegion(RegionCode.US);