OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:runWithShellPermissionIdentity
(Results
1 - 25
of
45
) sorted by null
1
2
/cts/tests/tests/telecom/src/android/telecom/cts/
TelecomManagerTest.java
19
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
34
runWithShellPermissionIdentity
(() ->
55
runWithShellPermissionIdentity
(() ->
DefaultPhoneAccountTest.java
19
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
81
runWithShellPermissionIdentity
(() ->
CallRedirectionServiceTest.java
21
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
198
runWithShellPermissionIdentity
(() -> {
213
runWithShellPermissionIdentity
(() -> mRoleManager.addRoleHolderAsUser(roleName,
232
runWithShellPermissionIdentity
(() -> mRoleManager.removeRoleHolderAsUser(roleName,
CtsRoleManagerAdapter.java
22
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
151
runWithShellPermissionIdentity
(() -> {
164
runWithShellPermissionIdentity
(() -> {
183
runWithShellPermissionIdentity
(() -> {
ThirdPartyCallScreeningServiceTest.java
22
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
304
runWithShellPermissionIdentity
(() -> {
320
runWithShellPermissionIdentity
(() -> mRoleManager.addRoleHolderAsUser(roleName,
339
runWithShellPermissionIdentity
(() -> mRoleManager.removeRoleHolderAsUser(roleName,
PhoneAccountSuggestionServiceTest.java
21
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
50
runWithShellPermissionIdentity
(
68
runWithShellPermissionIdentity
(() ->
/cts/common/device-side/util/src/com/android/compatibility/common/util/
SystemUtil.java
150
public static void
runWithShellPermissionIdentity
(@NonNull ThrowingRunnable runnable) {
152
runWithShellPermissionIdentity
(automan, runnable);
158
public static void
runWithShellPermissionIdentity
(@NonNull ThrowingRunnable runnable,
161
runWithShellPermissionIdentity
(automan, runnable, permissions);
168
public static void
runWithShellPermissionIdentity
(
170
runWithShellPermissionIdentity
(automan, runnable, null /* permissions */);
181
public static void
runWithShellPermissionIdentity
(@NonNull UiAutomation automan,
DeviceConfigStateManager.java
19
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
63
runWithShellPermissionIdentity
(() -> setWithPermissionsGranted(value),
81
runWithShellPermissionIdentity
(()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
SystemUtil.java
164
public static void
runWithShellPermissionIdentity
(@NonNull ThrowingRunnable runnable) {
166
runWithShellPermissionIdentity
(automan, runnable);
172
public static void
runWithShellPermissionIdentity
(@NonNull ThrowingRunnable runnable,
175
runWithShellPermissionIdentity
(automan, runnable, permissions);
182
public static void
runWithShellPermissionIdentity
(
184
runWithShellPermissionIdentity
(automan, runnable, null /* permissions */);
195
public static void
runWithShellPermissionIdentity
(@NonNull UiAutomation automan,
DeviceConfigStateManager.java
19
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
63
runWithShellPermissionIdentity
(() -> setWithPermissionsGranted(value),
81
runWithShellPermissionIdentity
(()
/cts/tests/app/src/android/app/cts/
KeyguardManagerTest.java
19
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
54
runWithShellPermissionIdentity
(() -> {
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DefaultSmsAppHelper.java
19
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
45
runWithShellPermissionIdentity
(() -> {
/cts/tests/tests/os/src/android/os/cts/
PowerManagerTest.java
79
SystemUtil.
runWithShellPermissionIdentity
(() -> {
92
SystemUtil.
runWithShellPermissionIdentity
(() -> {
111
SystemUtil.
runWithShellPermissionIdentity
(() -> {
/cts/tests/framework/base/windowmanager/src/android/server/wm/
PrereleaseSdkTest.java
46
SystemUtil.
runWithShellPermissionIdentity
(
VirtualDisplayHelper.java
79
SystemUtil.
runWithShellPermissionIdentity
(() -> {
89
SystemUtil.
runWithShellPermissionIdentity
(() -> {
97
SystemUtil.
runWithShellPermissionIdentity
(() -> {
105
SystemUtil.
runWithShellPermissionIdentity
(() -> {
ActivityViewTest.java
94
SystemUtil.
runWithShellPermissionIdentity
(() -> {
105
SystemUtil.
runWithShellPermissionIdentity
(() -> mActivityView.release());
279
SystemUtil.
runWithShellPermissionIdentity
(() -> mActivityView.startActivity(intent));
/cts/hostsidetests/backup/ProfileSerialNumberApp/src/android/cts/backup/profileserialnumberapp/
ProfileSerialNumberTest.java
52
SystemUtil.
runWithShellPermissionIdentity
(() -> {
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
BatterySaverTest.java
79
SystemUtil.
runWithShellPermissionIdentity
(() -> {
/cts/tests/tests/permission2/src/android/permission2/cts/
RestrictedPermissionsTest.java
756
runWithShellPermissionIdentity
(() ->
767
runWithShellPermissionIdentity
(() -> {
777
runWithShellPermissionIdentity
(() -> {
802
runWithShellPermissionIdentity
(() -> {
818
runWithShellPermissionIdentity
(() -> {
846
runWithShellPermissionIdentity
(() ->
[
all
...]
/cts/tests/tests/appop/src/android/app/appops/cts/
AppOpsUtils.kt
104
fun
runWithShellPermissionIdentity
(runnable: ThrowingRunnable) {
/cts/tests/tests/permission/permissionTestUtilLib/src/android/permission/cts/
PermissionUtils.java
36
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
125
runWithShellPermissionIdentity
(
271
runWithShellPermissionIdentity
(
/cts/tests/tests/permission/src/android/permission/cts/
LocationAccessCheckTest.java
30
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
339
runWithShellPermissionIdentity
(() -> {
376
runWithShellPermissionIdentity
(() -> DeviceConfig.setProperty(
479
runWithShellPermissionIdentity
(() -> {
494
runWithShellPermissionIdentity
(
/cts/tests/tests/role/src/android/app/role/cts/
RoleManagerTest.java
21
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
464
runWithShellPermissionIdentity
(() -> sRoleManager.addOnRoleHoldersChangedListenerAsUser(
471
runWithShellPermissionIdentity
(() ->
484
runWithShellPermissionIdentity
(() -> {
597
runWithShellPermissionIdentity
(() -> sRoleManager.addRoleHolderAsUser(roleName,
605
runWithShellPermissionIdentity
(() -> sRoleManager.removeRoleHolderAsUser(roleName,
612
runWithShellPermissionIdentity
(() -> sRoleManager.clearRoleHoldersAsUser(roleName, 0,
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
ActivityManagerTestBase.java
368
SystemUtil.
runWithShellPermissionIdentity
(() -> {
454
SystemUtil.
runWithShellPermissionIdentity
(
520
SystemUtil.
runWithShellPermissionIdentity
(
526
SystemUtil.
runWithShellPermissionIdentity
(
638
SystemUtil.
runWithShellPermissionIdentity
(() -> {
666
SystemUtil.
runWithShellPermissionIdentity
(() -> {
711
SystemUtil.
runWithShellPermissionIdentity
(
722
SystemUtil.
runWithShellPermissionIdentity
(
[
all
...]
/cts/tests/backup/src/android/backup/cts/
PermissionTest.java
35
import static com.android.compatibility.common.util.SystemUtil.
runWithShellPermissionIdentity
;
359
runWithShellPermissionIdentity
(
365
runWithShellPermissionIdentity
(
392
runWithShellPermissionIdentity
(
Completed in 4325 milliseconds
1
2