Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DExtensions.kt39 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()
DTransitionMonitor.kt42 fun withTracing(predicate: () -> Unit): ByteArray { in <lambda>()
48 predicate() in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
DActivityTask.kt75 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>()
DWindowContainer.kt78 predicate: (T) -> Boolean = { true } in <lambda>()
83 .filter { predicate(it) } in <lambda>()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DCommonTestUtils.java30 String message, long timeoutSeconds, BooleanSupplierWithThrow<E> predicate) in waitUntil() argument
35 if (predicate.getAsBoolean()) { in waitUntil()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/dsl/
DFlickerBuilder.kt207 fun repeat(predicate: () -> Int) { in repeat()
208 val repeat = predicate() in repeat()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DRegionSubjectTest.kt32 private fun assertFail(expectedMessage: String, predicate: () -> Any) { in assertFail()
34 predicate() in assertFail()