Home
last modified time | relevance | path

Searched refs:policyResolver (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionBlockerEmptyStateProvider.kt35 private val policyResolver: ScreenCaptureDevicePolicyResolver, constant in com.android.systemui.mediaprojection.appselector.MediaProjectionBlockerEmptyStateProvider
41 policyResolver.isScreenCaptureAllowed( in getEmptyState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorControllerTest.kt41 private val policyResolver: ScreenCaptureDevicePolicyResolver = mock() constant in com.android.systemui.mediaprojection.appselector.MediaProjectionAppSelectorControllerTest
50 policyResolver, in createController()
243 whenever(policyResolver.isScreenCaptureAllowed(any(), any())).thenReturn(isAllow) in givenCaptureAllowed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/devicepolicy/
DScreenCaptureDevicePolicyResolverTest.kt50 protected val policyResolver = constant
464 policyResolver.isScreenCaptureAllowed(targetAppUserHandle, hostAppUserHandle) in test()
657 val completelyDisabled = policyResolver.isScreenCaptureCompletelyDisabled(hostAppUserHandle) in test()