/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ShellIdentityUtils.java | 99 uiAutomation.adoptShellPermissionIdentity(); in invokeMethodWithShellPermissions() 118 uiAutomation.adoptShellPermissionIdentity(permissions); in invokeMethodWithShellPermissions() 139 uiAutomation.adoptShellPermissionIdentity(permissions); in invokeThrowableMethodWithShellPermissions() 159 uiAutomation.adoptShellPermissionIdentity(permissions); in invokeMethodWithShellPermissionsNoReturn() 179 uiAutomation.adoptShellPermissionIdentity(); in invokeThrowableMethodWithShellPermissionsNoReturn() 200 uiAutomation.adoptShellPermissionIdentity(permissions); in invokeThrowableMethodWithShellPermissionsNoReturn() 220 uiAutomation.adoptShellPermissionIdentity(); in invokeMethodWithShellPermissionsNoReturn() 251 uiAutomation.adoptShellPermissionIdentity(); in invokeStaticMethodWithShellPermissions()
|
D | AdoptShellPermissionsRule.java | 63 mUiAutomation.adoptShellPermissionIdentity(mPermissions); in apply() 65 mUiAutomation.adoptShellPermissionIdentity(); in apply()
|
D | SystemUtil.java | 197 automan.adoptShellPermissionIdentity(permissions); in runWithShellPermissionIdentity() 213 automan.adoptShellPermissionIdentity(); in callWithShellPermissionIdentity()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ShellIdentityUtils.java | 69 uiAutomation.adoptShellPermissionIdentity(); in invokeMethodWithShellPermissions() 88 uiAutomation.adoptShellPermissionIdentity(); in invokeMethodWithShellPermissionsNoReturn() 119 uiAutomation.adoptShellPermissionIdentity(); in invokeStaticMethodWithShellPermissions()
|
D | AdoptShellPermissionsRule.java | 64 mUiAutomation.adoptShellPermissionIdentity(mPermissions); in apply() 66 mUiAutomation.adoptShellPermissionIdentity(); in apply()
|
D | SystemUtil.java | 183 automan.adoptShellPermissionIdentity(permissions); in runWithShellPermissionIdentity() 199 automan.adoptShellPermissionIdentity(); in callWithShellPermissionIdentity()
|
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiPermissionTests.java | 104 .adoptShellPermissionIdentity(WRITE_DEVICE_CONFIG_PERMISSION); in testUseDeviceConfigWithWritePermission() 144 .adoptShellPermissionIdentity(READ_DEVICE_CONFIG_PERMISSION); in testDeviceConfigWithReadPermission() 184 .adoptShellPermissionIdentity( in testDeviceConfigWithAllPermissions() 236 .adoptShellPermissionIdentity(WRITE_DEVICE_CONFIG_PERMISSION); in testDeviceConfigPublicNamespacesWithoutReadPermission()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsServiceTest.java | 751 automan.adoptShellPermissionIdentity(); in testMmTelManagerRegistrationCallback() 790 automan.adoptShellPermissionIdentity(); in testMmTelManagerRegistrationCallback() 860 automan.adoptShellPermissionIdentity(); in testRcsManagerRegistrationCallback() 887 automan.adoptShellPermissionIdentity(); in testRcsManagerRegistrationCallback() 1095 automan.adoptShellPermissionIdentity(); in testCapabilityStatusCallback() 1118 automan.adoptShellPermissionIdentity(); in testCapabilityStatusCallback() 1145 automan.adoptShellPermissionIdentity(); in testCapabilityStatusCallback() 1200 automan.adoptShellPermissionIdentity(); in testCapabilityStatusWithIsAvailableDuringCallback() 1217 automan.adoptShellPermissionIdentity(); in testCapabilityStatusWithIsAvailableDuringCallback() 1233 automan.adoptShellPermissionIdentity(); in testCapabilityStatusWithIsAvailableDuringCallback() [all …]
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationAssistantServiceTest.java | 106 mUi.adoptShellPermissionIdentity("android.permission.STATUS_BAR_SERVICE"); in testOnNotificationEnqueued() 142 mUi.adoptShellPermissionIdentity("android.permission.STATUS_BAR_SERVICE"); in testAdjustNotification_userSentimentKey() 176 mUi.adoptShellPermissionIdentity("android.permission.STATUS_BAR_SERVICE"); in testAdjustNotification_importanceKey() 209 mUi.adoptShellPermissionIdentity("android.permission.STATUS_BAR_SERVICE"); in testAdjustNotification_smartActionKey() 260 mUi.adoptShellPermissionIdentity("android.permission.STATUS_BAR_SERVICE"); in testAdjustNotification_smartReplyKey() 305 mUi.adoptShellPermissionIdentity("android.permission.STATUS_BAR_SERVICE"); in testAdjustNotification_importanceKey_notAllowed() 359 mUi.adoptShellPermissionIdentity("android.permission.STATUS_BAR_SERVICE"); in testGetAllowedAssistantCapabilities() 508 mUi.adoptShellPermissionIdentity("android.permission.STATUS_BAR_SERVICE", in toggleAssistantAccess()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionServiceTest.java | 61 .adoptShellPermissionIdentity("android.permission.MODIFY_PHONE_STATE"); in testAddExistingConnection() 261 .adoptShellPermissionIdentity("android.permission.MODIFY_PHONE_STATE"); in testCallDirectionIncoming() 290 .adoptShellPermissionIdentity("android.permission.MODIFY_PHONE_STATE"); in testCallDirectionOutgoing() 324 .adoptShellPermissionIdentity("android.permission.MODIFY_PHONE_STATE"); in testGetAllConnections()
|
D | NonUiInCallServiceTest.java | 45 .adoptShellPermissionIdentity( in testMidCallComponentEnablement() 89 .adoptShellPermissionIdentity( in testNullBinding()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 110 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in testAdoptAllShellPermissions() 159 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testAdoptSomeShellPermissions() 168 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in testAdoptSomeShellPermissions() 176 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testAdoptSomeShellPermissions()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 51 public static void adoptShellPermissionIdentity(String... permissions) { in adoptShellPermissionIdentity() method in InstallUtils 55 .adoptShellPermissionIdentity(permissions); in adoptShellPermissionIdentity()
|
/cts/tests/tests/os/src/android/os/image/cts/ |
D | DynamicSystemClientTest.java | 50 mInstrumentation.getUiAutomation().adoptShellPermissionIdentity(); in setUp()
|
/cts/hostsidetests/appcompat/compatchanges/app/src/com/android/cts/appcompat/ |
D | CompatChangesTest.java | 50 .adoptShellPermissionIdentity(Manifest.permission.LOG_COMPAT_CHANGE, in setUp()
|
/cts/tests/app/src/android/app/cts/ |
D | StatusBarManagerTest.java | 55 .adoptShellPermissionIdentity("android.permission.STATUS_BAR"); in setUp()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 106 uiAutomation.adoptShellPermissionIdentity() in runWithShellPermissionIdentity()
|
/cts/tests/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 56 .adoptShellPermissionIdentity( in setup()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 126 mUiAutomation.adoptShellPermissionIdentity("android.permission.INTERACT_ACROSS_USERS"); in getSettingsPackageName()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | ApexShimValidationTest.java | 58 .adoptShellPermissionIdentity( in adoptShellPermissions()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 125 mUiAutomation.adoptShellPermissionIdentity("android.permission.INTERACT_ACROSS_USERS"); in getSettingsPackageName()
|
/cts/tests/tests/hardware/src/android/hardware/lights/cts/ |
D | LightsManagerTest.java | 56 .adoptShellPermissionIdentity( in setUp()
|
/cts/tests/contentsuggestions/src/android/contentsuggestions/cts/ |
D | ContentSuggestionsManagerTest.java | 81 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setup()
|
/cts/hostsidetests/backup/RestoreSessionTest/src/android/cts/backup/restoresessionapp/ |
D | RestoreSessionTest.java | 142 mUiAutomation.adoptShellPermissionIdentity(); in setUp()
|
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/ |
D | ApplicationVisibilityCrossUserTest.java | 189 uiAutomation.adoptShellPermissionIdentity(); in ungrantAcrossUsersPermission()
|