/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 527 fun filteredSuperclass(predicate: Predicate<Item>): ClassItem? { in <lambda>() 529 return if (predicate.test(superClass)) { in <lambda>() 532 superClass.filteredSuperclass(predicate) in <lambda>() 536 fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in <lambda>() 541 if (predicate.test(superClass)) { in <lambda>() 565 fun filteredMethods(predicate: Predicate<Item>): Collection<MethodItem> { in <lambda>() 568 if (predicate.test(method) || method.findPredicateSuperMethod(predicate) != null) { in <lambda>() 579 fun filteredConstructors(predicate: Predicate<Item>): Sequence<ConstructorItem> { in <lambda>() 580 return constructors().asSequence().filter { predicate.test(it) } in <lambda>() 587 fun filteredFields(predicate: Predicate<Item>, showUnannotated: Boolean): List<FieldItem> { in <lambda>() [all …]
|
D | MethodItem.kt | 104 fun filteredThrowsTypes(predicate: Predicate<Item>): Collection<ClassItem> { in <lambda>() 108 return filteredThrowsTypes(predicate, LinkedHashSet()) in <lambda>() 112 predicate: Predicate<Item>, in <lambda>() 117 if (predicate.test(cls) || cls.isTypeParameter && !compatibility.useErasureInThrows) { in <lambda>() 123 if (predicate.test(curr)) { in <lambda>() 156 fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? { in <lambda>() 163 if (predicate.test(method)) { in <lambda>() 169 val found = method.findPredicateSuperMethod(predicate) in <lambda>()
|
D | CompilationUnit.kt | 36 open fun getImportStatements(predicate: Predicate<Item>): Collection<Item> = emptyList()
|
/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) }.minBy { 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/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiCompilationUnit.kt | 91 override fun getImportStatements(predicate: Predicate<Item>): Collection<Item> { in getImportStatements() 101 if (predicate.test(classItem)) { in getImportStatements() 106 if (predicate.test(pkgItem) && in getImportStatements() 109 pkgItem.topLevelClasses().any { it.emit && predicate.test(it) } in getImportStatements() 116 if (predicate.test(methodItem)) { in getImportStatements() 126 if (predicate.test(fieldItem)) { in getImportStatements() 137 if (predicate.test(classItem)) { in getImportStatements() 170 for (cls in classes(predicate)) { in getImportStatements() 174 if (!predicate.test(item)) { in getImportStatements() 212 private fun classes(predicate: Predicate<Item>): List<ClassItem> { in classes() [all …]
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_decorators.py | 20 def test_info(predicate=None, **keyed_info): argument 42 return _TestInfoDecoratorFunc(func, predicate, keyed_info) 121 def test_tracker_info(uuid, extra_environment_info=None, predicate=None): argument 140 predicate=predicate) 146 def __init__(self, func, predicate, keyed_info): argument 148 self.predicate = predicate 229 if not self.predicate or self.predicate(args, kwargs):
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | event_dispatcher.py | 223 predicate, argument 266 if event and predicate(event, *args, **kwargs): 270 (event, predicate.__name__))
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ComparisonVisitor.kt | 412 val predicate = if (acceptAll) Predicate { true } else filter!! in createTree() constant 416 filterEmit = predicate, in createTree() 417 filterReference = predicate in createTree()
|
D | PackageFilter.kt | 65 fun add(predicate: Predicate<String>, treatAsPositiveMatch: Boolean) { in add() 66 components.add(PackageFilterComponent(predicate, treatAsPositiveMatch)) in add()
|
D | AnnotationsDiffer.kt | 66 private val predicate = object : Predicate<Item> { in <lambda>() constant 117 val apiEmit = apiFilter.and(predicate) in <lambda>()
|
/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/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/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 | 339 final ZipFile zipFile, Predicate<String> predicate) throws IOException { in getInputStreamFactoriesFromImageZip() argument 350 if (!predicate.test(name)) { in getInputStreamFactoriesFromImageZip()
|
/tools/test/connectivity/acts/framework/acts/libs/test_binding/ |
D | all_tests_decorator.py | 17 predicate=inspect.isfunction):
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextMethodItem.kt | 111 override fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? = null in findPredicateSuperMethod()
|
D | TextClassItem.kt | 226 override fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in filteredSuperClassType()
|