Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java124 return matcherApi.matchesPossibleNumber(shortNumber, phoneMetadata.getGeneralDesc()); in isPossibleShortNumberForRegion()
142 phoneMetadata.getGeneralDesc()); in isPossibleShortNumberForRegion()
159 if (matcherApi.matchesPossibleNumber(shortNumber, phoneMetadata.getGeneralDesc())) { in isPossibleShortNumber()
187 PhoneNumberDesc generalDesc = phoneMetadata.getGeneralDesc(); in isValidShortNumberForRegion()
211 PhoneNumberDesc generalDesc = phoneMetadata.getGeneralDesc(); in isValidShortNumberForRegion()
DPhoneNumberUtil.java1907 PhoneNumberDesc desc = metadata.getGeneralDesc();
1966 return metadata.getGeneralDesc();
1987 if (!isNumberMatchingDesc(nationalNumber, metadata.getGeneralDesc())) {
2337 regionMetadata.getGeneralDesc().getPossibleNumberPattern());
2377 regexCache.getPatternForRegex(metadata.getGeneralDesc().getPossibleNumberPattern());
2543 PhoneNumberDesc generalDesc = defaultRegionMetadata.getGeneralDesc();
2651 regexCache.getPatternForRegex(metadata.getGeneralDesc().getNationalNumberPattern());
DPhonemetadata.java314 public PhoneNumberDesc getGeneralDesc() { return generalDesc_; } in getGeneralDesc() method in Phonemetadata.PhoneMetadata
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java166 metadata.getGeneralDesc().getNationalNumberPattern()); in testGetInstanceLoadUSMetadata()
167 assertEquals("\\d{7}(?:\\d{3})?", metadata.getGeneralDesc().getPossibleNumberPattern()); in testGetInstanceLoadUSMetadata()
168 assertTrue(metadata.getGeneralDesc().exactlySameAs(metadata.getFixedLine())); in testGetInstanceLoadUSMetadata()
218 assertEquals("12345678", metadata.getGeneralDesc().getExampleNumber()); in testGetInstanceLoadInternationalTollFreeMetadata()