Searched refs:isScreenCaptureCompletelyDisabled (Results 1 – 7 of 7) sorted by relevance
257 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()
158 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()
82 fun isScreenCaptureCompletelyDisabled(hostAppUserHandle: UserHandle): Boolean { in isScreenCaptureCompletelyDisabled() method
140 .isScreenCaptureCompletelyDisabled(UserHandle.of(userTracker.userId)) in <lambda>()
166 .isScreenCaptureCompletelyDisabled(getHostUserHandle())) { in createScreenRecordDialog()
657 val completelyDisabled = policyResolver.isScreenCaptureCompletelyDisabled(hostAppUserHandle) in test()
332 .isScreenCaptureCompletelyDisabled(hostUserHandle)) { in showScreenCaptureDisabledDialogIfNeeded()