Home
last modified time | relevance | path

Searched refs:hostAppUserHandle (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/devicepolicy/
DScreenCaptureDevicePolicyResolver.kt43 hostAppUserHandle: UserHandle, in isScreenCaptureAllowed()
45 if (hostAppUserHandle.isWorkProfile() && workProfileScreenCaptureDisabled) { in isScreenCaptureAllowed()
63 if (hostAppUserHandle.isWorkProfile() && disallowSharingIntoManagedProfile) { in isScreenCaptureAllowed()
82 fun isScreenCaptureCompletelyDisabled(hostAppUserHandle: UserHandle): Boolean { in isScreenCaptureCompletelyDisabled()
87 hostAppUserHandle = hostAppUserHandle in isScreenCaptureCompletelyDisabled()
94 hostAppUserHandle = hostAppUserHandle in isScreenCaptureCompletelyDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/devicepolicy/
DScreenCaptureDevicePolicyResolverTest.kt460 val hostAppUserHandle = in test() constant
464 policyResolver.isScreenCaptureAllowed(targetAppUserHandle, hostAppUserHandle) in test()
654 val hostAppUserHandle = in test() constant
657 val completelyDisabled = policyResolver.isScreenCaptureCompletelyDisabled(hostAppUserHandle) in test()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionBlockerEmptyStateProvider.kt43 hostAppUserHandle = hostAppHandle in getEmptyState()
DMediaProjectionAppSelectorController.kt96 hostAppUserHandle = hostUserHandle in <lambda>()