/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 447 fun filteredSuperclass(predicate: Predicate<Item>): ClassItem? { in <lambda>() 449 return if (predicate.test(superClass)) { in <lambda>() 452 superClass.filteredSuperclass(predicate) in <lambda>() 456 fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in <lambda>() 461 if (predicate.test(superClass)) { in <lambda>() 486 predicate: Predicate<Item>, in <lambda>() 491 if (predicate.test(method) || method.findPredicateSuperMethod(predicate) != null) { in <lambda>() 499 superClass()?.filteredMethods(predicate, includeSuperClassMethods)?.let { in <lambda>() 507 fun filteredConstructors(predicate: Predicate<Item>): Sequence<ConstructorItem> { in <lambda>() 508 return constructors().asSequence().filter { predicate.test(it) } in <lambda>() [all …]
|
D | SourceFile.kt | 29 fun getImports(predicate: Predicate<Item>): Collection<Import> = emptyList() in classes() 37 fun filterImports(imports: TreeSet<Import>, predicate: Predicate<Item>): TreeSet<Import> { in classes() 49 for (cls in classes().filter { predicate.test(it) }) { in classes() 54 if (!predicate.test(item)) { in classes()
|
D | ModifierList.kt | 176 inline fun ModifierList.findAnnotation(predicate: (AnnotationItem) -> Boolean): AnnotationItem? { in findAnnotation() 177 return annotations().firstOrNull(predicate) in findAnnotation() 183 inline fun ModifierList.hasAnnotation(predicate: (AnnotationItem) -> Boolean): Boolean { in hasAnnotation() 184 return annotations().any(predicate) in hasAnnotation()
|
D | MethodItem.kt | 94 fun filteredThrowsTypes(predicate: Predicate<Item>): Collection<ExceptionTypeItem> { in <lambda>() 98 return filteredThrowsTypes(predicate, LinkedHashSet()) in <lambda>() 102 predicate: Predicate<Item>, in <lambda>() 110 if (predicate.test(classItem)) { in <lambda>() 117 .firstOrNull { superClass -> predicate.test(superClass) } in <lambda>() 137 fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? { in <lambda>() 144 if (predicate.test(method)) { in <lambda>() 150 val found = method.findPredicateSuperMethod(predicate) in <lambda>()
|
D | MutableModifierList.kt | 70 fun removeAnnotations(predicate: (AnnotationItem) -> Boolean)
|
D | DefaultModifierList.kt | 269 override fun removeAnnotations(predicate: (AnnotationItem) -> Boolean) { in removeAnnotations() 270 annotations?.removeAll(predicate) in removeAnnotations()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/queries/ |
D | SliceQueries.kt | 75 fun Model.selectAll(predicate: (Slice) -> Boolean): List<Slice> { in selectAll() 78 if (predicate(it)) { in selectAll() 90 fun ProcessModel.selectAll(predicate : (Slice) -> Boolean) : List<Slice> { in ProcessModel() 93 if (predicate(it)) { in ProcessModel() 100 fun ThreadModel.selectAll(predicate: (Slice) -> Boolean): List<Slice> { in selectAll() 103 if (predicate(it)) { in selectAll() 115 fun Model.selectFirst(predicate: (Slice) -> Boolean) : Slice? { in selectFirst() 116 … return this.processes.values.mapNotNull { it.selectFirst(predicate) }.minByOrNull { it.startTime } in selectFirst() 125 fun ProcessModel.selectFirst(predicate: (Slice) -> Boolean) : Slice? { in ProcessModel() 129 if (predicate(it)) { in ProcessModel() [all …]
|
D | ThreadQueries.kt | 24 fun firstOrNull(model: Model, predicate: (ThreadModel) -> Boolean): ThreadModel? { in firstOrNull() 27 if (predicate(it)) return it in firstOrNull()
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiSourceFile.kt | 90 override fun getImports(predicate: Predicate<Item>): Collection<Import> { in getImports() 100 if (predicate.test(classItem)) { in getImports() 106 predicate.test(pkgItem) && in getImports() 110 pkgItem.topLevelClasses().any { it.emit && predicate.test(it) } in getImports() 117 if (predicate.test(methodItem)) { in getImports() 130 if (predicate.test(fieldItem)) { in getImports() 141 if (predicate.test(classItem)) { in getImports() 153 filterImports(imports, predicate) in getImports()
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_decorators.py | 27 def test_info(predicate=None, **keyed_info): argument 49 return _TestInfoDecoratorFunc(func, predicate, keyed_info) 130 def test_tracker_info(uuid, extra_environment_info=None, predicate=None): argument 150 return _TestTrackerInfoDecoratorFunc(func, predicate, keyed_info) 158 def __init__(self, func, predicate, keyed_info): argument 160 self.predicate = predicate 248 if not self.predicate or self.predicate(args, kwargs):
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineSourceFile.kt | 51 override fun getImports(predicate: Predicate<Item>): Collection<Import> { in getImports() 60 predicate.test(pkgItem) && in getImports() 64 pkgItem.topLevelClasses().any { it.emit && predicate.test(it) } in getImports() 72 if (predicate.test(classItem)) { in getImports() 81 return filterImports(imports, predicate) in getImports()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | PackageFilter.kt | 65 fun add(predicate: Predicate<String>, treatAsPositiveMatch: Boolean) { in add() 66 components.add(PackageFilterComponent(predicate, treatAsPositiveMatch)) in add()
|
D | ComparisonVisitor.kt | 626 val predicate = if (acceptAll) Predicate { true } else filter!! in pop() constant 632 filterEmit = predicate, in pop() 633 filterReference = predicate, in pop()
|
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/testing/ |
D | BaseModelProviderRunner.kt | 229 val predicate = createCreatorPredicate(sequenceOf(frameworkMethod.method)) in getChildren() constant 233 predicate(modelProviderWrapper.codebaseCreatorConfig) in getChildren() 250 val predicate = in createTestArguments() constant 260 .filter(predicate) in createTestArguments()
|
/tools/test/connectivity/acts/framework/acts/libs/test_binding/ |
D | all_tests_decorator.py | 17 predicate=inspect.isfunction):
|
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
D | Sl4aEventDispatcher.java | 142 public EventSl4aObject waitForEvent(String name, Predicate<EventSl4aObject> predicate, in waitForEvent() argument 150 if (res != null && predicate.test(res)) { in waitForEvent()
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | event_dispatcher.py | 225 predicate, argument 268 if event and predicate(event, *args, **kwargs): 272 (event, predicate.__name__))
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/ |
D | bluetooth_handsfree_abstract_device.py | 34 ctlr_methods = inspect.getmembers(controller, predicate=callable) 36 abstract_device_class, predicate=inspect.ismethod)
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextMethodItem.kt | 105 override fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? = null in findMainDocumentation()
|
D | TextClassItem.kt | 168 override fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in filteredSuperClassType()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | BugreportCollector.java | 292 Predicate getPredicate(Predicate predicate) { in getPredicate() argument 294 if (p.partialMatch(predicate)) { in getPredicate()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparer.java | 359 final ZipFile zipFile, Predicate<String> predicate) throws IOException { in getInputStreamFactoriesFromImageZip() argument 370 if (!predicate.test(name)) { in getInputStreamFactoriesFromImageZip()
|