Home
last modified time | relevance | path

Searched refs:Condition (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DWindowManagerConditionsFactory.kt38 fun isNavBarVisible(): Condition<DUMP> = in <lambda>()
45 fun isNavBarWindowVisible(): Condition<DUMP> = in <lambda>()
46 Condition("isNavBarWindowVisible") { in <lambda>()
53 fun isNavBarLayerVisible(): Condition<DUMP> = in <lambda>()
59 fun isNavBarLayerOpaque(): Condition<DUMP> = in <lambda>()
60 Condition("isNavBarLayerOpaque") { in <lambda>()
68 fun isStatusBarVisible(): Condition<DUMP> = in <lambda>()
76 Condition<DUMP> = in <lambda>()
77 Condition("isStatusBarWindowVisible") { in <lambda>()
84 fun isStatusBarLayerVisible(): Condition<DUMP> = in <lambda>()
[all …]
DCondition.kt43 open class Condition<T>( class
57 fun negate(): Condition<T> = Condition( in negate()
DConditionList.kt29 val conditions: List<Condition<T>> in <lambda>()
30 ) : Condition<T>("", { false }) { in <lambda>()
31 constructor(vararg conditions: Condition<T>): this(listOf(*conditions))
DWaitCondition.kt45 private val condition: Condition<T>,
91 private val conditions = mutableListOf<Condition<T>>()
97 fun withCondition(condition: Condition<T>) = in withCondition()
101 apply { withCondition(Condition(message, condition)) } in withCondition()
103 private fun spreadConditionList(): List<Condition<T>> = in spreadConditionList()
/platform_testing/libraries/health/utils/src/android/platform/test/util/
DHealthTestingUtils.java36 public interface Condition { interface in HealthTestingUtils
112 public static void waitForCondition(Supplier<String> message, Condition condition) {
124 Supplier<String> message, Condition condition, long timeoutMs) {
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/
DWindowManagerStateHelper.kt30 import com.android.server.wm.traces.common.Condition in <lambda>()
129 Condition("waitForRotation[$rotation]") { in waitForRotation()
189 vararg conditions: Condition<DeviceStateDump<WindowManagerState, BaseLayerTraceEntry>> in waitFor()
200 ): Boolean = waitFor(Condition(message, waitCondition)) in waitFor()
288 ): Condition<DeviceStateDump<WindowManagerState, BaseLayerTraceEntry>> { in waitForValidStateCondition()
292 conditions.add(Condition("!shouldWaitForActivities") { in waitForValidStateCondition()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DStandardAppHelper.kt31 import com.android.server.wm.traces.common.Condition
188 Condition<DeviceStateDump<WindowManagerState, BaseLayerTraceEntry>>> = in launchViaIntent()
/platform_testing/
Dktfmt_includes.txt118 -libraries/flicker/src/com/android/server/wm/traces/common/Condition.kt