Home
last modified time | relevance | path

Searched refs:getPossibleLengthList (Results 1 – 5 of 5) sorted by relevance

/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()
261 if (!phoneMetadata.getGeneralDesc().getPossibleLengthList().contains(shortNumber.length())) { in getExpectedCostForRegion()
564 && !numberDesc.getPossibleLengthList().contains(number.length())) { in matchesPossibleNumberAndNationalNumber()
DPhoneNumberUtil.java2328 List<Integer> possibleLengths = numberDesc.getPossibleLengthList();
2602 List<Integer> possibleLengths = descForType.getPossibleLengthList().isEmpty()
2603 ? metadata.getGeneralDesc().getPossibleLengthList() : descForType.getPossibleLengthList();
2621 ? metadata.getGeneralDesc().getPossibleLengthList()
2622 : mobileDesc.getPossibleLengthList());
DPhonemetadata.java251 public java.util.List<Integer> getPossibleLengthList() { in getPossibleLengthList() method in Phonemetadata.PhoneNumberDesc
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DMetadataFilterTest.java879 assertContentsEqual(desc.getPossibleLengthList(), possibleLengths); in testFilterMetadata_liteBuild()
906 assertContentsEqual(desc.getPossibleLengthList(), possibleLengths); in testFilterMetadata_specialBuild()
917 assertEquals(desc.getPossibleLengthList().size(), 0); in testFilterMetadata_specialBuild()
940 assertContentsEqual(desc.getPossibleLengthList(), possibleLengths); in testFilterMetadata_emptyFilter()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java699 if (parentDesc == null || parentDesc.getPossibleLengthList().contains(length)) { in setPossibleLengths()
708 length, parentDesc.getPossibleLengthList())); in setPossibleLengths()
722 || parentDesc.getPossibleLengthList().contains(length)) { in setPossibleLengths()