Home
last modified time | relevance | path

Searched refs:predicate (Results 1 – 15 of 15) sorted by relevance

/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py19 def test_info(predicate=None, **keyed_info): argument
41 return _TestInfoDecoratorFunc(func, predicate, keyed_info)
46 def test_tracker_info(uuid, extra_environment_info=None, predicate=None): argument
65 predicate=predicate)
71 def __init__(self, func, predicate, keyed_info): argument
73 self.predicate = predicate
150 if not self.predicate or self.predicate(args, kwargs):
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiCompilationUnit.kt73 override fun getImportStatements(predicate: Predicate<Item>): Collection<Item> { in getImportStatements()
83 if (predicate.test(classItem)) { in getImportStatements()
88 if (predicate.test(pkgItem) && in getImportStatements()
91 pkgItem.topLevelClasses().any { it.emit && predicate.test(it) } in getImportStatements()
98 if (predicate.test(methodItem)) { in getImportStatements()
104 if (predicate.test(fieldItem)) { in getImportStatements()
115 if (predicate.test(classItem)) { in getImportStatements()
148 for (cls in classes(predicate)) { in getImportStatements()
152 if (!predicate.test(item)) { in getImportStatements()
190 private fun classes(predicate: Predicate<Item>): List<ClassItem> { in classes()
[all …]
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/queries/
DThreadQueries.kt24 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/
DPackageFilter.kt65 fun add(predicate: Predicate<String>, treatAsPositiveMatch: Boolean) { in add()
66 components.add(PackageFilterComponent(predicate, treatAsPositiveMatch)) in add()
DAnnotationsDiffer.kt66 private val predicate = object : Predicate<Item> { in <lambda>() constant
117 val apiEmit = apiFilter.and(predicate) in <lambda>()
/tools/test/connectivity/acts/framework/acts/libs/test_binding/
Dall_tests_decorator.py17 predicate=inspect.isfunction):
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DCompilationUnit.kt34 open fun getImportStatements(predicate: Predicate<Item>): Collection<Item> = emptyList()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aEventDispatcher.java142 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/
Devent_dispatcher.py223 predicate, argument
266 if event and predicate(event, *args, **kwargs):
270 (event, predicate.__name__))
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/
Dbluetooth_handsfree_abstract_device.py34 ctlr_methods = inspect.getmembers(controller, predicate=callable)
36 abstract_device_class, predicate=inspect.ismethod)
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java292 Predicate getPredicate(Predicate predicate) { in getPredicate() argument
294 if (p.partialMatch(predicate)) { in getPredicate()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt113 override fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? = null in findPredicateSuperMethod()
DTextClassItem.kt230 override fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in filteredSuperClassType()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java335 final ZipFile zipFile, Predicate<String> predicate) throws IOException { in getInputStreamFactoriesFromImageZip() argument
346 if (!predicate.test(name)) { in getInputStreamFactoriesFromImageZip()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...