Home
last modified time | relevance | path

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

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dshortnumberinfo.js135 return phoneMetadata.getGeneralDesc().possibleLengthArray().includes(
160 var possibleLengths = phoneMetadata.getGeneralDesc().possibleLengthArray();
189 var generalDesc = phoneMetadata.getGeneralDesc();
268 if (!phoneMetadata.getGeneralDesc().possibleLengthArray().includes(
Dphonenumberutil.js2879 return metadata.getGeneralDesc();
2918 if (!this.isNumberMatchingDesc_(nationalNumber, metadata.getGeneralDesc())) {
3427 metadata.getGeneralDesc().possibleLengthArray() :
3454 metadata.getGeneralDesc().possibleLengthArray() :
3784 var generalDesc = defaultRegionMetadata.getGeneralDesc();
3938 metadata.getGeneralDesc().getNationalNumberPatternOrDefault());
Dphonemetadata.pb.js664 i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDesc = function() { method in i18n.phonenumbers.PhoneMetadata
Dphonenumberutil_test.js278 metadata.getGeneralDesc().getNationalNumberPattern());
337 assertEquals(0, metadata.getGeneralDesc().possibleLengthLocalOnlyCount());
338 assertEquals(1, metadata.getGeneralDesc().possibleLengthCount());
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java150 return phoneMetadata.getGeneralDesc().getPossibleLengthList().contains(numberLength); in isPossibleShortNumberForRegion()
170 if (phoneMetadata.getGeneralDesc().getPossibleLengthList().contains(shortNumberLength)) { in isPossibleShortNumber()
195 PhoneNumberDesc generalDesc = phoneMetadata.getGeneralDesc(); in isValidShortNumberForRegion()
261 if (!phoneMetadata.getGeneralDesc().getPossibleLengthList().contains(shortNumber.length())) { in getExpectedCostForRegion()
DPhoneNumberUtil.java2216 return metadata.getGeneralDesc();
2237 if (!isNumberMatchingDesc(nationalNumber, metadata.getGeneralDesc())) {
2603 ? metadata.getGeneralDesc().getPossibleLengthList() : descForType.getPossibleLengthList();
2621 ? metadata.getGeneralDesc().getPossibleLengthList()
2896 PhoneNumberDesc generalDesc = defaultRegionMetadata.getGeneralDesc();
2998 PhoneNumberDesc generalDesc = metadata.getGeneralDesc();
DPhonemetadata.java385 public PhoneNumberDesc getGeneralDesc() { return generalDesc_; } in getGeneralDesc() method in Phonemetadata.PhoneMetadata
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java495 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testBuildPhoneMetadataCollection_liteBuild()
499 assertEquals("", metadata.getGeneralDesc().getExampleNumber()); in testBuildPhoneMetadataCollection_liteBuild()
541 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testBuildPhoneMetadataCollection_specialBuild()
545 assertEquals("", metadata.getGeneralDesc().getExampleNumber()); in testBuildPhoneMetadataCollection_specialBuild()
588 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testBuildPhoneMetadataCollection_fullBuild()
592 assertEquals("", metadata.getGeneralDesc().getExampleNumber()); in testBuildPhoneMetadataCollection_fullBuild()
DMetadataFilterTest.java874 metadata.getGeneralDesc(), in testFilterMetadata_liteBuild()
903 metadata.getGeneralDesc(), in testFilterMetadata_specialBuild()
909 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testFilterMetadata_specialBuild()
935 metadata.getGeneralDesc(), in testFilterMetadata_emptyFilter()
943 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testFilterMetadata_emptyFilter()
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DBuildMetadataJsonFromXml.java300 toJsArray(metadata.getGeneralDesc(), jsArrayBuilder); in toJsArray()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java208 metadata.getGeneralDesc().getNationalNumberPattern()); in testGetInstanceLoadUSMetadata()
211 assertEquals(1, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadUSMetadata()
212 assertEquals(10, metadata.getGeneralDesc().getPossibleLength(0)); in testGetInstanceLoadUSMetadata()
233 assertEquals(2, metadata.getGeneralDesc().getPossibleLengthLocalOnlyCount()); in testGetInstanceLoadDEMetadata()
234 assertEquals(8, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadDEMetadata()
268 assertEquals(0, metadata.getGeneralDesc().getPossibleLengthLocalOnlyCount()); in testGetInstanceLoadInternationalTollFreeMetadata()
269 assertEquals(1, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadInternationalTollFreeMetadata()