Home
last modified time | relevance | path

Searched defs:uiAutomation (Results 1 – 25 of 37) sorted by relevance

12

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java63 Instrumentation instrumentation, UiAutomation uiAutomation, in launchActivityAndWaitForItToBeOnscreen()
73 homeScreenOrBust(instrumentation.getContext(), uiAutomation); in launchActivityAndWaitForItToBeOnscreen() local
109 UiAutomation uiAutomation, CharSequence title) { in findWindowByTitle()
123 public static void homeScreenOrBust(Context context, UiAutomation uiAutomation) { in homeScreenOrBust()
151 private static boolean isHomeScreenShowing(Context context, UiAutomation uiAutomation) { in isHomeScreenShowing()
181 private static void wakeUpOrBust(Context context, UiAutomation uiAutomation) { in wakeUpOrBust()
214 private static void executeAndWaitOn(UiAutomation uiAutomation, Runnable command, in executeAndWaitOn()
DAccessibilityEventFilterUtils.java55 public static AccessibilityEventFilter filterWindowsChangeTypesAndWindowTitle( in filterWindowsChangeTypesAndWindowTitle()
147 public WindowTitleMatcher(@NonNull UiAutomation uiAutomation, @NonNull String title) { in WindowTitleMatcher()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java79 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in setUp() local
192 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStats() local
254 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStatsNoAnimation() local
307 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowAnimationFrameStats() local
372 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowAnimationFrameStatsNoAnimation() local
403 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testUsingUiAutomationAfterDestroy_shouldThrowException() local
431 UiAutomation uiAutomation = getInstrumentation() in testServiceWithNoFlags_shutsDownA11yService() local
450 UiAutomation uiAutomation = getInstrumentation() in testServiceSupressingA11yServices_a11yServiceStartsWhenDestroyed() local
486 private void scrollListView(UiAutomation uiAutomation, final ListView listView, in scrollListView()
513 private void grantWriteSecureSettingsPermission(UiAutomation uiAutomation) { in grantWriteSecureSettingsPermission()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java67 final UiAutomation uiAutomation = in invokeMethodWithShellPermissions() local
86 final UiAutomation uiAutomation = in invokeMethodWithShellPermissionsNoReturn() local
117 final UiAutomation uiAutomation = in invokeStaticMethodWithShellPermissions() local
DAdoptShellPermissionsRule.java46 public AdoptShellPermissionsRule(@NonNull UiAutomation uiAutomation) { in AdoptShellPermissionsRule()
50 public AdoptShellPermissionsRule(@NonNull UiAutomation uiAutomation, in AdoptShellPermissionsRule()
DCtsTouchUtils.java94 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateTapOnView() local
140 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDoubleTapOnView() local
193 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDragGesture() local
238 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDragGesture() local
274 private static long injectDownEvent(UiAutomation uiAutomation, long downTime, int xOnScreen, in injectDownEvent()
287 private static void injectMoveEventForTap(UiAutomation uiAutomation, long downTime, in injectMoveEventForTap()
296 private static void injectMoveEventsForDrag(UiAutomation uiAutomation, long downTime, in injectMoveEventsForDrag()
370 private static void injectUpEvent(UiAutomation uiAutomation, long downTime, in injectUpEvent()
597 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateLongPressOnScreen() local
DCtsMouseUtil.java80 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateHoverOnView() local
89 private static void injectHoverEvent(UiAutomation uiAutomation, long downTime, int xOnScreen, in injectHoverEvent()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DShellIdentityUtils.java66 final UiAutomation uiAutomation = in invokeMethodWithShellPermissions() local
85 final UiAutomation uiAutomation = in invokeMethodWithShellPermissionsNoReturn() local
116 final UiAutomation uiAutomation = in invokeStaticMethodWithShellPermissions() local
DAdoptShellPermissionsRule.java47 public AdoptShellPermissionsRule(@NonNull UiAutomation uiAutomation) { in AdoptShellPermissionsRule()
51 public AdoptShellPermissionsRule(@NonNull UiAutomation uiAutomation, in AdoptShellPermissionsRule()
DCtsTouchUtils.java93 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateTapOnView() local
139 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDoubleTapOnView() local
192 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDragGesture() local
237 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDragGesture() local
273 private static long injectDownEvent(UiAutomation uiAutomation, long downTime, int xOnScreen, in injectDownEvent()
286 private static void injectMoveEventForTap(UiAutomation uiAutomation, long downTime, in injectMoveEventForTap()
295 private static void injectMoveEventsForDrag(UiAutomation uiAutomation, long downTime, in injectMoveEventsForDrag()
369 private static void injectUpEvent(UiAutomation uiAutomation, long downTime, in injectUpEvent()
596 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateLongPressOnScreen() local
DCtsMouseUtil.java80 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateHoverOnView() local
89 private static void injectHoverEvent(UiAutomation uiAutomation, long downTime, int xOnScreen, in injectHoverEvent()
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java88 static void setDefaultSmsApp(boolean setToSmsApp, String packageName, UiAutomation uiAutomation) in setDefaultSmsApp()
92 executeShellCommand(String.format(cmd, packageName, "WRITE_SMS", mode), uiAutomation); in setDefaultSmsApp() local
93 executeShellCommand(String.format(cmd, packageName, "READ_SMS", mode), uiAutomation); in setDefaultSmsApp() local
101 static String executeShellCommand(String command, UiAutomation uiAutomation) in executeShellCommand()
122 static String setBackupTransport(String transport, UiAutomation uiAutomation) throws Exception { in setBackupTransport()
133 static boolean setBackupEnabled(boolean enable, UiAutomation uiAutomation) throws Exception { in setBackupEnabled()
149 static boolean hasBackupTransport(String transport, UiAutomation uiAutomation) in hasBackupTransport()
163 static void runBackup(String packageName, UiAutomation uiAutomation) throws Exception { in runBackup()
168 static void runRestore(String packageName, UiAutomation uiAutomation) throws Exception { in runRestore()
173 static void wipeBackup(String backupTransport, String packageName, UiAutomation uiAutomation) in wipeBackup()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DShellCommandBuilder.java53 public static ShellCommandBuilder create(UiAutomation uiAutomation) { in create()
57 private ShellCommandBuilder(UiAutomation uiAutomation) { in ShellCommandBuilder()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsUtils.kt105 val uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation() in runWithShellPermissionIdentity() constant
DHistoricalAppopsTest.kt63 val uiAutomation = getInstrumentation().getUiAutomation() in <lambda>() constant
73 val uiAutomation = getInstrumentation().getUiAutomation() in <lambda>() constant
DAppOpsTest.kt408 val uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation() in runWithShellPermissionIdentity() constant
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSessionRule.java49 public MockImeSessionRule(@NonNull Context context, @NonNull UiAutomation uiAutomation, in MockImeSessionRule()
DMockImeSession.java143 private static String executeShellCommand( in executeShellCommand()
184 private MockImeSession(@NonNull Context context, @NonNull UiAutomation uiAutomation) { in MockImeSession()
239 @NonNull UiAutomation uiAutomation, in create()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java428 UiAutomation uiAutomation = sInstrumentation.getUiAutomation( in performShortcut_withoutPermission_fails() local
448 UiAutomation uiAutomation = sInstrumentation.getUiAutomation( in performShortcut_withPermission_succeeds() local
467 private String configureShortcut(UiAutomation uiAutomation, String shortcutService) { in configureShortcut()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DNavigationBarColorTest.java246 final UiAutomation uiAutomation = in getNavigationBarBitmap() local
249 InstrumentationRegistry.getContext(), uiAutomation, builder)) { in getNavigationBarBitmap() argument
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/
DApplicationVisibilityCrossUserTest.java186 final UiAutomation uiAutomation = in ungrantAcrossUsersPermission() local
/cts/tests/tests/text/src/android/text/method/cts/
DPasswordTransformationMethodTest.java126 UiAutomation uiAutomation = mInstrumentation.getUiAutomation(); in enableAppOps() local
/cts/tests/app/src/android/app/cts/
DTileServiceTest.java188 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runCommand() local
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java296 UiAutomation uiAutomation = instrumentation.getUiAutomation(); in runCommand() local
/cts/tests/tests/media/src/android/media/cts/
DUtils.java114 UiAutomation uiAutomation = instrumentation.getUiAutomation(); in toggleNotificationPolicyAccess() local

12