Home
last modified time | relevance | path

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

/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DUiAutomatorTestScope.kt26 import androidx.test.uiautomator.watcher.ScopedUiWatcher
27 import androidx.test.uiautomator.watcher.WatcherRegistration
106 watcher: ScopedUiWatcher<T>, in watchFor()
109 val id = watcher.toString() in watchFor()
112 val visible = watcher.isVisible() in watchFor()
113 if (visible) block(watcher.scope()) in watchFor()
DUiDevice.java727 public void registerWatcher(@Nullable String name, @Nullable UiWatcher watcher) { in registerWatcher() argument
732 mWatchers.put(name, watcher); in registerWatcher()
759 UiWatcher watcher = mWatchers.get(watcherName); in runWatchers() local
760 if (watcher != null) { in runWatchers()
763 if (watcher.checkForCondition()) { in runWatchers()
/test/uiautomator/uiautomator/src/androidTest/java/androidx/test/uiautomator/
DUiDeviceTest.java124 UiWatcher watcher = () -> true; in testRegisterAndRunUiWatcher_conditionMet() local
125 mDevice.registerWatcher(WATCHER_NAME, watcher); in testRegisterAndRunUiWatcher_conditionMet()
136 UiWatcher watcher = () -> false; in testRegisterAndRunUiWatcher_conditionNotMet() local
137 mDevice.registerWatcher(WATCHER_NAME, watcher); in testRegisterAndRunUiWatcher_conditionNotMet()
148 UiWatcher watcher = () -> true; in testResetUiWatcher() local
149 mDevice.registerWatcher(WATCHER_NAME, watcher); in testResetUiWatcher()
161 UiWatcher watcher = () -> true; in testRemoveUiWatcher() local
162 mDevice.registerWatcher(WATCHER_NAME, watcher); in testRemoveUiWatcher()
251 UiWatcher watcher = () -> { in testWaitForIdle_watcher() local
255 mDevice.registerWatcher(WATCHER_NAME, watcher); in testWaitForIdle_watcher()
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/watcher/
DWatcher.kt17 package androidx.test.uiautomator.watcher
DPermissionDialog.kt17 package androidx.test.uiautomator.watcher
/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DUiAutomatorTestScopeTest.kt36 import androidx.test.uiautomator.watcher.ScopedUiWatcher
/test/uiautomator/uiautomator/api/
Dcurrent.txt256 …> androidx.test.uiautomator.watcher.WatcherRegistration watchFor(androidx.test.uiautomator.watcher
632 package androidx.test.uiautomator.watcher {
634 …sionDialog implements androidx.test.uiautomator.watcher.ScopedUiWatcher<androidx.test.uiautomator.
636 method public androidx.test.uiautomator.watcher.PermissionDialog.Scope scope();
637 field public static final androidx.test.uiautomator.watcher.PermissionDialog INSTANCE;
643 field public static final androidx.test.uiautomator.watcher.PermissionDialog.Scope INSTANCE;
Drestricted_current.txt256 …> androidx.test.uiautomator.watcher.WatcherRegistration watchFor(androidx.test.uiautomator.watcher
632 package androidx.test.uiautomator.watcher {
634 …sionDialog implements androidx.test.uiautomator.watcher.ScopedUiWatcher<androidx.test.uiautomator.
636 method public androidx.test.uiautomator.watcher.PermissionDialog.Scope scope();
637 field public static final androidx.test.uiautomator.watcher.PermissionDialog INSTANCE;
643 field public static final androidx.test.uiautomator.watcher.PermissionDialog.Scope INSTANCE;