Searched refs:UiAutomation (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
H A DInstrumentationUiAutomatorBridge.java20 import android.app.UiAutomation;
34 public InstrumentationUiAutomatorBridge(Context context, UiAutomation uiAutomation) {
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
H A DUiAutomationShellWrapper.java8 import android.app.UiAutomation;
23 private UiAutomation mUiAutomation;
30 mUiAutomation = new UiAutomation(mHandlerThread.getLooper(),
70 public UiAutomation getUiAutomation() {
H A DShellUiAutomatorBridge.java22 import android.app.UiAutomation;
45 public ShellUiAutomatorBridge(UiAutomation uiAutomation) {
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java4 import android.app.UiAutomation;
5 import android.app.UiAutomation.AccessibilityEventFilter;
6 import android.app.UiAutomation.OnAccessibilityEventListener;
41 private final UiAutomation mUiAutomation;
47 UiAutomatorBridge(UiAutomation uiAutomation) {
H A DInteractionController.java20 import android.app.UiAutomation;
21 import android.app.UiAutomation.AccessibilityEventFilter;
572 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_270);
584 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_90);
596 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_0);
605 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_CURRENT);
614 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_UNFREEZE);
H A DUiDevice.java19 import android.app.UiAutomation;
20 import android.app.UiAutomation.AccessibilityEventFilter;
630 return ret == UiAutomation.ROTATION_FREEZE_0 ||
631 ret == UiAutomation.ROTATION_FREEZE_180;
H A DQueryController.java18 import android.app.UiAutomation.OnAccessibilityEventListener;
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DEventsCommand.java19 import android.app.UiAutomation.OnAccessibilityEventListener;
H A DDumpCommand.java19 import android.app.UiAutomation;
86 UiAutomation uiAutomation = automationWrapper.getUiAutomation();
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
H A DAppCompatibility.java20 import android.app.UiAutomation;
86 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0);
91 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE);
/frameworks/base/core/java/android/app/
H A DUiAutomation.java58 * interaction with keyboards and touch devices. One can think of a UiAutomation
64 * developing UI test automation tools and libraries. Generally, a UiAutomation
77 public final class UiAutomation { class
79 private static final String LOG_TAG = UiAutomation.class.getSimpleName();
170 public UiAutomation(Looper looper, IUiAutomationConnection connection) { method in class:UiAutomation
182 * Connects this UiAutomation to the accessibility introspection APIs.
199 throw new RuntimeException("Error while connecting UiAutomation", re);
212 throw new RuntimeException("Error while connecting UiAutomation");
227 * Disconnects this UiAutomation from the accessibility introspection APIs.
244 throw new RuntimeException("Error while disconnecting UiAutomation", r
[all...]
H A DUiAutomationConnection.java49 * a {@link UiAutomation} that enables across application testing by simulating
134 if (rotation == UiAutomation.ROTATION_UNFREEZE) {
H A DInstrumentation.java96 private UiAutomation mUiAutomation;
1835 * Gets the {@link UiAutomation} instance.
1837 * <strong>Note:</strong> The APIs exposed via the returned {@link UiAutomation}
1841 * target, while {@link UiAutomation#injectInputEvent(android.view.InputEvent, boolean)}
1845 * A typical test case should be using either the {@link UiAutomation} or
1851 * @see UiAutomation
1853 public UiAutomation getUiAutomation() {
1856 mUiAutomation = new UiAutomation(getTargetContext().getMainLooper(),
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java25 import android.app.UiAutomation;
79 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0);
84 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE);
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java23 import android.app.UiAutomation;
74 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0);
79 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE);

Completed in 794 milliseconds