Home
last modified time | relevance | path

Searched refs:IsInForeGround (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dcamera_util.cpp343 bool IsInForeGround(const uint32_t callerToken) in IsInForeGround() function
347 MEDIA_DEBUG_LOG("HCameraService::IsInForeGround isAllowed!"); in IsInForeGround()
358 bool needClose = !(IsInForeGround(callerToken) && (JudgmentPriority(pid, pidCompared) != PRIORITY_LEVEL_HIGHER)); in IsCameraNeedClose()
363 MEDIA_INFO_LOG("IsCameraNeedClose pid = %{public}d, IsInForeGround = %{public}d, TokenType = %{public}d, " in IsCameraNeedClose()
365 pid, IsInForeGround(callerToken), in IsCameraNeedClose()
H A Dhcamera_device.cpp273 CHECK_ERROR_RETURN_RET_LOG(!IsInForeGround(callerToken_), CAMERA_ALLOC_ERROR, in Open()
284 CHECK_ERROR_RETURN_RET_LOG(!IsInForeGround(callerToken_), CAMERA_ALLOC_ERROR, in OpenSecureCamera()
H A Dhcamera_service.cpp409 CHECK_ERROR_RETURN_RET_LOG(!IsInForeGround(callerToken), CAMERA_ALLOC_ERROR, in CreateCameraDevice()
/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dcamera_util.h161 bool IsInForeGround(const uint32_t callerToken);

Completed in 8 milliseconds