/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | PackageFilterTest.kt | 25 val filter = PackageFilter.parse("foo.bar:bar.baz") in testExact() constant 26 assertThat(filter.matches("foo.bar")).isTrue() in testExact() 27 assertThat(filter.matches("bar.baz")).isTrue() in testExact() 28 assertThat(filter.matches("foo.bar.baz")).isFalse() in testExact() 29 assertThat(filter.matches("foo")).isFalse() in testExact() 30 assertThat(filter.matches("foo.barf")).isFalse() in testExact() 35 val filter = PackageFilter.parse("foo.bar*:bar.baz.*") in testWildcard() constant 36 assertThat(filter.matches("foo.bar")).isTrue() in testWildcard() 37 assertThat(filter.matches("foo.bars")).isTrue() in testWildcard() 38 assertThat(filter.matches("foo.bar.baz")).isTrue() in testWildcard() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ComparisonVisitor.kt | 89 …fun compare(visitor: ComparisonVisitor, old: Codebase, new: Codebase, filter: Predicate<Item>? = n… in compare() 92 val oldTree = createTree(old, filter) in compare() 93 val newTree = createTree(new, filter) in compare() 100 compare(visitor, oldTree, newTree, null, null, filter) in compare() 103 …fun compare(visitor: ComparisonVisitor, old: MergedCodebase, new: MergedCodebase, filter: Predicat… in compare() 106 val oldTree = createTree(old, filter) in compare() 107 val newTree = createTree(new, filter) in compare() 114 compare(visitor, oldTree, newTree, null, null, filter) in compare() 123 filter: Predicate<Item>? in compare() 145 visitAdded(new, oldParent, visitor, newTree, filter) in compare() [all …]
|
D | ApiAnalyzer.kt | 63 fun addConstructors(filter: Predicate<Item>) { in <lambda>() 91 val allClasses = packages.allClasses().filter { filter.test(it) } in <lambda>() 98 val leafClasses = allClasses.filter { !it.tag }.toList() in <lambda>() 108 .filter { filter.test(it) } in <lambda>() 109 .forEach { addConstructors(it, filter) } in <lambda>() 129 private fun addConstructors(cls: ClassItem, filter: Predicate<Item>) { in <lambda>() 169 val superClass = cls.filteredSuperclass(filter) in <lambda>() 170 superClass?.let { addConstructors(it, filter) } in <lambda>() 196 val constructors = cls.filteredConstructors(filter).toList() in <lambda>() 270 superClasses.filter { !filterReference.test(it) && !it.isJavaLangObject() } in <lambda>() [all …]
|
D | PackageFilter.kt | 36 if (component.filter.test(qualifiedName)) { in matches() 75 val filter = PackageFilter() in parse() constant 76 filter.addPackages(path) in parse() 77 return filter in parse() 98 class PackageFilterComponent(val filter: Predicate<String>, val treatAsPositiveMatch: Boolean) constant in com.android.tools.metalava.PackageFilterComponent
|
D | AnnotationFilter.kt | 101 …private fun annotationsMatch(filter: AnnotationFilterEntry, existingAnnotation: AnnotationFilterEn… in annotationsMatch() 102 if (filter.qualifiedName != existingAnnotation.qualifiedName) { in annotationsMatch() 105 if (filter.attributes.count() > existingAnnotation.attributes.count()) { in annotationsMatch() 108 for (attribute in filter.attributes) { in annotationsMatch()
|
D | AnnotationsDiffer.kt | 101 val filter = in <lambda>() constant 107 CodebaseComparator().compare(visitor, superset, codebase, filter) in <lambda>() 127 val cleanedUp = stringWriter.toString().filter { in <lambda>()
|
D | MarkPackagesAsRecent.kt | 29 class MarkPackagesAsRecent(val filter: PackageFilter) : ApiVisitor( constant in com.android.tools.metalava.MarkPackagesAsRecent 35 return filter.matches(cls.containingPackage()) in include()
|
D | SignatureWriter.kt | 184 filter = filterReference in <lambda>() 222 filter = filterReference in <lambda>() 289 filter = filterReference in <lambda>()
|
D | CompatibilityCheck.kt | 277 if (old.constructors().filter { it.isPublic || it.isProtected }.none()) { in compare() 929 val filter = apiType.getReferenceFilter() in checkCompatibility() constant 933 …val checker = CompatibilityCheck(filter, previous, apiType, newBase, options.reporterCompatibility… in checkCompatibility() 939 CodebaseComparator().compare(checker, previousFullCodebase, currentFullCodebase, filter) in checkCompatibility()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypeItem.kt | 76 filter: Predicate<Item>? in toTypeString() 80 if (filter != null) { in toTypeString() 92 filter = filter in toTypeString() 107 filter = filter in toTypeString() 119 filter = filter in toTypeString() 136 filter = filter in toTypeString() 151 filter = filter in toTypeString() 166 filter = filter in toTypeString() 411 filter: Predicate<Item>? in toTypeString() 423 filter in toTypeString() [all …]
|
D | PsiModifierItem.kt | 263 }.filter { !it.isDeprecatedForSdk() }.toMutableList() in <lambda>() 292 .filter { in <lambda>() 311 }.filter { !it.isDeprecatedForSdk() }.toMutableList() in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 417 .filter { it.matches(template) } in <lambda>() 437 fun findPredicateMethodWithSuper(template: MethodItem, filter: Predicate<Item>?): MethodItem? { in <lambda>() 442 if (filter == null || filter.test(method)) { in <lambda>() 445 return method.findPredicateSuperMethod(filter) in <lambda>() 457 .filter { it.internalDesc() == desc } in <lambda>() 462 .filter { it.name() == name && it.internalDesc() == desc } in <lambda>() 481 .filter { it.matches(template) } in <lambda>() 513 .filter { parametersMatch(it, parameters) } in <lambda>() 517 .filter { it.name() == methodName && parametersMatch(it, parameters) } in <lambda>() 614 return constructors().asSequence().filter { predicate.test(it) } in <lambda>() [all …]
|
D | AnnotationItem.kt | 180 filter: Predicate<Item>? = null, in mapName() 289 } else if (filter != null) { in mapName() 291 if (cls != null && filter.test(cls)) { in mapName() 340 } else if (filter != null) { in mapName() 342 if (cls != null && filter.test(cls)) { in mapName()
|
/tools/test/connectivity/acts/framework/tests/controllers/bits_lib/ |
D | bits_client_test.py | 88 filter(lambda call: 'usb_disconnect' in call.args[0], 103 filter(lambda call: '--time' in call.args[0], args_list)) 118 filter(lambda call: '--time' in call.args[0], args_list)) 134 filter(lambda call: 'usb_connect' in call.args[0], args_list)) 148 filter( 209 filter(lambda call: '--log' in call.args[0], args_list)) 236 filter(lambda call: '--log' in call.args[0], args_list)) 260 filter(lambda call: '--aggregates_yaml_path' in call.args[0], 281 filter(lambda call: '--aggregates_yaml_path' in call.args[0], 302 filter(lambda call: '--aggregates_yaml_path' in call.args[0],
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | radvd_config.py | 244 filter(lambda pair: pair[1] is not None, 268 filter(lambda pair: pair[1] is not None, 277 filter(lambda pair: pair[1] is not None, 282 filter(lambda pair: pair[1] is not None,
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/ |
D | ApiVisitor.kt | 124 val filter = options.stubPackages in include() constant 125 if (filter != null && !filter.matches(cls.containingPackage())) { in include()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/ |
D | GameQualificationHostsideController.java | 128 public void addIncludeFilter(String filter) { in addIncludeFilter() argument 129 mIncludeFilters.add(filter); in addIncludeFilter() 138 public void addExcludeFilter(String filter) { in addExcludeFilter() argument 139 mExcludeFilters.add(filter); in addExcludeFilter()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinterTest.kt | 313 filter = Predicate { false } in <lambda>() 350 filter = Predicate { true } in <lambda>() 785 filter: Predicate<Item>? = null, in <lambda>() 839 …val printer = PsiTypePrinter(codebase, filter, mapAnnotations, kotlinStyleNulls, supportTypeUseAnn… in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 273 it.containingClass().constructors().filter { filterReference.test(it) }.size > 1 in <lambda>() 361 filter = filterReference in <lambda>() 401 filter = filterReference in <lambda>() 438 filter = filterReference in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | AnnotationTargetTest.kt | 40 .filter { Modifier.isStatic(it.modifiers) } in <lambda>() 41 .filter { it.name.startsWith("get") } in <lambda>()
|
/tools/platform-compat/java/com/android/annotationvisitor/ |
D | JarReader.java | 57 .filter(zipEntry -> zipEntry.getName().endsWith(".class")) in stream() 59 .filter(Objects::nonNull); in stream()
|
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/ |
D | GameCoreConfiguration.java | 56 .filter((it) -> !apkNames.contains(it)) in validateConfiguration() 77 .filter((it) -> it.getName().equals(name)) in findCertificationRequirements()
|
/tools/trebuchet/trebuchet/user-switch-analyzer/src/ |
D | UserSwitchAnalyzer.kt | 63 model.slices().filter { in measureServiceStartup() 69 model.slices().filter { in measureServiceStartup()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeParameterItem.kt | 47 }.filter { in typeBounds() 94 … return p.typeBounds().filter { !it.isJavaLangObject() }.map { it.toTypeString() } in bounds()
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/ |
D | ffx.py | 186 filter(lambda s: s.get('label') == 'build', result_json)) 188 filter(lambda s: s.get('label') == 'version', build_info['child']))
|