/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 | 90 …fun compare(visitor: ComparisonVisitor, old: Codebase, new: Codebase, filter: Predicate<Item>? = n… in compare() 93 val oldTree = createTree(old, filter) in compare() 94 val newTree = createTree(new, filter) in compare() 101 compare(visitor, oldTree, newTree, null, null, filter) in compare() 104 …fun compare(visitor: ComparisonVisitor, old: MergedCodebase, new: MergedCodebase, filter: Predicat… in compare() 107 val oldTree = createTree(old, filter) in compare() 108 val newTree = createTree(new, filter) in compare() 115 compare(visitor, oldTree, newTree, null, null, filter) in compare() 124 filter: Predicate<Item>? in compare() 146 visitAdded(new, oldParent, visitor, newTree, filter) in compare() [all …]
|
D | ApiAnalyzer.kt | 64 fun addConstructors(filter: Predicate<Item>) { in <lambda>() 92 val allClasses = packages.allClasses().filter { filter.test(it) } in <lambda>() 99 val leafClasses = allClasses.filter { !it.tag }.toList() in <lambda>() 109 .filter { filter.test(it) } in <lambda>() 110 .forEach { addConstructors(it, filter) } in <lambda>() 130 private fun addConstructors(cls: ClassItem, filter: Predicate<Item>) { in <lambda>() 170 val superClass = cls.filteredSuperclass(filter) in <lambda>() 171 superClass?.let { addConstructors(it, filter) } in <lambda>() 195 val constructors = cls.filteredConstructors(filter).toList() in <lambda>() 269 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 | 88 …private fun annotationsMatch(filter: AnnotationFilterEntry, existingAnnotation: AnnotationFilterEn… in annotationsMatch() 89 if (filter.qualifiedName != existingAnnotation.qualifiedName) { in annotationsMatch() 92 if (filter.attributes.count() > existingAnnotation.attributes.count()) { in annotationsMatch() 95 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 | 205 filter = filterReference in <lambda>() 257 filter = filterReference in <lambda>() 327 filter = filterReference in <lambda>()
|
D | CompatibilityCheck.kt | 272 if (old.constructors().filter { it.isPublic || it.isProtected }.none()) { in compare() 901 val filter = apiType.getReferenceFilter() in checkCompatibility() constant 905 …val checker = CompatibilityCheck(filter, previous, apiType, newBase, getReporterForReleaseType(rel… in checkCompatibility() 914 … CodebaseComparator().compare(checker, previousFullCodebase, currentFullCodebase, filter) in checkCompatibility()
|
D | Driver.kt | 791 private fun convertToWarningNullabilityAnnotations(codebase: Codebase, filter: PackageFilter?) { in convertToWarningNullabilityAnnotations() 792 if (filter != null) { in convertToWarningNullabilityAnnotations() 797 codebase.accept(MarkPackagesAsRecent(filter)) in convertToWarningNullabilityAnnotations() 903 val kotlinFiles = sources.filter { it.path.endsWith(DOT_KT) } in parseSources() 1170 ?.filter { it.name.endsWith(DOT_JAVA) } in gatherPackageJavadoc()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypeItem.kt | 78 filter: Predicate<Item>? in toTypeString() 82 if (filter != null) { in toTypeString() 94 filter = filter in toTypeString() 109 filter = filter in toTypeString() 121 filter = filter in toTypeString() 138 filter = filter in toTypeString() 153 filter = filter in toTypeString() 168 filter = filter in toTypeString() 403 filter: Predicate<Item>? in toTypeString() 415 filter in toTypeString() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 404 .filter { it.matches(template) } in <lambda>() 424 fun findPredicateMethodWithSuper(template: MethodItem, filter: Predicate<Item>?): MethodItem? { in <lambda>() 429 if (filter == null || filter.test(method)) { in <lambda>() 432 return method.findPredicateSuperMethod(filter) in <lambda>() 444 .filter { it.internalDesc() == desc } in <lambda>() 449 .filter { it.name() == name && it.internalDesc() == desc } in <lambda>() 468 .filter { it.matches(template) } in <lambda>() 500 .filter { parametersMatch(it, parameters) } in <lambda>() 504 .filter { it.name() == methodName && parametersMatch(it, parameters) } in <lambda>() 601 return constructors().asSequence().filter { predicate.test(it) } in <lambda>() [all …]
|
D | AnnotationItem.kt | 172 filter: Predicate<Item>? = null, in mapName() 323 } else if (filter != null) { in mapName() 325 if (cls != null && filter.test(cls)) { in mapName() 374 filter, in mapName() 383 } else if (filter != null) { in mapName() 385 if (cls != null && filter.test(cls)) { in mapName()
|
/tools/test/connectivity/acts/framework/tests/controllers/bits_lib/ |
D | bits_client_test.py | 59 filter(lambda call: 'usb_disconnect' in call.args[0], 81 filter(lambda call: 'usb_connect' in call.args[0], args_list)) 99 filter(lambda call: '--export' in call.args[0], args_list)) 117 filter( 153 filter(lambda call: '--log' in call.args[0], args_list)) 189 filter(lambda call: '--log' in call.args[0], args_list)) 214 filter(lambda call: '--aggregates_yaml_path' in call.args[0], 235 filter(lambda call: '--aggregates_yaml_path' in call.args[0], 257 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 | 310 filter = Predicate { false } in <lambda>() 347 filter = Predicate { true } in <lambda>() 781 filter: Predicate<Item>? = null, in <lambda>() 835 …val printer = PsiTypePrinter(codebase, filter, mapAnnotations, kotlinStyleNulls, supportTypeUseAnn… in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 278 it.containingClass().constructors().filter { filterReference.test(it) }.size > 1 in <lambda>() 366 filter = filterReference in <lambda>() 406 filter = filterReference in <lambda>() 443 filter = filterReference in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | AnnotationTargetTest.kt | 38 .filter { Modifier.isStatic(it.modifiers) } in <lambda>() 39 .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 | 52 }.filter { in bounds() 99 … return p.bounds().filter { !it.isJavaLangObject() }.map { it.qualifiedName() } in bounds()
|
/tools/acloud/internal/lib/ |
D | gcompute_client.py | 421 filter=disk_filter) 624 filter=image_filter) 950 filter=instance_filter, 1622 filter="name=%s" % instance) 1689 list(filter(None, [ssh_key_item[_METADATA_KEY_VALUE], entry])))
|