Home
last modified time | relevance | path

Searched refs:ensureThat (Results 1 – 12 of 12) sorted by relevance

/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DFoldableRule.kt26 import android.platform.uiautomator_helpers.WaitUtils.ensureThat
69 ensureThat("screen is on before folding") { screenOn } in fold()
79 ensureThat("screen is off after folding") { !screenOn } in fold()
85 ensureThat("screen surface decreases after folding") { in fold()
89 ensureThat("screen surface remains after folding") { in fold()
100 ensureThat("screen is on before half-folding") { screenOn } in halfFold()
109 ensureThat("screen surface increases after half-folding") { in halfFold()
113 ensureThat("screen surface remains after half-folding") { in halfFold()
124 ensureThat("screen is on before unfolding") { screenOn } in unfold()
132 ensureThat("screen is on after unfolding") { screenOn } in unfold()
[all …]
DFoldableDeviceController.kt27 import android.platform.uiautomator_helpers.WaitUtils.ensureThat in <lambda>()
95 ensureThat("screen is on after cancelling base state override.") { uiDevice.isScreenOn } in <lambda>()
159 ensureThat("Device folded") { currentState == foldedState && !isLargeScreen() } in <lambda>()
161 ensureThat("Device unfolded") { currentState == unfoldedState && isLargeScreen() } in <lambda>()
163 ensureThat("Device half folded") { in <lambda>()
167 ensureThat("Device rear display") { in <lambda>()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DProcessUtil.kt4 import android.platform.uiautomator_helpers.WaitUtils.ensureThat in <lambda>()
20 ensureThat("All sysui process stopped", Duration.ofSeconds(30L)) { in <lambda>()
23 ensureThat("All sysui process restarted", Duration.ofSeconds(30L)) { in <lambda>()
DLockscreenUtils.java25 import static android.platform.uiautomator_helpers.WaitUtils.ensureThat;
200 ensureThat("Lock screen is invisible", () -> !page.isVisible()); in ensureNoLockscreen()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DSettingRule.kt3 import android.platform.uiautomator_helpers.WaitUtils.ensureThat
55 ensureThat("New setting value set") { getSettingValueAsString() == valueAsString } in setSettingValue()
DBaseOrientationRule.kt26 import android.platform.uiautomator_helpers.WaitUtils.ensureThat
125 ensureThat( in setOrientationOverride()
DScreenRecordRule.kt26 import android.platform.uiautomator_helpers.WaitUtils.ensureThat in <lambda>()
203 ensureThat("Recording output created") { exists() } in <lambda>()
/platform_testing/libraries/tapl-common/src/android/platform/test/scenario/tapl_common/
DGestures.kt19 import android.platform.uiautomator_helpers.WaitUtils.ensureThat
37 ensureThat( in waitForObjectCondition()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DDeviceHelpers.kt26 import android.platform.uiautomator_helpers.WaitUtils.ensureThat
209 ensureThat("$selector is ${visible.asVisibilityBoolean()}", timeout, errorProvider) { in assertVisibility()
230 ensureThat( in assertVisibility()
DBetterSwipe.kt26 import android.platform.uiautomator_helpers.WaitUtils.ensureThat in <lambda>()
174 ensureThat( in <lambda>()
184 return@ensureThat getInstrumentation() in <lambda>()
DWaitUtils.kt62 fun ensureThat( in ensureThat() method
275 ensureThat("Waiting for \"$description\"", timeout, ignoreFailure = true) { in <lambda>()
/platform_testing/libraries/health/utils/src/android/platform/test/util/
DHealthTestingUtils.java127 WaitUtils.ensureThat(