Home
last modified time | relevance | path

Searched refs:callWithShellIdentityPermissions (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DNotesRoleManagerSecondaryUserRule.kt117 notesRoleUtil.callWithShellIdentityPermissions(MANAGE_USERS, CREATE_USERS) { in switchToUser()
139 notesRoleUtil.callWithShellIdentityPermissions( in getCurrentUserId()
/platform_testing/libraries/notes-role-test-helper/src/android/platform/helpers/notesrole/
DNotesRoleUtil.kt155 fun <T> callWithShellIdentityPermissions(vararg permissions: String, callable: () -> T): T { in callWithShellIdentityPermissions() method in android.platform.helpers.notesrole.NotesRoleUtil
170 return callWithShellIdentityPermissions(MANAGE_ROLE_HOLDERS, INTERACT_ACROSS_USERS) { in callWithManageRoleHolderPermission()