Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DConditionsFactory.kt58 fun isNavOrTaskBarVisible(): Condition<DeviceStateDump> = in <lambda>()
71 fun isNavOrTaskBarWindowVisible(): Condition<DeviceStateDump> = in <lambda>()
72 Condition("isNavBarOrTaskBarWindowVisible") { in <lambda>()
81 fun isNavOrTaskBarLayerVisible(): Condition<DeviceStateDump> = in <lambda>()
82 Condition("isNavBarOrTaskBarLayerVisible") { in <lambda>()
88 fun isNavOrTaskBarLayerOpaque(): Condition<DeviceStateDump> = in <lambda>()
89 Condition("isNavOrTaskBarLayerOpaque") { in <lambda>()
95 fun isNavBarVisible(): Condition<DeviceStateDump> = in <lambda>()
101 fun isNavBarWindowVisible(): Condition<DeviceStateDump> = in <lambda>()
102 Condition("isNavBarWindowVisible") { in <lambda>()
[all …]
DCondition.kt47 open class Condition<T>( class
57 fun negate(): Condition<T> = Condition(message = "!$message") { !this.condition.invoke(it) } in <lambda>()
DConditionList.kt28 class ConditionList<T>(val conditions: List<Condition<T>>) : Condition<T>("", { false }) { in <lambda>()
29 constructor(vararg conditions: Condition<T>) : this(listOf(*conditions))
DWaitCondition.kt50 private val condition: Condition<T>,
125 private val conditions = mutableListOf<Condition<T>>()
133 fun withCondition(condition: Condition<T>) = apply { conditions.add(condition) } in <lambda>()
136 withCondition(Condition(message, condition)) in <lambda>()
139 private fun spreadConditionList(): List<Condition<T>> = in spreadConditionList()
/platform_testing/libraries/health/utils/src/android/platform/test/util/
DHealthTestingUtils.java37 public interface Condition { interface in HealthTestingUtils
113 public static void waitForCondition(Supplier<String> message, Condition condition) {
125 Supplier<String> message, Condition condition, long timeoutMs) {
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DWindowManagerStateHelper.kt26 import android.tools.traces.Condition in <lambda>()
130 fun add(condition: Condition<DeviceStateDump>): StateSyncBuilder = apply { in getWindowRegion()
142 add(Condition(message, condition)) in getWindowRegion()
265 Condition( in getWindowRegion()
354 Condition("surfaceRegion") { in getWindowRegion()
441 Condition( in getWindowRegion()