Searched refs:predicate (Results 1 – 7 of 7) sorted by relevance
39 predicate: () -> Unit in withWMTracing()42 WindowManagerTraceMonitor(outputDir).withTracing(predicate)) in withWMTracing()58 predicate: () -> Unit in withSFTracing()61 LayersTraceMonitor(outputDir, traceFlags).withTracing(predicate)) in withSFTracing()75 predicate: () -> Unit in withTracing()77 val traces = recordTraces(outputDir, predicate) in withTracing()95 predicate: () -> Unit in recordTraces()101 wmTraceData = WindowManagerTraceMonitor(wmOutputDir).withTracing(predicate) in recordTraces()
42 fun withTracing(predicate: () -> Unit): ByteArray { in <lambda>()48 predicate() in <lambda>()
75 fun getTask(predicate: (ActivityTask) -> Boolean) = in <lambda>()76 tasks.firstOrNull { predicate(it) } ?: if (predicate(this)) this else null in <lambda>()84 fun getActivity(predicate: (Activity) -> Boolean): Activity? { in <lambda>()85 return activities.firstOrNull { predicate(it) } in <lambda>()87 .firstOrNull { predicate(it) } in <lambda>()
78 predicate: (T) -> Boolean = { true } in <lambda>()83 .filter { predicate(it) } in <lambda>()
30 String message, long timeoutSeconds, BooleanSupplierWithThrow<E> predicate) in waitUntil() argument35 if (predicate.getAsBoolean()) { in waitUntil()
207 fun repeat(predicate: () -> Int) { in repeat()208 val repeat = predicate() in repeat()
32 private fun assertFail(expectedMessage: String, predicate: () -> Any) { in assertFail()34 predicate() in assertFail()