Home
last modified time | relevance | path

Searched refs:isScreenCaptureCompletelyDisabled (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
DRecordingControllerTest.java257 when(mDevicePolicyResolver.isScreenCaptureCompletelyDisabled((any()))).thenReturn(true); in testPoliciesFlagDisabled_screenCapturingNotAllowed_returnsNullDevicePolicyDialog()
287 when(mDevicePolicyResolver.isScreenCaptureCompletelyDisabled((any()))).thenReturn(true); in testPoliciesFlagEnabled_screenCapturingNotAllowed_returnsDevicePolicyDialog()
299 when(mDevicePolicyResolver.isScreenCaptureCompletelyDisabled((any()))).thenReturn(false); in testPoliciesFlagEnabled_screenCapturingAllowed_returnsNullDevicePolicyDialog()
318 when(mDevicePolicyResolver.isScreenCaptureCompletelyDisabled((any()))).thenReturn(false); in testPoliciesFlagEnabled_screenCapturingAllowed_logsProjectionInitiated()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recordissue/
DRecordIssueDialogDelegateTest.kt158 whenever(devicePolicyResolver.isScreenCaptureCompletelyDisabled(any<UserHandle>())) in screenCaptureDisabledDialog_isShown_whenFunctionalityIsDisabled()
179 whenever(devicePolicyResolver.isScreenCaptureCompletelyDisabled(any<UserHandle>())) in screenCapturePermissionDialog_isShown_correctly()
202 whenever(devicePolicyResolver.isScreenCaptureCompletelyDisabled(any<UserHandle>())) in noDialogsAreShown_forScreenRecord_whenApprovalIsAlreadyGiven()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/devicepolicy/
DScreenCaptureDevicePolicyResolver.kt82 fun isScreenCaptureCompletelyDisabled(hostAppUserHandle: UserHandle): Boolean { in isScreenCaptureCompletelyDisabled() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DRecordIssueDialogDelegate.kt140 .isScreenCaptureCompletelyDisabled(UserHandle.of(userTracker.userId)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingController.java166 .isScreenCaptureCompletelyDisabled(getHostUserHandle())) { in createScreenRecordDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/devicepolicy/
DScreenCaptureDevicePolicyResolverTest.kt657 val completelyDisabled = policyResolver.isScreenCaptureCompletelyDisabled(hostAppUserHandle) in test()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionActivity.java332 .isScreenCaptureCompletelyDisabled(hostUserHandle)) { in showScreenCaptureDisabledDialogIfNeeded()