Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/internal/
DRegexBasedMatcher.java41 numberDesc.getNationalNumberPattern()).matcher(nationalNumber); in matchesNationalNumber()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java212 public String getNationalNumberPattern() { return nationalNumberPattern_; } in getNationalNumberPattern() method in Phonemetadata.PhoneNumberDesc
243 setNationalNumberPattern(other.getNationalNumberPattern()); in mergeFrom()
DPhoneNumberUtil.java2074 regexCache.getPatternForRegex(numberDesc.getNationalNumberPattern())
2545 regexCache.getPatternForRegex(generalDesc.getNationalNumberPattern());
2651 regexCache.getPatternForRegex(metadata.getGeneralDesc().getNationalNumberPattern());
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java166 metadata.getGeneralDesc().getNationalNumberPattern()); in testGetInstanceLoadUSMetadata()
170 assertEquals("900\\d{7}", metadata.getPremiumRate().getNationalNumberPattern()); in testGetInstanceLoadUSMetadata()
172 assertEquals("NA", metadata.getSharedCost().getNationalNumberPattern()); in testGetInstanceLoadUSMetadata()
189 metadata.getFixedLine().getNationalNumberPattern()); in testGetInstanceLoadDEMetadata()
193 assertEquals("900([135]\\d{6}|9\\d{7})", metadata.getPremiumRate().getNationalNumberPattern()); in testGetInstanceLoadDEMetadata()