/foundation/multimedia/camera_framework/frameworks/native/camera/src/deferred_proc_session/ |
H A D | deferred_video_proc_session.cpp | 84 CHECK_ERROR_PRINT_LOG(ret != ERR_OK, "EndSynchronize failed errorCode: %{public}d", ret); in BeginSynchronize() 95 CHECK_ERROR_PRINT_LOG(ret != ERR_OK, "EndSynchronize failed errorCode: %{public}d", ret); in EndSynchronize() 107 CHECK_ERROR_PRINT_LOG(ret != ERR_OK, "AddVideo failed errorCode: %{public}d", ret); in AddVideo() 118 CHECK_ERROR_PRINT_LOG(ret != ERR_OK, "RemoveVideo failed errorCode: %{public}d", ret); in RemoveVideo() 129 CHECK_ERROR_PRINT_LOG(ret != ERR_OK, "RestoreVideo failed errorCode: %{public}d", ret); in RestoreVideo()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | camera_privacy.cpp | 66 CHECK_ERROR_PRINT_LOG(res != CAMERA_OK, "RegisterPermissionCallback failed."); in RegisterPermissionCallback() 87 CHECK_ERROR_PRINT_LOG(res != CAMERA_OK, "AddCameraPermissionUsedRecord failed."); in AddCameraPermissionUsedRecord() 97 CHECK_ERROR_PRINT_LOG(res != CAMERA_OK, "StartUsingPermissionCallback failed."); in StartUsingPermissionCallback() 105 CHECK_ERROR_PRINT_LOG(res != CAMERA_OK, "StopUsingPermissionCallback failed."); in StopUsingPermissionCallback()
|
H A D | hstream_repeat.cpp | 441 CHECK_ERROR_PRINT_LOG(rc != HDI::Camera::V1_0::NO_ERROR, in AddDeferredSurface() 516 CHECK_ERROR_PRINT_LOG(!status, "HStreamRepeat::SetFrameRate Failed to set frame range"); in SetFrameRate() 537 CHECK_ERROR_PRINT_LOG(rc != HDI::Camera::V1_0::NO_ERROR, in SetFrameRate() 741 CHECK_ERROR_PRINT_LOG(ret != SurfaceError::SURFACE_ERROR_OK, in ProcessVerticalCameraPosition() 793 CHECK_ERROR_PRINT_LOG(ret != SurfaceError::SURFACE_ERROR_OK, in ProcessCameraPosition() 830 CHECK_ERROR_PRINT_LOG(!status, "HStreamRepeat::OpenVideoDfxSwitch fail!"); in OpenVideoDfxSwitch() 853 CHECK_ERROR_PRINT_LOG(!status, "UpdateVideoSettings Failed to set mirroring in VideoSettings"); in UpdateVideoSettings() 873 CHECK_ERROR_PRINT_LOG(!status, "HStreamRepeat::SetFrameRate Failed to set frame range"); in UpdateFrameRateSettings() 896 CHECK_ERROR_PRINT_LOG(!status, "HStreamRepeat::UpdateFrameMuteSettings Failed to set frame mute"); in UpdateFrameMuteSettings()
|
/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/ |
H A D | hstream_repeat_stub.cpp | 108 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, in HandleAddDeferredSurface() 147 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamRepeatStub::HandleSetFrameRate failed : %{public}d", ret); in HandleSetFrameRate() 156 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamRepeatStub::HandleSetMirror failed : %{public}d", ret); in HandleSetMirror() 184 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamRepeatStub::SetCameraRotation failed : %{public}d", ret); in HandleSetCameraRotation()
|
H A D | hstream_metadata_stub.cpp | 79 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamMetadataStub HandleStart failed : %{public}d", ret); in HandleEnableMetadataType() 88 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamMetadataStub HandleStart failed : %{public}d", ret); in HandleDisableMetadataType()
|
H A D | hcamera_device_stub.cpp | 144 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, in HandleEnableResult() 157 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, in HandleDisableResult()
|
H A D | hcamera_service_stub.cpp | 669 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HCameraServiceStub HandleNotifyCameraState failed : %{public}d", ret); in HandleNotifyCameraState() 681 CHECK_ERROR_PRINT_LOG(remoteObject == nullptr, "HandleSetPeerCallback get null remoteObject"); in HandleSetPeerCallback() 683 CHECK_ERROR_PRINT_LOG(callback == nullptr, "HandleSetPeerCallback get null callback"); in HandleSetPeerCallback()
|
/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/ |
H A D | hstream_capture_proxy.cpp | 174 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HStreamCaptureProxy SetBufferProducerInfo failed, error: %{public}d", in SetBufferProducerInfo() 190 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HStreamCaptureProxy DeferImageDeliveryFor failed, error: %{public}d", in DeferImageDeliveryFor() 205 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HStreamCaptureProxy IsDeferredPhotoEnabled failed, error: %{public}d", in IsDeferredPhotoEnabled() 220 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HStreamCaptureProxy IsDeferredVideoEnabled failed, error: %{public}d", in IsDeferredVideoEnabled()
|
H A D | hcapture_session_proxy.cpp | 273 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in GetActiveColorSpace() 311 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCaptureSessionProxy set smooth zoom failed, error: %{public}d", error); in SetSmoothZoom() 328 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCaptureSessionProxy SetFeatureMode failed, error: %{public}d", error); in SetFeatureMode() 343 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in EnableMovingPhoto() 359 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCaptureSessionProxy start moving capture, error: %{public}d", error); in EnableMovingPhotoMirror() 377 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in CreateMediaLibrary() 423 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in SetPreviewRotation()
|
H A D | hcamera_service_proxy.cpp | 37 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy notifyCloseCamera failed, error: %{public}d", error); in NotifyCloseCamera() 53 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy NotifyMuteCamera failed, error: %{public}d", error); in NotifyMuteCamera() 568 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in MuteCameraPersist() 620 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy::PreSwitchCamera failed, error: %{public}d", error); in PreSwitchCamera() 675 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in AllowOpenByOHSide() 696 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in NotifyCameraState() 716 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy::SetCallback failed, error: %{public}d", error); in SetPeerCallback() 731 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in UnsetPeerCallback() 746 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy::DestroyStubObj failed, error: %{public}d", error); in DestroyStubObj() 766 CHECK_ERROR_PRINT_LOG(erro in ProxyForFreeze() [all...] |
/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/window_manager_service_proxy_impl/ |
H A D | hcamera_scene_session_manager_proxy.cpp | 35 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "RegisterWindowManagerAgent failed, error: %{public}d", error);
in RegisterWindowManagerAgent() 53 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "UnregisterWindowManagerAgent failed, error: %{public}d", error);
in UnregisterWindowManagerAgent()
|
/foundation/multimedia/camera_framework/services/camera_service/src/window_manager_utils/ |
H A D | camera_window_manager_client.cpp | 78 CHECK_ERROR_PRINT_LOG(ret != CAMERA_OK, "failed to UnregisterWindowManagerAgent error code: %{public}d", ret);
in UnregisterWindowManagerAgent() 132 CHECK_ERROR_PRINT_LOG(windowManagerAgent_ == nullptr, "Failed to init windowManagerAgent_");
in InitWindowManagerAgent() 134 CHECK_ERROR_PRINT_LOG(windowRet != 0, "RegisterWindowManagerAgent faild");
in InitWindowManagerAgent()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
H A D | camera_input.cpp | 176 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, "Failed to open Camera Input, retCode: %{public}d", retCode); in Open() 208 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in Open() 226 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, "Failed to close Camera Input, retCode: %{public}d", retCode); in Close() 244 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, "Failed to release Camera Input, retCode: %{public}d", retCode); in Release() 256 CHECK_ERROR_PRINT_LOG(errorCallback == nullptr, "SetErrorCallback: Unregistering error callback"); in SetErrorCallback() 264 CHECK_ERROR_PRINT_LOG(resultCallback == nullptr, "SetResultCallback: Unregistering error resultCallback"); in SetResultCallback() 310 CHECK_ERROR_PRINT_LOG(cameraOcclusionDetectCallback == nullptr, in SetOcclusionDetectCallback()
|
H A D | camera_manager.cpp | 948 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, "Failed to DestroyStubObj, retCode: %{public}d", retCode); in DestroyStubObj() 1767 CHECK_ERROR_PRINT_LOG(iterator == g_metaToFwCameraMetaDetect_.end(), in GetSupportedMetadataObjectType() 1878 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in CreateAndSetCameraServiceCallback() 1888 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in SetCameraServiceCallback() 1980 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in SetTorchServiceCallback() 1997 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in CreateAndSetTorchServiceCallback() 2007 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in SetFoldServiceCallback() 2024 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in CreateAndSetFoldServiceCallback() 2062 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in CreateAndSetCameraMuteServiceCallback() 2072 CHECK_ERROR_PRINT_LOG(retCod in SetCameraMuteServiceCallback() [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/ |
H A D | photo_output.cpp | 81 CHECK_ERROR_PRINT_LOG(!status, "PhotoCaptureSetting::SetQuality Failed to set Quality"); in SetQuality() 110 CHECK_ERROR_PRINT_LOG(!status, "PhotoCaptureSetting::SetRotation Failed to set Rotation"); in SetRotation() 143 CHECK_ERROR_PRINT_LOG(!status, "PhotoCaptureSetting::SetLocation Failed to set GPS co-ordinates"); in SetLocation() 169 CHECK_ERROR_PRINT_LOG(!status, "PhotoCaptureSetting::SetMirror Failed to set mirroring in photo capture setting"); in SetMirror() 463 CHECK_ERROR_PRINT_LOG(ret != SURFACE_ERROR_OK, in SetThumbnailListener() 554 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PhotoOutput Failed to Capture!, errCode: %{public}d", errCode); in Capture() 580 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PhotoOutput Failed to Capture!, errCode: %{public}d", errCode); in Capture() 599 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PhotoOutput Failed to CancelCapture, errCode: %{public}d", errCode); in CancelCapture() 618 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PhotoOutput Failed to ConfirmCapture, errCode: %{public}d", errCode); in ConfirmCapture() 636 CHECK_ERROR_PRINT_LOG(re in CreateStream() [all...] |
H A D | video_output.cpp | 144 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "VideoOutput Failed to Start!, errCode: %{public}d", errCode); in Start() 162 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "VideoOutput Failed to Stop!, errCode: %{public}d", errCode); in Stop() 225 CHECK_ERROR_PRINT_LOG(retCode != CameraErrorCode::SUCCESS, in CreateStream() 249 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to release VideoOutput!, errCode: %{public}d", errCode); in Release()
|
H A D | metadata_output.cpp | 304 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to Start MetadataOutput!, errCode: %{public}d", errCode); in Start() 326 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to Stop MetadataOutput!, errCode: %{public}d", errCode); in Stop() 341 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to Release MetadataOutput!, errCode: %{public}d", errCode); in Release() 352 CHECK_ERROR_PRINT_LOG(ret != SURFACE_ERROR_OK, "Failed to unregister surface consumer listener"); in ReleaseSurface()
|
H A D | preview_output.cpp | 98 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to release PreviewOutput!, errCode: %{public}d", errCode); in Release() 207 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PreviewOutput Failed to Start!, errCode: %{public}d", errCode); in Start() 224 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PreviewOutput Failed to Stop!, errCode: %{public}d", errCode); in Stop() 704 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to SetCameraRotation!, errCode: %{public}d", errCode); in SetPreviewRotation()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | slow_motion_session.cpp | 116 CHECK_ERROR_PRINT_LOG(!status, "SetSlowMotionDetectionArea failed to set motion rect"); in SetSlowMotionDetectionArea() 179 CHECK_ERROR_PRINT_LOG(!status, "EnableMotionDetection Failed to enable motion detection"); in EnableMotionDetection()
|
H A D | capture_session.cpp | 1081 CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to Start capture session!, %{public}d", errCode); in Start() 1178 CHECK_ERROR_PRINT_LOG(errorCode != CAMERA_OK, "Failed to create media library, errorCode: %{public}d", in CreateMediaLibrary() 1208 CHECK_ERROR_PRINT_LOG(errorCode != CAMERA_OK, "SetPreviewRotation is failed errorCode: %{public}d", errorCode); in SetPreviewRotation() 1296 CHECK_ERROR_PRINT_LOG(!status, in UpdateSetting() 1634 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetExposureMode Failed to set exposure mode"); in SetExposureMode() 1702 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetExposurePoint Failed to set exposure Area"); in SetMeteringPoint() 1818 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetExposureValue Failed to set exposure compensation"); in SetExposureBias() 1997 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetFocusMode Failed to set focus mode"); in SetFocusMode() 2068 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetFocusPoint Failed to set Focus Area"); in SetFocusPoint() 2430 CHECK_ERROR_PRINT_LOG(!statu in SetFlashMode() [all...] |
H A D | profession_session.cpp | 152 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetMeteringMode Failed to set focus mode"); in SetMeteringMode() 251 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetISO Failed to set exposure compensation"); in SetISO() 369 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetFocusMode Failed to set focus mode"); in SetFocusMode() 450 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetExposureHintMode Failed to set ExposureHint mode"); in SetExposureHintMode() 548 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetFocusAssistFlashMode Failed to set FocusAssistFlash mode"); in SetFocusAssistFlashMode() 647 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetFlashMode Failed to set flash mode"); in SetFlashMode() 756 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetColorEffect Failed to set color effect"); in SetColorEffect()
|
H A D | night_session.cpp | 82 CHECK_ERROR_PRINT_LOG(!status, "NightSession::SetExposure Failed to set exposure compensation"); in SetExposure()
|
H A D | scan_session.cpp | 104 CHECK_ERROR_PRINT_LOG(!status, "ScanSession::SetBrightnessStatusReport Failed to set brightness status report!");
in SetBrightnessStatusReport()
|
H A D | portrait_session.cpp | 124 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetPortraitEffect Failed to set effect"); in SetPortraitEffect()
|
/foundation/multimedia/camera_framework/common/utils/ |
H A D | camera_log.h | 101 #define CHECK_ERROR_PRINT_LOG(cond, fmt, ...) \ macro
|