Home
last modified time | relevance | path

Searched defs:permissionContext (Results 1 – 5 of 5) sorted by relevance

/cts/tests/camera/headlessSystemUserTest/src/android/camera/cts/headlesssystemusertest/
DCamera2HeadlessSystemUserTest.java191 try (PermissionContext permissionContext = in openCameraAsHeadlessSystemUser()
218 try (PermissionContext permissionContext = in switchUser()
/cts/common/device-side/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/
DPermissionsAnnotationExecutor.kt36 private var permissionContext: PermissionContextImpl? = null variable in com.android.bedstead.permissions.PermissionsAnnotationExecutor
/cts/tests/devicepolicy/telephony/src/android/devicepolicy/cts/telephony/
DWorkProfileTelephonyTest.java626 try (PermissionContext permissionContext = TestApis.permissions().withPermission( in setDefaultSimForCallInWorkProfile()
636 try (PermissionContext permissionContext = TestApis.permissions().withPermission( in unsetDefaultSimForCallInWorkProfile()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppInstancePermissions.java405 void undoPermission(TestAppPermissionContext permissionContext) { in undoPermission()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileSharingTest.java343 try (PermissionContext permissionContext = in setSharingIntoProfileEnabled()