/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGlobalActionsTest.java | 47 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/ |
D | UiAutomationTest.java | 79 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/ |
D | ScreenCaptureDisabledTest.java | 53 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/ |
D | ShellIdentityUtils.java | 68 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions() 87 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn() 118 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeStaticMethodWithShellPermissions()
|
D | SystemUtil.java | 70 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()
|
D | CtsTouchUtils.java | 94 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/ |
D | ShellIdentityUtils.java | 67 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions() 86 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn() 117 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeStaticMethodWithShellPermissions()
|
D | SystemUtil.java | 75 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()
|
D | CtsTouchUtils.java | 93 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/ |
D | DeviceConfigApiPermissionTests.java | 54 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/ |
D | ApplyOverrideConfigurationTest.java | 41 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/ |
D | FocusHandlingTest.java | 102 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
|
D | InputMethodServiceTest.java | 122 InstrumentationRegistry.getInstrumentation().getUiAutomation(), 174 InstrumentationRegistry.getInstrumentation().getUiAutomation(), 191 InstrumentationRegistry.getInstrumentation().getUiAutomation(), 236 InstrumentationRegistry.getInstrumentation().getUiAutomation(), 305 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
|
D | SearchViewTest.java | 84 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in testTapThenSetQuery() argument 114 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in testShowImeWithSearchViewFocus() argument
|
D | KeyboardVisibilityControlTest.java | 139 InstrumentationRegistry.getInstrumentation().getUiAutomation(), 175 InstrumentationRegistry.getInstrumentation().getUiAutomation(), 207 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
|
/cts/tests/app/src/android/app/cts/ |
D | StatusBarManagerTest.java | 54 getInstrumentation().getUiAutomation() in setUp() 61 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
/cts/tests/tests/os/src/android/os/image/cts/ |
D | DynamicSystemClientTest.java | 50 mInstrumentation.getUiAutomation().adoptShellPermissionIdentity(); in setUp() 92 mInstrumentation.getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Utils.java | 89 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/ |
D | NetworkScanApiTest.java | 121 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/ |
D | Settings_NameValueTableTest.java | 42 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in setUp() 52 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in tearDown()
|
D | Settings_SystemTest.java | 50 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in setUp() 60 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in tearDown()
|
/cts/tests/rollback/src/android/server/cts/rollback/ |
D | RollbackManagerTest.java | 53 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setup() 69 InstrumentationRegistry.getInstrumentation().getUiAutomation() in teardown()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 169 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/ |
D | ContentSuggestionsManagerTest.java | 73 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setup() 93 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | BasePermissionsTest.java | 284 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()
|