Searched refs:Condition (Results 1 – 6 of 6) sorted by relevance
58 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 …]
47 open class Condition<T>( class57 fun negate(): Condition<T> = Condition(message = "!$message") { !this.condition.invoke(it) } in <lambda>()
28 class ConditionList<T>(val conditions: List<Condition<T>>) : Condition<T>("", { false }) { in <lambda>()29 constructor(vararg conditions: Condition<T>) : this(listOf(*conditions))
50 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()
37 public interface Condition { interface in HealthTestingUtils113 public static void waitForCondition(Supplier<String> message, Condition condition) {125 Supplier<String> message, Condition condition, long timeoutMs) {
26 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()