Home
last modified time | relevance | path

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

12345678910>>...13

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiLocationInfoTest.java153 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in turnScreenOn()
155 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand("" in turnScreenOn()
162 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in turnScreenOff()
250 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanTriggerAllowedForForegroundActivityWithFineLocationPermission()
258 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanTriggerAllowedForBackgroundServiceWithBackgroundLocationPermission()
260 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanTriggerAllowedForBackgroundServiceWithBackgroundLocationPermission()
268 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanTriggerNotAllowedForBackgroundServiceWithFineLocationPermission()
282 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanResultsRetrievalAllowedForForegroundActivityWithFineLocationPermission()
290 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanResultsRetrievalAllowedForBackgroundServiceWithBackgroundLocationPermission()
292 InstrumentationRegistry.getInstrumentation().getUiAutomation().grantRuntimePermission( in testScanResultsRetrievalAllowedForBackgroundServiceWithBackgroundLocationPermission()
[all …]
DEasyConnectStatusCallbackTest.java145 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testConfiguratorInitiatorOnFailure()
185 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testEnrolleeInitiatorOnFailure()
219 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testEnrolleeResponderUriGeneration()
256 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testStartEasyConnectAsEnrolleeResponderThrowsIllegalArgumentExceptionOnWrongDeviceInfo()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java100 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions()
119 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions()
149 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions()
171 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions()
193 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissions()
214 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeThrowableMethodWithShellPermissions()
234 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn()
254 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeThrowableMethodWithShellPermissionsNoReturn()
275 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeThrowableMethodWithShellPermissionsNoReturn()
295 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeMethodWithShellPermissionsNoReturn()
[all …]
DSystemUtil.java76 return runShellCommand(instrumentation.getUiAutomation(), cmd); in runShellCommand()
140 UiAutomation automation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runShellCommandOrThrow()
230 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity()
242 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity()
252 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity()
261 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity()
299 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in callWithShellPermissionIdentity()
316 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in callWithShellPermissionIdentity()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java82 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in setUp()
107 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in testAdoptAllShellPermissions()
117 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in testAdoptAllShellPermissions()
143 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testAdoptSomeShellPermissions()
152 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in testAdoptSomeShellPermissions()
160 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testAdoptSomeShellPermissions()
168 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in testAdoptSomeShellPermissions()
176 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStats()
238 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowContentFrameStatsNoAnimation()
288 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testWindowAnimationFrameStatsDoesntCrash()
[all …]
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/
DContextCrossProfileDeviceTest.java67 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
87 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser()
107 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService()
123 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService()
139 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService()
160 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesPermission_throwsException()
181 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesAppOp_bindsService()
201 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesAppOp_throwsException()
226 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossUsersPermission_throwsException()
247 InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException()
[all …]
/cts/hostsidetests/appcompat/compatchanges/app/src/com/android/cts/appcompat/compatchanges/
DCompatChangesTest.java57 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
66 InstrumentationRegistry.getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
149 InstrumentationRegistry.getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in putPackageOverrides_securityExceptionForNotHoldingPermission()
150 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in putPackageOverrides_securityExceptionForNotHoldingPermission()
196 InstrumentationRegistry.getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in removePackageOverrides_securityExceptionForNotHoldingPermission()
197 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in removePackageOverrides_securityExceptionForNotHoldingPermission()
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java63 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testAddExistingConnection()
79 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testAddExistingConnection()
267 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallDirectionIncoming()
285 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallDirectionIncoming()
314 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallFilteringCompleteSignalNotInContacts()
346 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallFilteringCompleteSignalNotInContacts()
356 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallFilteringCompleteSignalInContacts()
395 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testCallFilteringCompleteSignalInContacts()
418 InstrumentationRegistry.getInstrumentation().getUiAutomation()
442 InstrumentationRegistry.getInstrumentation().getUiAutomation()
[all …]
DNonUiInCallServiceTest.java43 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablement()
78 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testMidCallComponentEnablement()
87 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testNullBinding()
117 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testNullBinding()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DLauncherAppsTest.java64 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
91 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in shortcutIconDrawable_currentToOtherProfile_withUsersFullPermission_isNotNull()
107 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in shortcutIconDrawable_currentToOtherProfile_withoutUsersFullPermission_isNull()
115 InstrumentationRegistry.getInstrumentation().getUiAutomation() in shortcutIconDrawable_currentToOtherProfile_withoutUsersFullPermission_isNull()
117 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in shortcutIconDrawable_currentToOtherProfile_withoutUsersFullPermission_isNull()
/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/uwb/src/android/uwb/cts/
DUwbManagerTest.java79 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testGetSpecificationInfo()
106 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testElapsedRealtimeResolutionNanos()
169 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testOpenRangingSessionWithBadParams()
198 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testOpenRangingSessionWithoutUwbPrivileged()
220 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testOpenRangingSessionWithoutUwbRanging()
270 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testOpenRangingSessionWithoutUwbRangingInNextAttributeSource()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DModifyInstallerCrossPackageTest.kt41 InstrumentationRegistry.getInstrumentation().getUiAutomation() in adoptPermissions()
48 InstrumentationRegistry.getInstrumentation().getUiAutomation() in dropPermissions()
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DOnDeviceRecognitionServiceTest.java40 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setUp()
51 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTouchHelper.java100 mInstrumentation.getUiAutomation().syncInputTransactions(waitAnimations); in tapOnDisplay()
147 getInstrumentation().getUiAutomation().injectInputEvent(event, sync, waitAnimations); in injectMotion()
155 getInstrumentation().getUiAutomation().injectInputEvent(downEvent, sync); in injectKey()
160 getInstrumentation().getUiAutomation().injectInputEvent(repeatEvent, sync); in injectKey()
164 getInstrumentation().getUiAutomation().injectInputEvent(upEvent, sync); in injectKey()
/cts/tests/tests/security/src/android/security/cts/
DPackageInstallerTest.java52 .getUiAutomation() in setUp()
62 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DModifyInstallerCrossPackageTest.kt48 InstrumentationRegistry.getInstrumentation().getUiAutomation() in adoptPermissions()
55 InstrumentationRegistry.getInstrumentation().getUiAutomation() in dropPermissions()
DUriGrantsClipboardTest.java61 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testClipboardWithPermission()
70 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testClipboardWithPermission()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java112 private static UiAutomation getUiAutomation() { in getUiAutomation() method in PackageManagerShellCommandIncrementalTest
113 return InstrumentationRegistry.getInstrumentation().getUiAutomation(); in getUiAutomation()
200 getUiAutomation().adoptShellPermissionIdentity(); in testSpaceAllocatedForPackage()
237 getUiAutomation().dropShellPermissionIdentity(); in testSpaceAllocatedForPackage()
308 getUiAutomation().adoptShellPermissionIdentity(); in testInstallWithStreaming()
314 getUiAutomation().dropShellPermissionIdentity(); in testInstallWithStreaming()
369 getUiAutomation().adoptShellPermissionIdentity(); in installWithBlockFilter()
375 getUiAutomation().dropShellPermissionIdentity(); in installWithBlockFilter()
456 getUiAutomation().adoptShellPermissionIdentity(); in testInstallWithStreamingAndCompression()
462 getUiAutomation().dropShellPermissionIdentity(); in testInstallWithStreamingAndCompression()
[all …]
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java54 InstrumentationRegistry.getInstrumentation().getUiAutomation() in dropShellPermissionIdentityAfterTest()
90 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testDeviceConfigWithWritePermission()
117 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testDeviceConfigWithReadPermission()
144 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testDeviceConfigWithAllPermissions()
197 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testDeviceConfigPublicNamespacesWithoutReadPermission()
/cts/tests/location/location_privileged/src/android/location/cts/privileged/
DPrivilegedLocationPermissionTest.java51 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
57 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/
DPackageManagerMultiUserTest.java43 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
49 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testUninstallExistingPackage()
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsTests.java57 .getUiAutomation() in setUp()
68 .getUiAutomation() in tearDown()
/cts/tests/tests/content/pm/SecureFrp/src/com/android/tests/securefrpinstall/
DSecureFrpInstallTest.java47 .getUiAutomation() in adoptShellPermissions()
55 .getUiAutomation() in dropShellPermissions()
/cts/tests/tests/settings/src/android/settings/cts/
DSettingsMultiPaneDeepLinkTest.java110 instrumentation.getUiAutomation().adoptShellPermissionIdentity(); in deepLinkHomeActivity_receiveMultiPaneDeepLinkIntent_shouldStartActivity()
116 instrumentation.getUiAutomation().dropShellPermissionIdentity(); in deepLinkHomeActivity_receiveMultiPaneDeepLinkIntent_shouldStartActivity()

12345678910>>...13