Home
last modified time | relevance | path

Searched refs:UiAutomation (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java17 import android.app.UiAutomation;
77 case UiAutomation.ROTATION_FREEZE_90: in getDeviceRotation()
79 case UiAutomation.ROTATION_FREEZE_270: in getDeviceRotation()
81 case UiAutomation.ROTATION_FREEZE_0: in getDeviceRotation()
82 case UiAutomation.ROTATION_FREEZE_180: in getDeviceRotation()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
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) { in UiAutomatorBridge()
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);
DUiDevice.java19 import android.app.UiAutomation;
20 import android.app.UiAutomation.AccessibilityEventFilter;
633 return ret == UiAutomation.ROTATION_FREEZE_0 || in isNaturalOrientation()
634 ret == UiAutomation.ROTATION_FREEZE_180; in isNaturalOrientation()
DQueryController.java18 import android.app.UiAutomation.OnAccessibilityEventListener;
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java8 import android.app.UiAutomation;
23 private UiAutomation mUiAutomation;
30 mUiAutomation = new UiAutomation(mHandlerThread.getLooper(), in connect()
70 public UiAutomation getUiAutomation() { in getUiAutomation()
DShellUiAutomatorBridge.java22 import android.app.UiAutomation;
45 public ShellUiAutomatorBridge(UiAutomation uiAutomation) { in ShellUiAutomatorBridge()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
DInstrumentationUiAutomatorBridge.java20 import android.app.UiAutomation;
34 public InstrumentationUiAutomatorBridge(Context context, UiAutomation uiAutomation) { in InstrumentationUiAutomatorBridge()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java20 import android.app.UiAutomation;
86 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
91 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java19 import android.app.UiAutomation;
86 UiAutomation uiAutomation = automationWrapper.getUiAutomation(); in run()
DEventsCommand.java19 import android.app.UiAutomation.OnAccessibilityEventListener;
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java23 import android.app.UiAutomation;
74 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
79 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
/frameworks/base/core/java/android/app/
DUiAutomation.java80 public final class UiAutomation { class
82 private static final String LOG_TAG = UiAutomation.class.getSimpleName();
185 public UiAutomation(Looper looper, IUiAutomationConnection connection) { in UiAutomation() method in UiAutomation
DInstrumentation.java89 @IntDef({0, UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES})
107 private UiAutomation mUiAutomation;
1868 public UiAutomation getUiAutomation() { in getUiAutomation()
1899 public UiAutomation getUiAutomation(@UiAutomationFlags int flags) { in getUiAutomation()
1907 mUiAutomation = new UiAutomation(getTargetContext().getMainLooper(), in getUiAutomation()
DUiAutomationConnection.java137 if (rotation == UiAutomation.ROTATION_UNFREEZE) { in setRotation()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java33 import android.app.UiAutomation;
134 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
139 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd90 <li><a href="#UiAutomation">Automated UI testing</a></li>
1021 <h3 id="UiAutomation">Automated UI testing</h3>
1023 <p>The new {@link android.app.UiAutomation} class provides APIs that allow you to simulate user
1025 android.accessibilityservice.AccessibilityService} APIs, the {@link android.app.UiAutomation}
1028 <p>To get an instance of {@link android.app.UiAutomation}, call {@link
1034 <p>With the {@link android.app.UiAutomation} instance, you can execute arbitrary events to test
1035 your app by calling {@link android.app.UiAutomation#executeAndWaitForEvent
1038 android.app.UiAutomation.AccessibilityEventFilter} interface. It's within your {@link
1039 android.app.UiAutomation.AccessibilityEventFilter} implementation that you'll receive a call
1044 android.app.UiAutomation.OnAccessibilityEventListener} and pass it to {@link
[all …]
Dandroid-5.0.jd881 <li>The new {@link android.app.UiAutomation#getWindowAnimationFrameStats() getWindowAnimationFrameS…
882 and {@link android.app.UiAutomation#getWindowContentFrameStats(int) getWindowContentFrameStats()}
888 {@link android.app.UiAutomation#executeShellCommand(java.lang.String) executeShellCommand()}
/frameworks/base/docs/html-intl/intl/ru/about/versions/
Dandroid-5.0.jd584 …ды {@link android.app.UiAutomation#getWindowAnimationFrameStats() getWindowAnimationFrameStats()} …
586 <li>Новый метод {@link android.app.UiAutomation#executeShellCommand(java.lang.String) executeShellC…
/frameworks/base/docs/html-intl/intl/zh-tw/about/versions/
Dandroid-5.0.jd583 …新的 {@link android.app.UiAutomation#getWindowAnimationFrameStats() getWindowAnimationFrameStats()} …
585 <li>全新的 {@link android.app.UiAutomation#executeShellCommand(java.lang.String) executeShellCommand()…
/frameworks/base/docs/html-intl/intl/zh-cn/about/versions/
Dandroid-5.0.jd585 …新的 {@link android.app.UiAutomation#getWindowAnimationFrameStats() getWindowAnimationFrameStats()} …
587 <li>新的 {@link android.app.UiAutomation#executeShellCommand(java.lang.String) executeShellCommand()}…
/frameworks/base/docs/html-intl/intl/ko/about/versions/
Dandroid-5.0.jd584 …>새 {@link android.app.UiAutomation#getWindowAnimationFrameStats() getWindowAnimationFrameStats()} …
586 <li>새 {@link android.app.UiAutomation#executeShellCommand(java.lang.String) executeShellCommand()} …
/frameworks/base/docs/html-intl/intl/ja/about/versions/
Dandroid-5.0.jd583 … {@link android.app.UiAutomation#getWindowAnimationFrameStats() getWindowAnimationFrameStats()} メソ…
585 <li>新しい {@link android.app.UiAutomation#executeShellCommand(java.lang.String) executeShellCommand()…
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java31 import android.app.UiAutomation;
697 if ((flags & UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES) == 0) { in registerUiTestAutomationService()
4323 & UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES) == 0); in isUiAutomationSuppressingOtherServices()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt296 NO DOC BLOCK: android.app.UiAutomation Method clearWindowAnimationFrameStats()
297 NO DOC BLOCK: android.app.UiAutomation Method clearWindowContentFrameStats(int)
338 NO DOC BLOCK: android.app.UiAutomation Method executeShellCommand(java.lang.String)
342 NO DOC BLOCK: android.app.UiAutomation Method findFocus(int)
603 NO DOC BLOCK: android.app.UiAutomation Method getWindowAnimationFrameStats()
604 NO DOC BLOCK: android.app.UiAutomation Method getWindowContentFrameStats(int)
606 NO DOC BLOCK: android.app.UiAutomation Method getWindows()

12