Home
last modified time | relevance | path

Searched refs:shouldDrop (Results 1 – 2 of 2) sorted by relevance

/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DMetadataFilter.java179 if (shouldDrop("preferredInternationalPrefix")) { in filterMetadata()
182 if (shouldDrop("nationalPrefix")) { in filterMetadata()
185 if (shouldDrop("preferredExtnPrefix")) { in filterMetadata()
188 if (shouldDrop("nationalPrefixTransformRule")) { in filterMetadata()
191 if (shouldDrop("sameMobileAndFixedLinePattern")) { in filterMetadata()
194 if (shouldDrop("mainCountryForCode")) { in filterMetadata()
197 if (shouldDrop("leadingZeroPossible")) { in filterMetadata()
200 if (shouldDrop("mobileNumberPortableRegion")) { in filterMetadata()
326 boolean shouldDrop(String parent, String child) { in shouldDrop() method in MetadataFilter
337 boolean shouldDrop(String childlessField) { in shouldDrop() method in MetadataFilter
[all …]
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DMetadataFilterTest.java827 assertTrue(filter.shouldDrop("fixedLine", "exampleNumber")); in testShouldDrop()
828 assertFalse(filter.shouldDrop("sharedCost", "exampleNumber")); in testShouldDrop()
829 assertFalse(filter.shouldDrop("emergency", "exampleNumber")); in testShouldDrop()
830 assertTrue(filter.shouldDrop("emergency", "nationalNumberPattern")); in testShouldDrop()
831 assertFalse(filter.shouldDrop("preferredInternationalPrefix")); in testShouldDrop()
832 assertTrue(filter.shouldDrop("mobileNumberPortableRegion")); in testShouldDrop()
833 assertTrue(filter.shouldDrop("smsServices", "nationalNumberPattern")); in testShouldDrop()
837 .shouldDrop("fixedLine", "exampleNumber")); in testShouldDrop()
841 .shouldDrop("fixedLine", "exampleNumber")); in testShouldDrop()
843 .shouldDrop("fixedLine", "exampleNumber")); in testShouldDrop()
[all …]