/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGlobalActionsTest.java | 49 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/ |
D | ShellIdentityUtils.java | 97 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()
|
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/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/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionServiceTest.java | 60 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()
|
D | NonUiInCallServiceTest.java | 44 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/ |
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/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/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(),
|
/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/hardware/src/android/hardware/lights/cts/ |
D | LightsManagerTest.java | 55 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/ |
D | CompatChangesTest.java | 49 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp() 56 InstrumentationRegistry.getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
/cts/tests/app/src/android/app/cts/ |
D | StatusBarManagerTest.java | 54 getInstrumentation().getUiAutomation() in setUp() 61 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | NetworkScanApiTest.java | 124 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/ |
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/provider/src/android/provider/cts/ |
D | Settings_NameValueTableTest.java | 42 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in setUp() 52 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in tearDown()
|
/cts/tests/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 55 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setup() 71 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/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | ApexShimValidationTest.java | 57 .getUiAutomation() in adoptShellPermissions() 67 .getUiAutomation() in dropShellPermissions()
|