Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/internal/
DRegexBasedMatcher.java49 numberDesc.getPossibleNumberPattern()).matcher(nationalNumber); in matchesPossibleNumber()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java223 public String getPossibleNumberPattern() { return possibleNumberPattern_; } in getPossibleNumberPattern() method in Phonemetadata.PhoneNumberDesc
246 setPossibleNumberPattern(other.getPossibleNumberPattern()); in mergeFrom()
DPhoneNumberUtil.java2067 regexCache.getPatternForRegex(numberDesc.getPossibleNumberPattern())
2337 regionMetadata.getGeneralDesc().getPossibleNumberPattern());
2377 regexCache.getPatternForRegex(metadata.getGeneralDesc().getPossibleNumberPattern());
2549 regexCache.getPatternForRegex(generalDesc.getPossibleNumberPattern());
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java167 assertEquals("\\d{7}(?:\\d{3})?", metadata.getGeneralDesc().getPossibleNumberPattern()); in testGetInstanceLoadUSMetadata()
169 assertEquals("\\d{10}", metadata.getTollFree().getPossibleNumberPattern()); in testGetInstanceLoadUSMetadata()
173 assertEquals("NA", metadata.getSharedCost().getPossibleNumberPattern()); in testGetInstanceLoadUSMetadata()
190 assertEquals("\\d{2,14}", metadata.getFixedLine().getPossibleNumberPattern()); in testGetInstanceLoadDEMetadata()
192 assertEquals("\\d{10}", metadata.getTollFree().getPossibleNumberPattern()); in testGetInstanceLoadDEMetadata()