Home
last modified time | relevance | path

Searched refs:nationalNumberPattern (Results 1 – 3 of 3) sorted by relevance

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/internal/
DRegexBasedMatcher.java40 String nationalNumberPattern = numberDesc.getNationalNumberPattern(); in matchNationalNumber() local
43 if (nationalNumberPattern.length() == 0) { in matchNationalNumber()
46 return match(number, regexCache.getPatternForRegex(nationalNumberPattern), allowPrefixMatch); in matchNationalNumber()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/internal/
DRegexBasedMatcher.java42 String nationalNumberPattern = numberDesc.getNationalNumberPattern(); in matchNationalNumber() local
45 if (nationalNumberPattern.length() == 0) { in matchNationalNumber()
48 return match(number, regexCache.getPatternForRegex(nationalNumberPattern), allowPrefixMatch); in matchNationalNumber()
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/internal/
DMatcherTest.java62 private PhoneNumberDesc createDesc(String nationalNumberPattern) { in createDesc() argument
64 if (nationalNumberPattern.length() > 0) { in createDesc()
65 desc.setNationalNumberPattern(nationalNumberPattern); in createDesc()