Searched refs:MetadataFilter (Results 1 – 7 of 7) sorted by relevance
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/ |
D | MetadataFilterTest.java | 63 assertEquals(MetadataFilter.forLiteBuild(), new MetadataFilter(blacklist)); in testForLiteBuild() 71 blacklist.put("fixedLine", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testForSpecialBuild() 72 blacklist.put("tollFree", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testForSpecialBuild() 73 blacklist.put("premiumRate", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testForSpecialBuild() 74 blacklist.put("sharedCost", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testForSpecialBuild() 75 blacklist.put("personalNumber", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testForSpecialBuild() 76 blacklist.put("voip", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testForSpecialBuild() 77 blacklist.put("pager", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testForSpecialBuild() 78 blacklist.put("uan", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testForSpecialBuild() 79 blacklist.put("emergency", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testForSpecialBuild() [all …]
|
D | MetadataFilterCoverageTest.java | 50 for (String field : MetadataFilter.excludableParentFields) { in testCoverageOfExcludableParentFields() 59 MetadataFilter.excludableParentFields.size()); in testCoverageOfExcludableParentFields() 63 for (String field : MetadataFilter.excludableChildFields) { in testCoverageOfExcludableChildFields() 71 MetadataFilter.excludableChildFields.size()); in testCoverageOfExcludableChildFields() 75 for (String field : MetadataFilter.excludableChildlessFields) { in testCoverageOfExcludableChildlessFields() 83 MetadataFilter.excludableChildlessFields.size()); in testCoverageOfExcludableChildlessFields()
|
D | BuildMetadataFromXmlTest.java | 1107 MetadataFilter.emptyFilter()); in testGetMetadataFilter() 1109 MetadataFilter.forLiteBuild()); in testGetMetadataFilter() 1111 MetadataFilter.forSpecialBuild()); in testGetMetadataFilter()
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
D | MetadataFilter.java | 34 final class MetadataFilter { class 90 static MetadataFilter forLiteBuild() { in forLiteBuild() 92 return new MetadataFilter(parseFieldMapFromString("exampleNumber")); in forLiteBuild() 95 static MetadataFilter forSpecialBuild() { in forSpecialBuild() 97 return new MetadataFilter(computeComplement(parseFieldMapFromString("mobile"))); in forSpecialBuild() 100 static MetadataFilter emptyFilter() { in emptyFilter() 102 return new MetadataFilter(new TreeMap<String, TreeSet<String>>()); in emptyFilter() 106 MetadataFilter(TreeMap<String, TreeSet<String>> blacklist) { in MetadataFilter() method in MetadataFilter 112 return blacklist.equals(((MetadataFilter) obj).blacklist); in equals()
|
D | BuildMetadataFromXml.java | 120 MetadataFilter metadataFilter = getMetadataFilter(liteBuild, specialBuild); in buildPhoneMetadataCollection() 760 static MetadataFilter getMetadataFilter(boolean liteBuild, boolean specialBuild) { in getMetadataFilter() 765 return MetadataFilter.forSpecialBuild(); in getMetadataFilter() 768 return MetadataFilter.forLiteBuild(); in getMetadataFilter() 770 return MetadataFilter.emptyFilter(); in getMetadataFilter()
|
/third_party/libphonenumber/resources/ |
D | phonemetadata.proto | 97 // should change the excludable field sets or the behavior in MetadataFilter. 135 // should change the excludable field sets or the behavior in MetadataFilter.
|
/third_party/libphonenumber/ |
D | release_notes.txt | 1471 - Added MetadataFilter, an internal API which is under development and subject
|