/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedPermissionsTest.java | 760 runWithShellPermissionIdentity(() -> { in installRestrictedPermissionUserApp() method 770 runWithShellPermissionIdentity(() -> { in assertHasFullStorageAccess() method 780 runWithShellPermissionIdentity(() -> { in assertHasIsolatedStorageAccess() method 805 runWithShellPermissionIdentity(() -> { in assertWeCannotReadOrWriteWhileShellCanReadAndWrite() method 821 runWithShellPermissionIdentity(() -> { in assertCannotWhitelistStorage() method 849 runWithShellPermissionIdentity(() -> { in assertCannotWhitelistStorage() method 868 runWithShellPermissionIdentity(() -> { in assertCannotUnWhitelistStorage() method 900 runWithShellPermissionIdentity(() -> { in assertCannotUnWhitelistStorage() method 1113 runWithShellPermissionIdentity(() -> { in installApp() method 1122 runWithShellPermissionIdentity(() -> { in installApp() method [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 150 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity() method in SystemUtil 158 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable, in runWithShellPermissionIdentity() method in SystemUtil 168 public static void runWithShellPermissionIdentity( in runWithShellPermissionIdentity() method in SystemUtil 181 public static void runWithShellPermissionIdentity(@NonNull UiAutomation automan, in runWithShellPermissionIdentity() method in SystemUtil
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 164 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity() method in SystemUtil 172 public static void runWithShellPermissionIdentity(@NonNull ThrowingRunnable runnable, in runWithShellPermissionIdentity() method in SystemUtil 182 public static void runWithShellPermissionIdentity( in runWithShellPermissionIdentity() method in SystemUtil 195 public static void runWithShellPermissionIdentity(@NonNull UiAutomation automan, in runWithShellPermissionIdentity() method in SystemUtil
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CtsRoleManagerAdapter.java | 118 runWithShellPermissionIdentity(() -> { in getRoleHolder() method 131 runWithShellPermissionIdentity(() -> { in addRoleHolder() method 150 runWithShellPermissionIdentity(() -> { in removeRoleHolder() method
|
D | ThirdPartyCallScreeningServiceTest.java | 544 runWithShellPermissionIdentity(() -> { in rememberPreviousCallScreeningApp() method 593 runWithShellPermissionIdentity(() -> { in grantReadContactPermission() method 601 runWithShellPermissionIdentity(() -> { in revokeReadContactPermission() method
|
D | ThirdPartyInCallServiceTest.java | 210 runWithShellPermissionIdentity(() -> { in cacheCurrentRoleHolder() method
|
D | CallRedirectionServiceTest.java | 240 runWithShellPermissionIdentity(() -> { in rememberPreviousCallRedirectionApp() method
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 104 fun runWithShellPermissionIdentity(runnable: ThrowingRunnable) { in runWithShellPermissionIdentity() method
|
D | AppOpsTest.kt | 407 private fun runWithShellPermissionIdentity(command: () -> Unit) { in runWithShellPermissionIdentity() method
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | DefaultSmsAppHelper.java | 52 runWithShellPermissionIdentity(() -> { in ensureDefaultSmsApp() method
|
/cts/tests/app/src/android/app/cts/ |
D | KeyguardManagerTest.java | 54 runWithShellPermissionIdentity(() -> { in testPrivateNotificationsAllowed() method
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | LocationAccessCheckTest.java | 348 runWithShellPermissionIdentity(() -> { in reduceDelays() method 510 runWithShellPermissionIdentity(() -> { in resetDelays() method 658 runWithShellPermissionIdentity(() -> { in noNotificationIfBlamerNotSystemOrLocationProvider() method
|
D | PermissionControllerTest.java | 186 runWithShellPermissionIdentity(() -> { in doNotRevokeAlreadyRevokedPermission() method
|
/cts/tests/tests/net/src/android/net/cts/ |
D | Ikev2VpnTest.java | 197 runWithShellPermissionIdentity(() -> { in setAppop() method 486 runWithShellPermissionIdentity(() -> { in testStartStopVpnProfileV4() method 496 runWithShellPermissionIdentity(() -> { in testStartStopVpnProfileV6() method
|
D | ConnectivityDiagnosticsManagerTest.java | 161 runWithShellPermissionIdentity(() -> { in tearDown() method 241 runWithShellPermissionIdentity( in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable() method
|
D | ConnectivityManagerTest.java | 992 runWithShellPermissionIdentity(() -> { in testKeepaliveWifiUnsupported() method 1017 runWithShellPermissionIdentity(() -> { in testCreateTcpKeepalive() method
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityLaunchTest.java | 121 runWithShellPermissionIdentity(() -> { in tearDown() method
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 572 runWithShellPermissionIdentity(() -> { in addAndRemoveOnRoleHoldersChangedListenerAndAddRoleHolderThenIsNotNotified() method
|