Searched refs:IsInForeGround (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | camera_util.cpp | 343 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 D | hcamera_device.cpp | 273 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 D | hcamera_service.cpp | 409 CHECK_ERROR_RETURN_RET_LOG(!IsInForeGround(callerToken), CAMERA_ALLOC_ERROR, in CreateCameraDevice()
|
/foundation/multimedia/camera_framework/services/camera_service/include/ |
H A D | camera_util.h | 161 bool IsInForeGround(const uint32_t callerToken);
|
Completed in 8 milliseconds