/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiLocationInfoTest.java | 153 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 …]
|
D | EasyConnectStatusCallbackTest.java | 145 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/ |
D | ShellIdentityUtils.java | 100 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 …]
|
D | SystemUtil.java | 76 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/ |
D | UiAutomationTest.java | 82 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/ |
D | ContextCrossProfileDeviceTest.java | 67 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/ |
D | CompatChangesTest.java | 57 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/ |
D | ConnectionServiceTest.java | 63 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 …]
|
D | NonUiInCallServiceTest.java | 43 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/ |
D | LauncherAppsTest.java | 64 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/ |
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/uwb/src/android/uwb/cts/ |
D | UwbManagerTest.java | 79 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/ |
D | ModifyInstallerCrossPackageTest.kt | 41 InstrumentationRegistry.getInstrumentation().getUiAutomation() in adoptPermissions() 48 InstrumentationRegistry.getInstrumentation().getUiAutomation() in dropPermissions()
|
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/ |
D | OnDeviceRecognitionServiceTest.java | 40 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setUp() 51 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 100 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/ |
D | PackageInstallerTest.java | 52 .getUiAutomation() in setUp() 62 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ModifyInstallerCrossPackageTest.kt | 48 InstrumentationRegistry.getInstrumentation().getUiAutomation() in adoptPermissions() 55 InstrumentationRegistry.getInstrumentation().getUiAutomation() in dropPermissions()
|
D | UriGrantsClipboardTest.java | 61 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testClipboardWithPermission() 70 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testClipboardWithPermission()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandIncrementalTest.java | 112 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/ |
D | DeviceConfigApiPermissionTests.java | 54 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/ |
D | PrivilegedLocationPermissionTest.java | 51 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp() 57 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
|
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/ |
D | PackageManagerMultiUserTest.java | 43 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown() 49 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testUninstallExistingPackage()
|
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/ |
D | StaticSharedLibsTests.java | 57 .getUiAutomation() in setUp() 68 .getUiAutomation() in tearDown()
|
/cts/tests/tests/content/pm/SecureFrp/src/com/android/tests/securefrpinstall/ |
D | SecureFrpInstallTest.java | 47 .getUiAutomation() in adoptShellPermissions() 55 .getUiAutomation() in dropShellPermissions()
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | SettingsMultiPaneDeepLinkTest.java | 110 instrumentation.getUiAutomation().adoptShellPermissionIdentity(); in deepLinkHomeActivity_receiveMultiPaneDeepLinkIntent_shouldStartActivity() 116 instrumentation.getUiAutomation().dropShellPermissionIdentity(); in deepLinkHomeActivity_receiveMultiPaneDeepLinkIntent_shouldStartActivity()
|