Searched refs:IsUserPrivacyAuthorityNeeded (Results 1 – 2 of 2) sorted by relevance
518 bool ScreenCaptureServer::IsUserPrivacyAuthorityNeeded() in IsUserPrivacyAuthorityNeeded() function in OHOS::Media::ScreenCaptureServer858 if (!IsUserPrivacyAuthorityNeeded()) { in RequestUserPrivacyAuthority()886 StopReason::RECEIVE_USER_PRIVACY_AUTHORITY_FAILED, IsUserPrivacyAuthorityNeeded()); in OnReceiveUserPrivacyAuthority()1172 StopReason::POST_START_SCREENCAPTURE_HANDLE_FAILURE, IsUserPrivacyAuthorityNeeded()); in PostStartScreenCapture()1337 if (!IsUserPrivacyAuthorityNeeded()) { in UpdatePrivacyUsingPermissionState()1417 StopReason::REQUEST_USER_PRIVACY_AUTHORITY_FAILED, IsUserPrivacyAuthorityNeeded()); in StartScreenCaptureInner()1422 if (IsUserPrivacyAuthorityNeeded()) { in StartScreenCaptureInner()2544 …tErrorInfo(MSERR_OK, "normal stopped", StopReason::NORMAL_STOPPED, IsUserPrivacyAuthorityNeeded()); in StopScreenCaptureInner()2562 …tErrorInfo(MSERR_OK, "normal stopped", StopReason::NORMAL_STOPPED, IsUserPrivacyAuthorityNeeded()); in StopScreenCaptureInner()
342 bool IsUserPrivacyAuthorityNeeded();