/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | ActivityLaunchUtils.java | 63 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()
|
D | AccessibilityEventFilterUtils.java | 55 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/ |
D | UiAutomationTest.java | 79 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/ |
D | ShellIdentityUtils.java | 67 final UiAutomation uiAutomation = in invokeMethodWithShellPermissions() local 86 final UiAutomation uiAutomation = in invokeMethodWithShellPermissionsNoReturn() local 117 final UiAutomation uiAutomation = in invokeStaticMethodWithShellPermissions() local
|
D | AdoptShellPermissionsRule.java | 46 public AdoptShellPermissionsRule(@NonNull UiAutomation uiAutomation) { in AdoptShellPermissionsRule() 50 public AdoptShellPermissionsRule(@NonNull UiAutomation uiAutomation, in AdoptShellPermissionsRule()
|
D | CtsTouchUtils.java | 94 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
|
D | CtsMouseUtil.java | 80 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/ |
D | ShellIdentityUtils.java | 66 final UiAutomation uiAutomation = in invokeMethodWithShellPermissions() local 85 final UiAutomation uiAutomation = in invokeMethodWithShellPermissionsNoReturn() local 116 final UiAutomation uiAutomation = in invokeStaticMethodWithShellPermissions() local
|
D | AdoptShellPermissionsRule.java | 47 public AdoptShellPermissionsRule(@NonNull UiAutomation uiAutomation) { in AdoptShellPermissionsRule() 51 public AdoptShellPermissionsRule(@NonNull UiAutomation uiAutomation, in AdoptShellPermissionsRule()
|
D | CtsTouchUtils.java | 93 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
|
D | CtsMouseUtil.java | 80 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/ |
D | ProviderTestUtils.java | 88 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/ |
D | ShellCommandBuilder.java | 53 public static ShellCommandBuilder create(UiAutomation uiAutomation) { in create() 57 private ShellCommandBuilder(UiAutomation uiAutomation) { in ShellCommandBuilder()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 105 val uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation() in runWithShellPermissionIdentity() constant
|
D | HistoricalAppopsTest.kt | 63 val uiAutomation = getInstrumentation().getUiAutomation() in <lambda>() constant 73 val uiAutomation = getInstrumentation().getUiAutomation() in <lambda>() constant
|
D | AppOpsTest.kt | 408 val uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation() in runWithShellPermissionIdentity() constant
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockImeSessionRule.java | 49 public MockImeSessionRule(@NonNull Context context, @NonNull UiAutomation uiAutomation, in MockImeSessionRule()
|
D | MockImeSession.java | 143 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/ |
D | AccessibilityManagerTest.java | 428 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/ |
D | NavigationBarColorTest.java | 246 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/ |
D | ApplicationVisibilityCrossUserTest.java | 186 final UiAutomation uiAutomation = in ungrantAcrossUsersPermission() local
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | PasswordTransformationMethodTest.java | 126 UiAutomation uiAutomation = mInstrumentation.getUiAutomation(); in enableAppOps() local
|
/cts/tests/app/src/android/app/cts/ |
D | TileServiceTest.java | 188 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runCommand() local
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | ConditionProviderServiceTest.java | 296 UiAutomation uiAutomation = instrumentation.getUiAutomation(); in runCommand() local
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Utils.java | 114 UiAutomation uiAutomation = instrumentation.getUiAutomation(); in toggleNotificationPolicyAccess() local
|