Home
last modified time | relevance | path

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

1234

/aosp12/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A 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()
/aosp12/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) { in UiAutomatorBridge()
H A 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);
H A 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()
/aosp12/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
H A DUiAutomationShellWrapper.java7 import android.app.UiAutomation;
22 private UiAutomation mUiAutomation;
29 mUiAutomation = new UiAutomation(mHandlerThread.getLooper(), in connect()
69 public UiAutomation getUiAutomation() { in getUiAutomation()
H A DShellUiAutomatorBridge.java22 import android.app.UiAutomation;
48 public ShellUiAutomatorBridge(UiAutomation uiAutomation) { in ShellUiAutomatorBridge()
/aosp12/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/
H A DTestUtils.java20 import android.app.UiAutomation;
38 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in setUp()
51 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in tearDown()
/aosp12/frameworks/base/tests/PlatformCompatGating/test-rules/src/android/compat/testing/
H A DPlatformCompatChangeRule.java21 import android.app.UiAutomation;
90 UiAutomation uiAutomation = instrumentation.getUiAutomation(); in evaluate()
116 private static void adoptShellPermissions(UiAutomation uiAutomation) { in adoptShellPermissions()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
H A DCommonUtils.java21 import android.app.UiAutomation;
25 public static UiAutomation getUiAutomation() { in getUiAutomation()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DUiAutomationManagerTest.java32 import android.app.UiAutomation;
117 register(UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES); in suppressingAccessibilityServicesLocked_dependsOnFlags()
179 register(UiAutomation.FLAG_DONT_USE_ACCESSIBILITY); in uiAutomationWithDontUseAccessibilityFlagAfterUnregistering_notifiesSystem()
191 register(UiAutomation.FLAG_DONT_USE_ACCESSIBILITY); in uiAutomationWithDontUseAccessibilityFlag_disableAccessibilityFunctions()
/aosp12/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) { in InstrumentationUiAutomatorBridge()
/aosp12/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A DShellHelper.java18 import android.app.UiAutomation;
47 UiAutomation automan = InstrumentationRegistry.getInstrumentation() in runShellCommandRaw()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
H A DScreenRecordRule.java22 import android.app.UiAutomation;
56 UiAutomation automation = inst.getUiAutomation(); in apply()
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DNetworkPolicyTestUtils.java39 import android.app.UiAutomation;
203 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in getWifiSsid()
221 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in setWifiMeteredStatus()
443 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation();
453 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation();
/aosp12/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
H A DAtraceUtils.java20 import android.app.UiAutomation;
43 private UiAutomation mAutomation;
/aosp12/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
H A DLegacyProviderMigrationTest.java29 import android.app.UiAutomation;
259 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testLegacy_PlaylistMap()
392 private static void prepareProviders(Context context, UiAutomation ui) throws Exception { in prepareProviders()
409 private static void clearProviders(Context context, UiAutomation ui) throws Exception { in clearProviders()
428 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testLegacy_Extreme()
468 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in doLegacy()
596 public static String executeShellCommand(String command, UiAutomation uiAutomation) in executeShellCommand()
611 public static String executeShellCommandInternal(String command, UiAutomation uiAutomation) in executeShellCommandInternal()
H A DPublicVolumeSetupHelper.java19 import android.app.UiAutomation;
177 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in executeShellCommandInternal()
/aosp12/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DDumpCommand.java20 import android.app.UiAutomation;
90 UiAutomation uiAutomation = automationWrapper.getUiAutomation(); in run()
/aosp12/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/
H A DAtraceUtils.java20 import android.app.UiAutomation;
46 private UiAutomation mAutomation;
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DGestureBot.java19 import android.app.UiAutomation;
48 private final UiAutomation mAutomation;
51 public GestureBot(UiDevice device, UiAutomation automation, Context context, int timeout) { in GestureBot()
H A DBots.java21 import android.app.UiAutomation;
52 public Bots(UiDevice device, UiAutomation automation, Context context, int timeout) { in Bots()
/aosp12/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
H A DFilesJankPerfTest.java27 import android.app.UiAutomation;
54 final UiAutomation automation = getInstrumentation().getUiAutomation(); in setUpInLoop()
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DActionCreateDocumentUiTest.java27 import android.app.UiAutomation;
64 UiAutomation automation = getInstrumentation().getUiAutomation(); in setup()
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DUiAutomationManager.java23 import android.app.UiAutomation;
172 & UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES) == 0); in suppressingAccessibilityServicesLocked()
176 return ((mUiAutomationFlags & UiAutomation.FLAG_DONT_USE_ACCESSIBILITY) == 0); in useAccessibility()
/aosp12/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/
H A DPlatformCompatCommandNotInstalledTest.kt20 import android.app.UiAutomation
92 private val uiAutomation: UiAutomation = instrumentation.getUiAutomation()

1234