Home
last modified time | relevance | path

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

/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DExampleNumbersTest.java220 if (!exampleNumber.matches(desc.getPossibleNumberPattern()) || in testEmergency()
243 if (!exampleNumber.matches(desc.getPossibleNumberPattern()) || in testCarrierSpecificShortNumbers()
DPhoneNumberUtilTest.java156 assertEquals("\\d{7}(?:\\d{3})?", metadata.getGeneralDesc().getPossibleNumberPattern()); in testGetInstanceLoadUSMetadata()
158 assertEquals("\\d{10}", metadata.getTollFree().getPossibleNumberPattern()); in testGetInstanceLoadUSMetadata()
162 assertEquals("NA", metadata.getSharedCost().getPossibleNumberPattern()); in testGetInstanceLoadUSMetadata()
179 assertEquals("\\d{2,14}", metadata.getFixedLine().getPossibleNumberPattern()); in testGetInstanceLoadDEMetadata()
181 assertEquals("\\d{10}", metadata.getTollFree().getPossibleNumberPattern()); in testGetInstanceLoadDEMetadata()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhonemetadata.java223 public String getPossibleNumberPattern() { return possibleNumberPattern_; } in getPossibleNumberPattern() method in Phonemetadata.PhoneNumberDesc
246 setPossibleNumberPattern(other.getPossibleNumberPattern()); in mergeFrom()
DPhoneNumberUtil.java2066 regexCache.getPatternForRegex(numberDesc.getPossibleNumberPattern())
2345 regionMetadata.getGeneralDesc().getPossibleNumberPattern());
2398 regexCache.getPatternForRegex(generalNumDesc.getPossibleNumberPattern());
2570 regexCache.getPatternForRegex(generalDesc.getPossibleNumberPattern());