Searched refs:isScreenCaptureCompletelyDisabled (Results 1 – 5 of 5) sorted by relevance
220 when(mDevicePolicyResolver.isScreenCaptureCompletelyDisabled((any()))).thenReturn(true); in testPoliciesFlagDisabled_screenCapturingNotAllowed_returnsNullDevicePolicyDialog()251 when(mDevicePolicyResolver.isScreenCaptureCompletelyDisabled((any()))).thenReturn(true); in testPoliciesFlagEnabled_screenCapturingNotAllowed_returnsDevicePolicyDialog()267 when(mDevicePolicyResolver.isScreenCaptureCompletelyDisabled((any()))).thenReturn(false); in testPoliciesFlagEnabled_screenCapturingAllowed_returnsNullDevicePolicyDialog()
82 fun isScreenCaptureCompletelyDisabled(hostAppUserHandle: UserHandle): Boolean { regex
148 .isScreenCaptureCompletelyDisabled(getHostUserHandle())) { in createScreenRecordDialog()
656 val completelyDisabled = policyResolver.isScreenCaptureCompletelyDisabled(hostAppUserHandle)
276 .isScreenCaptureCompletelyDisabled(hostUserHandle)) { in showScreenCaptureDisabledDialogIfNeeded()