Home
last modified time | relevance | path

Searched refs:automation (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DLongPressBackTest.java63 final UiAutomation automation = InstrumentationRegistry.getInstrumentation() in testAppIsNotDismissed() local
68 automation.injectInputEvent(new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_DOWN, in testAppIsNotDismissed()
84 automation.injectInputEvent(new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_UP, in testAppIsNotDismissed()
DKeyEventInterceptTest.java134 final UiAutomation automation = mInstrumentation.getUiAutomation(); in injectEvent() local
135 automation.injectInputEvent(event, true); in injectEvent()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DShellCommandBuilder.java91 public static void execShellCommand(UiAutomation automation, String command) { in execShellCommand() argument
93 try (ParcelFileDescriptor fd = automation.executeShellCommand(command)) { in execShellCommand()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSystemUtil.java82 public static String runShellCommand(UiAutomation automation, String cmd) in runShellCommand() argument
89 ParcelFileDescriptor pfd = automation.executeShellCommand(cmd); in runShellCommand()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java199 final UiAutomation automation = mInstrumentation.getUiAutomation(); in injectEvent() local
203 automation.injectInputEvent(event, true); in injectEvent()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java146 final UiAutomation automation = getInstrumentation().getUiAutomation(); in injectEvent() local
150 assertTrue(automation.injectInputEvent(event, true)); in injectEvent()
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java423 UiAutomation automation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runShellCommand() local
424 ParcelFileDescriptor output = automation.executeShellCommand(cmd); in runShellCommand()