Searched refs:UiWatcher (Results 1 - 7 of 7) sorted by relevance
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiWatcher.java | 19 * See {@link UiDevice#registerWatcher(String, UiWatcher)} on how to register a 26 public interface UiWatcher { interface
|
H A D | UiDevice.java | 54 private final HashMap<String, UiWatcher> mWatchers = new HashMap<String, UiWatcher>(); 57 // remember if we're executing in the context of a UiWatcher 511 * Registers a {@link UiWatcher} to run automatically when the testing framework is unable to 514 * @param name to register the UiWatcher 515 * @param watcher {@link UiWatcher} 518 public void registerWatcher(String name, UiWatcher watcher) { 527 * Removes a previously registered {@link UiWatcher}. 529 * See {@link #registerWatcher(String, UiWatcher)} 530 * @param name used to register the UiWatcher [all...] |
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
H A D | UiWatcher.java | 19 * See {@link UiDevice#registerWatcher(String, UiWatcher)} on how to register a 26 public interface UiWatcher { interface
|
H A D | UiDevice.java | 54 private final HashMap<String, UiWatcher> mWatchers = new HashMap<String, UiWatcher>(); 57 // remember if we're executing in the context of a UiWatcher 511 * Registers a {@link UiWatcher} to run automatically when the testing framework is unable to 514 * @param name to register the UiWatcher 515 * @param watcher {@link UiWatcher} 518 public void registerWatcher(String name, UiWatcher watcher) { 527 * Removes a previously registered {@link UiWatcher}. 529 * See {@link #registerWatcher(String, UiWatcher)} 530 * @param name used to register the UiWatcher [all...] |
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/ |
H A D | UiWatchers.java | 25 import com.android.uiautomator.core.UiWatcher; 44 UiDevice.getInstance().registerWatcher("ANR", new UiWatcher() { 65 UiDevice.getInstance().registerWatcher("ANR2", new UiWatcher() { 85 UiDevice.getInstance().registerWatcher("CRASH", new UiWatcher() { 105 UiDevice.getInstance().registerWatcher("CRASH2", new UiWatcher() {
|
/frameworks/base/docs/html/tools/ |
H A D | tools_toc.cs | 216 <li><a href="<?cs var:toroot ?>tools/help/uiautomator/UiWatcher.html"><span class="en">UiWatcher</span></a></li>
|
/frameworks/uiautomator/tests/CtsUiAutomatorTest/src/com/android/uiautomator/tests/cts/ |
H A D | CtsUiAutomatorTest.java | 32 import com.android.uiautomator.core.UiWatcher; 376 * Verifies the UiWatcher registration and trigger function 383 device.registerWatcher("Artificial crash", new UiWatcher() { 406 assertTrue("UiWatcher not triggered", device.hasAnyWatcherTriggered());
|
Completed in 1249 milliseconds