Searched refs:getGeneralDesc (Results 1 – 11 of 11) sorted by relevance
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | shortnumberinfo.js | 135 return phoneMetadata.getGeneralDesc().possibleLengthArray().includes( 160 var possibleLengths = phoneMetadata.getGeneralDesc().possibleLengthArray(); 189 var generalDesc = phoneMetadata.getGeneralDesc(); 268 if (!phoneMetadata.getGeneralDesc().possibleLengthArray().includes(
|
D | phonenumberutil.js | 2879 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());
|
D | phonemetadata.pb.js | 664 i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDesc = function() { method in i18n.phonenumbers.PhoneMetadata
|
D | phonenumberutil_test.js | 278 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/ |
D | ShortNumberInfo.java | 150 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()
|
D | PhoneNumberUtil.java | 2216 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();
|
D | Phonemetadata.java | 385 public PhoneNumberDesc getGeneralDesc() { return generalDesc_; } in getGeneralDesc() method in Phonemetadata.PhoneMetadata
|
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXmlTest.java | 495 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()
|
D | MetadataFilterTest.java | 874 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/ |
D | BuildMetadataJsonFromXml.java | 300 toJsArray(metadata.getGeneralDesc(), jsArrayBuilder); in toJsArray()
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 208 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()
|