Home
last modified time | relevance | path

Searched refs:UiAutomation (Results 1 – 25 of 29) 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;
570 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_270);
582 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_90);
594 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_0);
603 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_CURRENT);
612 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.java7 import android.app.UiAutomation;
22 private UiAutomation mUiAutomation;
29 mUiAutomation = new UiAutomation(mHandlerThread.getLooper(), in connect()
69 public UiAutomation getUiAutomation() { in getUiAutomation()
DShellUiAutomatorBridge.java22 import android.app.UiAutomation;
46 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/apct-tests/perftests/utils/src/android/perftests/utils/
DShellHelper.java18 import android.app.UiAutomation;
47 UiAutomation automan = InstrumentationRegistry.getInstrumentation() in runShellCommandRaw()
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DLocalOverlayManager.java21 import android.app.UiAutomation;
63 final UiAutomation uiAutomation = in executeShellCommand()
/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/services/tests/servicestests/src/com/android/server/accessibility/
DUiAutomationManagerTest.java29 import android.app.UiAutomation;
105 register(UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES); in suppressingAccessibilityServicesLocked_dependsOnFlags()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java25 import android.app.UiAutomation;
118 mInstrumentation.getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
131 mInstrumentation.getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java26 import android.app.UiAutomation;
59 private static UiAutomation sUiAutomation;
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java24 import android.app.UiAutomation;
76 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
81 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DServiceCrashTest.java19 import android.app.UiAutomation;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java22 import android.app.UiAutomation;
154 & UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES) == 0); in suppressingAccessibilityServicesLocked()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java19 import android.app.UiAutomation;
78 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in setUp()
/frameworks/base/core/java/android/app/
DUiAutomation.java89 public final class UiAutomation { class
91 private static final String LOG_TAG = UiAutomation.class.getSimpleName();
199 public UiAutomation(Looper looper, IUiAutomationConnection connection) { in UiAutomation() method in UiAutomation
DInstrumentation.java96 @IntDef({0, UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES})
114 private UiAutomation mUiAutomation;
2116 public UiAutomation getUiAutomation() { in getUiAutomation()
2147 public UiAutomation getUiAutomation(@UiAutomationFlags int flags) { in getUiAutomation()
2155 mUiAutomation = new UiAutomation(getTargetContext().getMainLooper(), in getUiAutomation()
DUiAutomationConnection.java163 if (rotation == UiAutomation.ROTATION_UNFREEZE) { in setRotation()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java22 import android.app.UiAutomation;
436 UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runCommand()
/frameworks/base/tests/AppLaunchWear/src/com/android/tests/applaunch/
DAppLaunch.java23 import android.app.UiAutomation;
143 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
148 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java23 import android.app.UiAutomation;
154 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
159 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()

12