Home
last modified time | relevance | path

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

12345678

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGlobalActionsTest.java49 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionBack()
58 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionHome()
69 getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionRecents()
81 getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionRecents()
93 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionNotifications()
100 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionNotifications()
111 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionQuickSettings()
121 getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionQuickSettings()
132 assertTrue(getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionPowerDialog()
139 getInstrumentation().getUiAutomation().performGlobalAction( in testPerformGlobalActionPowerDialog()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java97 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions()
116 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions()
137 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeThrowableMethodWithShellPermissions()
157 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn()
177 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeThrowableMethodWithShellPermissionsNoReturn()
198 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeThrowableMethodWithShellPermissionsNoReturn()
218 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn()
249 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/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/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java60 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testAddExistingConnection()
76 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testAddExistingConnection()
260 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallDirectionIncoming()
278 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallDirectionIncoming()
289 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallDirectionOutgoing()
313 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallDirectionOutgoing()
323 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testGetAllConnections()
357 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testGetAllConnections()
DNonUiInCallServiceTest.java44 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablement()
79 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablement()
88 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testNullBinding()
114 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testNullBinding()
/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/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/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(),
/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/hardware/src/android/hardware/lights/cts/
DLightsManagerTest.java55 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
66 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
72 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testControlLightsPermissionIsRequiredToUseLights()
/cts/hostsidetests/appcompat/compatchanges/app/src/com/android/cts/appcompat/
DCompatChangesTest.java49 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
56 InstrumentationRegistry.getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/tests/app/src/android/app/cts/
DStatusBarManagerTest.java54 getInstrumentation().getUiAutomation() in setUp()
61 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DNetworkScanApiTest.java124 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in setUp()
126 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in setUp()
174 InstrumentationRegistry.getInstrumentation().getUiAutomation() in onLooperPrepared()
191 InstrumentationRegistry.getInstrumentation().getUiAutomation() in onLooperPrepared()
456 InstrumentationRegistry.getInstrumentation().getUiAutomation() in getAndSetLocationSwitch()
471 InstrumentationRegistry.getInstrumentation().getUiAutomation() in getAndSetLocationSwitch()
/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/provider/src/android/provider/cts/
DSettings_NameValueTableTest.java42 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in setUp()
52 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in tearDown()
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java55 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setup()
71 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/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DApexShimValidationTest.java57 .getUiAutomation() in adoptShellPermissions()
67 .getUiAutomation() in dropShellPermissions()

12345678