Home
last modified time | relevance | path

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

/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java459 assertEquals("\\d{6}", phoneNumberDesc.getNationalNumberPattern()); in testProcessPhoneNumberDescElementOverridesGeneralDesc()
624 assertEquals("\\d{6}", phoneNumberDesc.getNationalNumberPattern()); in testProcessPhoneNumberDescRemovesWhiteSpacesInPatterns()
659 assertEquals("\\d{1}", metadata.getFixedLine().getNationalNumberPattern()); in testSetRelevantDescPatternsSetsAllDescriptionsForRegularLengthNumbers()
660 assertEquals("\\d{2}", metadata.getMobile().getNationalNumberPattern()); in testSetRelevantDescPatternsSetsAllDescriptionsForRegularLengthNumbers()
661 assertEquals("\\d{3}", metadata.getPager().getNationalNumberPattern()); in testSetRelevantDescPatternsSetsAllDescriptionsForRegularLengthNumbers()
662 assertEquals("\\d{4}", metadata.getTollFree().getNationalNumberPattern()); in testSetRelevantDescPatternsSetsAllDescriptionsForRegularLengthNumbers()
663 assertEquals("\\d{5}", metadata.getPremiumRate().getNationalNumberPattern()); in testSetRelevantDescPatternsSetsAllDescriptionsForRegularLengthNumbers()
664 assertEquals("\\d{6}", metadata.getSharedCost().getNationalNumberPattern()); in testSetRelevantDescPatternsSetsAllDescriptionsForRegularLengthNumbers()
665 assertEquals("\\d{7}", metadata.getPersonalNumber().getNationalNumberPattern()); in testSetRelevantDescPatternsSetsAllDescriptionsForRegularLengthNumbers()
666 assertEquals("\\d{8}", metadata.getVoip().getNationalNumberPattern()); in testSetRelevantDescPatternsSetsAllDescriptionsForRegularLengthNumbers()
[all …]
DMetadataFilterTest.java878 assertEquals(desc.getNationalNumberPattern(), NATIONAL_NUMBER_PATTERN); in testFilterMetadata_liteBuild()
905 assertEquals(desc.getNationalNumberPattern(), NATIONAL_NUMBER_PATTERN); in testFilterMetadata_specialBuild()
939 assertEquals(desc.getNationalNumberPattern(), NATIONAL_NUMBER_PATTERN); in testFilterMetadata_emptyFilter()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/
DRegexBasedMatcher.java40 String nationalNumberPattern = numberDesc.getNationalNumberPattern(); in matchNationalNumber()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/internal/
DMatcherTest.java92 strBuilder.append(desc.getNationalNumberPattern()); in toString()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java507 boolean mobileAndFixedAreSame = metadata.getMobile().getNationalNumberPattern() in setRelevantDescPatterns()
508 .equals(metadata.getFixedLine().getNationalNumberPattern()); in setRelevantDescPatterns()
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DBuildMetadataJsonFromXml.java247 jsArrayBuilder.append(desc.getNationalNumberPattern()); in toJsArray()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java214 setNationalNumberPattern(other.getNationalNumberPattern()); in mergeFrom()
237 public String getNationalNumberPattern() { return nationalNumberPattern_; } in getNationalNumberPattern() method in Phonemetadata.PhoneNumberDesc
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java208 metadata.getGeneralDesc().getNationalNumberPattern()); in testGetInstanceLoadUSMetadata()
210 metadata.getFixedLine().getNationalNumberPattern()); in testGetInstanceLoadUSMetadata()
216 assertEquals("900\\d{7}", metadata.getPremiumRate().getNationalNumberPattern()); in testGetInstanceLoadUSMetadata()
240 metadata.getFixedLine().getNationalNumberPattern()); in testGetInstanceLoadDEMetadata()
243 assertEquals("900([135]\\d{6}|9\\d{7})", metadata.getPremiumRate().getNationalNumberPattern()); in testGetInstanceLoadDEMetadata()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js278 metadata.getGeneralDesc().getNationalNumberPattern());
281 metadata.getFixedLine().getNationalNumberPattern());
283 '900\\d{7}', metadata.getPremiumRate().getNationalNumberPattern());
304 metadata.getFixedLine().getNationalNumberPattern());
308 metadata.getPremiumRate().getNationalNumberPattern());
Dphonemetadata.pb.js410 i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPattern = function() { method in i18n.phonenumbers.PhoneNumberDesc