Searched refs:getGeneralDesc (Results 1 – 4 of 4) sorted by relevance
129 return phoneMetadata.getGeneralDesc().getPossibleLengthList().contains(numberLength); in isPossibleShortNumberForRegion()149 if (phoneMetadata.getGeneralDesc().getPossibleLengthList().contains(shortNumberLength)) { in isPossibleShortNumber()175 PhoneNumberDesc generalDesc = phoneMetadata.getGeneralDesc(); in isValidShortNumberForRegion()242 if (!phoneMetadata.getGeneralDesc().getPossibleLengthList().contains(shortNumber.length())) { in getExpectedCostForRegion()
1324 regionMetadata.getGeneralDesc()) != ValidationResult.TOO_SHORT) {2051 return metadata.getGeneralDesc();2072 if (!isNumberMatchingDesc(nationalNumber, metadata.getGeneralDesc())) {2455 return testNumberLength(nationalNumber, metadata.getGeneralDesc());2620 PhoneNumberDesc generalDesc = defaultRegionMetadata.getGeneralDesc();2725 regexCache.getPatternForRegex(metadata.getGeneralDesc().getNationalNumberPattern());3042 if (testNumberLength(potentialNationalNumber.toString(), regionMetadata.getGeneralDesc())
402 public PhoneNumberDesc getGeneralDesc() { return generalDesc_; } in getGeneralDesc() method in Phonemetadata.PhoneMetadata
146 metadata.getGeneralDesc().getNationalNumberPattern()); in testGetInstanceLoadUSMetadata()149 assertEquals(1, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadUSMetadata()150 assertEquals(10, metadata.getGeneralDesc().getPossibleLength(0)); in testGetInstanceLoadUSMetadata()171 assertEquals(2, metadata.getGeneralDesc().getPossibleLengthLocalOnlyCount()); in testGetInstanceLoadDEMetadata()172 assertEquals(8, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadDEMetadata()206 assertEquals(0, metadata.getGeneralDesc().getPossibleLengthLocalOnlyCount()); in testGetInstanceLoadInternationalTollFreeMetadata()207 assertEquals(1, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadInternationalTollFreeMetadata()