Home
last modified time | relevance | path

Searched refs:getUiAutomation (Results 1 – 25 of 160) sorted by relevance

1234567

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGlobalActionsTest.java47 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionBack()
56 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionHome()
67 getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionRecents()
79 getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionRecents()
90 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionNotifications()
97 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionNotifications()
107 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionQuickSettings()
117 getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionQuickSettings()
127 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionPowerDialog()
134 getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionPowerDialog()
[all …]
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java79 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in setUp()
110 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in testAdoptAllShellPermissions()
123 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in testAdoptAllShellPermissions()
159 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testAdoptSomeShellPermissions()
168 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in testAdoptSomeShellPermissions()
176 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testAdoptSomeShellPermissions()
184 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in testAdoptSomeShellPermissions()
192 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStats()
254 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStatsNoAnimation()
307 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowAnimationFrameStats()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DScreenCaptureDisabledTest.java53 if (getInstrumentation().getUiAutomation().takeScreenshot() == null) { in testScreenCaptureImpossible()
57 assertNull(getInstrumentation().getUiAutomation().takeScreenshot()); in testScreenCaptureImpossible()
64 if (getInstrumentation().getUiAutomation().takeScreenshot() != null) { in testScreenCapturePossible()
68 assertNotNull(getInstrumentation().getUiAutomation().takeScreenshot()); in testScreenCapturePossible()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java68 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions()
87 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn()
118 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeStaticMethodWithShellPermissions()
DSystemUtil.java70 return runShellCommand(instrumentation.getUiAutomation(), cmd); in runShellCommand()
165 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity()
174 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity()
212 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in callWithShellPermissionIdentity()
DCtsTouchUtils.java94 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateTapOnView()
140 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDoubleTapOnView()
193 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDragGesture()
238 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDragGesture()
597 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateLongPressOnScreen()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DShellIdentityUtils.java67 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions()
86 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn()
117 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeStaticMethodWithShellPermissions()
DSystemUtil.java75 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand(cmd); in runShellCommand()
151 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity()
160 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity()
198 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in callWithShellPermissionIdentity()
DCtsTouchUtils.java93 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateTapOnView()
139 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDoubleTapOnView()
192 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDragGesture()
237 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateDragGesture()
596 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in emulateLongPressOnScreen()
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java54 InstrumentationRegistry.getInstrumentation().getUiAutomation() in dropShellPermissionIdentityAfterTest()
103 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testUseDeviceConfigWithWritePermission()
143 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testDeviceConfigWithReadPermission()
183 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testDeviceConfigWithAllPermissions()
235 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testDeviceConfigPublicNamespacesWithoutReadPermission()
/cts/tests/tests/app/src/android/app/cts/
DApplyOverrideConfigurationTest.java41 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
46 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
65 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_90); in testOverriddenConfigurationIsPassedIntoCallback()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DFocusHandlingTest.java102 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in testOnStartInputCalledOnceIme() argument
132 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() argument
175 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in testEditorStartsInput() argument
201 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in testSoftInputStateAlwaysVisibleFocusedEditorView() argument
242 instrumentation.getUiAutomation(), in testFocusableWindowDoesNotInvalidateExistingInputConnection() argument
346 instrumentation.getUiAutomation(), in testRestartInputWhileOtherProcessHasWindowFocus() argument
398 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in testSetShowInputOnFocus() argument
DInputMethodServiceTest.java122 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
174 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
191 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
236 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
305 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
DSearchViewTest.java84 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in testTapThenSetQuery() argument
114 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in testShowImeWithSearchViewFocus() argument
DKeyboardVisibilityControlTest.java139 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
175 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
207 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
/cts/tests/app/src/android/app/cts/
DStatusBarManagerTest.java54 getInstrumentation().getUiAutomation() in setUp()
61 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/tests/tests/os/src/android/os/image/cts/
DDynamicSystemClientTest.java50 mInstrumentation.getUiAutomation().adoptShellPermissionIdentity(); in setUp()
92 mInstrumentation.getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/tests/tests/media/src/android/media/cts/
DUtils.java89 instrumentation.getUiAutomation().executeShellCommand(cmd.toString()); in setAppOps()
101 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand( in setAppOps()
114 UiAutomation uiAutomation = instrumentation.getUiAutomation(); in toggleNotificationPolicyAccess()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DNetworkScanApiTest.java121 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in setUp()
123 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in setUp()
171 InstrumentationRegistry.getInstrumentation().getUiAutomation() in onLooperPrepared()
188 InstrumentationRegistry.getInstrumentation().getUiAutomation() in onLooperPrepared()
453 InstrumentationRegistry.getInstrumentation().getUiAutomation() in getAndSetLocationSwitch()
468 InstrumentationRegistry.getInstrumentation().getUiAutomation() in getAndSetLocationSwitch()
/cts/tests/tests/provider/src/android/provider/cts/
DSettings_NameValueTableTest.java42 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in setUp()
52 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in tearDown()
DSettings_SystemTest.java50 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in setUp()
60 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in tearDown()
/cts/tests/rollback/src/android/server/cts/rollback/
DRollbackManagerTest.java53 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setup()
69 InstrumentationRegistry.getInstrumentation().getUiAutomation() in teardown()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java169 mInstrumentation.getUiAutomation().executeShellCommand(cmd.toString()); in enableAppOps()
180 mInstrumentation.getUiAutomation().executeShellCommand(queryStr); in enableAppOps()
199 final UiAutomation automation = mInstrumentation.getUiAutomation(); in injectEvent()
/cts/tests/contentsuggestions/src/android/contentsuggestions/cts/
DContentSuggestionsManagerTest.java73 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setup()
93 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionsTest.java284 getInstrumentation().getUiAutomation().waitForIdle( in requestPermissions()
480 getInstrumentation().getUiAutomation().executeAndWaitForEvent( in startActivity()
494 AccessibilityNodeInfo root = getInstrumentation().getUiAutomation().getRootInActiveWindow(); in findByText()
565 getInstrumentation().getUiAutomation().executeAndWaitForEvent( in scroll()
590 getInstrumentation().getUiAutomation().executeAndWaitForEvent( in click()
639 getInstrumentation().getUiAutomation().waitForIdle(IDLE_TIMEOUT_MILLIS, in waitForIdle()

1234567