/foundation/multimedia/camera_framework/services/camera_service/src/window_manager_utils/ |
H A D | camera_window_manager_client.cpp | 102 CHECK_ERROR_RETURN_LOG(!systemAbilityManager, "Failed to get system ability manager");
in InitWindowProxy() 111 CHECK_ERROR_RETURN_LOG(!mockSessionManagerServiceProxy_, "Failed to get mockSessionManagerServiceProxy_");
in InitWindowProxy() 114 CHECK_ERROR_RETURN_LOG(!remoteObjectMgrService, "remoteObjectMgrService is null");
in InitWindowProxy() 117 CHECK_ERROR_RETURN_LOG(!sessionManagerServiceProxy_, "Failed to get sessionManagerServiceProxy_");
in InitWindowProxy() 120 CHECK_ERROR_RETURN_LOG(!remoteObjectMgr, "remoteObjectMgr is null");
in InitWindowProxy() 123 CHECK_ERROR_RETURN_LOG(!sceneSessionManagerProxy_, "Failed to get sceneSessionManagerProxy_");
in InitWindowProxy()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | scan_session.cpp | 110 CHECK_ERROR_RETURN_LOG(!IsSessionCommited(),
in RegisterBrightnessStatusCallback() 118 CHECK_ERROR_RETURN_LOG(!IsSessionCommited(),
in UnRegisterBrightnessStatusCallback() 126 CHECK_ERROR_RETURN_LOG(result == nullptr, "ScanSession::ProcessBrightnessStatusChange result is null.");
in ProcessBrightnessStatusChange() 133 CHECK_ERROR_RETURN_LOG(ret != CAM_META_SUCCESS,
in ProcessBrightnessStatusChange() 157 CHECK_ERROR_RETURN_LOG(result == nullptr,
in ProcessCallbacks() 161 CHECK_ERROR_RETURN_LOG(session == nullptr,
in ProcessCallbacks()
|
H A D | slow_motion_session.cpp | 40 CHECK_ERROR_RETURN_LOG(session == nullptr, in ProcessCallbacks() 93 CHECK_ERROR_RETURN_LOG(!IsSessionCommited(), in SetSlowMotionDetectionArea() 96 CHECK_ERROR_RETURN_LOG(changedMetadata_ == nullptr, in SetSlowMotionDetectionArea() 99 CHECK_ERROR_RETURN_LOG(retCode != CameraErrorCode::SUCCESS, "EnableMotionDetection call failed"); in SetSlowMotionDetectionArea() 123 CHECK_ERROR_RETURN_LOG(appCallback == nullptr, "OnSlowMotionStateChange appCallback is null"); in OnSlowMotionStateChange() 151 CHECK_ERROR_RETURN_LOG(callback == nullptr, "SlowMotionSession::SetCallback callback is null"); in SetCallback()
|
H A D | portrait_session.cpp | 96 CHECK_ERROR_RETURN_LOG(!(IsSessionCommited() || IsSessionConfiged()), in SetPortraitEffect() 98 CHECK_ERROR_RETURN_LOG(changedMetadata_ == nullptr, in SetPortraitEffect() 103 CHECK_ERROR_RETURN_LOG(itr == portraitEffects.end(), in SetPortraitEffect()
|
H A D | night_session.cpp | 116 CHECK_ERROR_RETURN_LOG(session == nullptr, in ProcessCallbacks()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/ |
H A D | camera_report_dfx_uitls.cpp | 60 CHECK_ERROR_RETURN_LOG(!isBufferSetting_, "CameraReportDfxUtils::SetFirstBufferEndInfo cancel report"); in SetFirstBufferEndInfo() 81 CHECK_ERROR_RETURN_LOG(!isPrepareProxySetting_, "CameraReportDfxUtils::SetPrepareProxyEndInfo cancel report"); in SetPrepareProxyEndInfo() 102 CHECK_ERROR_RETURN_LOG(!isAddProxySetting_, "CameraReportDfxUtils::SetAddProxyEndInfo cancel report"); in SetAddProxyEndInfo()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/deferred_proc_session/ |
H A D | deferred_video_proc_session.cpp | 179 CHECK_ERROR_RETURN_LOG(remoteSession_ != nullptr, "remoteSession_ is not null"); in ConnectDeferredProcessingSession() 182 CHECK_ERROR_RETURN_LOG(samgr == nullptr, "Failed to get System ability manager"); in ConnectDeferredProcessingSession() 184 CHECK_ERROR_RETURN_LOG(object == nullptr, "object is null"); in ConnectDeferredProcessingSession() 186 CHECK_ERROR_RETURN_LOG(serviceProxy_ == nullptr, "serviceProxy_ is null"); in ConnectDeferredProcessingSession()
|
H A D | deferred_photo_proc_session.cpp | 247 CHECK_ERROR_RETURN_LOG(remoteSession_ != nullptr, "remoteSession_ is not null"); in ConnectDeferredProcessingSession() 250 CHECK_ERROR_RETURN_LOG(samgr == nullptr, "Failed to get System ability manager"); in ConnectDeferredProcessingSession() 252 CHECK_ERROR_RETURN_LOG(object == nullptr, "object is null"); in ConnectDeferredProcessingSession() 254 CHECK_ERROR_RETURN_LOG(serviceProxy_ == nullptr, "serviceProxy_ is null"); in ConnectDeferredProcessingSession()
|
/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/ |
H A D | audio_capturer_session.cpp | 106 CHECK_ERROR_RETURN_LOG(audioCapturer_ == nullptr, "AudioCapturer_ is not init"); in ProcessAudioBuffer() 111 CHECK_ERROR_RETURN_LOG(buffer == nullptr, "Failed to allocate buffer"); in ProcessAudioBuffer()
|
H A D | avcodec_task_manager.cpp | 206 CHECK_ERROR_RETURN_LOG(frameRecords.empty(), "DoMuxerVideo error of empty encoded frame"); in DoMuxerVideo() 209 CHECK_ERROR_RETURN_LOG(taskManager == nullptr, "GetTaskManager is null"); in DoMuxerVideo() 215 CHECK_ERROR_RETURN_LOG(muxer == nullptr, "CreateAVMuxer failed"); in DoMuxerVideo() 216 CHECK_ERROR_RETURN_LOG(choosedBuffer.empty(), "choosed empty buffer!"); in DoMuxerVideo() 284 CHECK_ERROR_RETURN_LOG(!audioEncoder_ || audioRecordVec.empty() || !muxer, in CollectAudioBuffer()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/ |
H A D | sketch_wrapper.cpp | 191 CHECK_ERROR_RETURN_LOG(deviceMetadata == nullptr, "SketchWrapper::UpdateSketchEnableRatio deviceMetadata is null"); in UpdateSketchEnableRatio() 194 CHECK_ERROR_RETURN_LOG(ret != CAM_META_SUCCESS, in UpdateSketchEnableRatio() 196 CHECK_ERROR_RETURN_LOG(item.count <= 0, "SketchWrapper::UpdateSketchEnableRatio sketch enable ratio count <= 0"); in UpdateSketchEnableRatio() 256 CHECK_ERROR_RETURN_LOG(deviceMetadata == nullptr, in UpdateSketchReferenceFovRatio() 261 CHECK_ERROR_RETURN_LOG(ret != CAM_META_SUCCESS || item.count <= 0, in UpdateSketchReferenceFovRatio()
|
H A D | metadata_output.cpp | 385 CHECK_ERROR_RETURN_LOG(ret != CameraErrorCode::SUCCESS, "MetadataOutput::ProcessFaceRectangles() is failed."); in ProcessMetadata() 605 CHECK_ERROR_RETURN_LOG(metadataOutput == nullptr, "OnBufferAvailable metadataOutput is null"); in OnBufferAvailable() 607 CHECK_ERROR_RETURN_LOG(surface == nullptr, "OnBufferAvailable Metadata surface is null"); in OnBufferAvailable() 613 CHECK_ERROR_RETURN_LOG(surfaceRet != SURFACE_ERROR_OK, "OnBufferAvailable Failed to acquire surface buffer"); in OnBufferAvailable()
|
H A D | preview_output.cpp | 188 CHECK_ERROR_RETURN_LOG(surface == nullptr, "PreviewOutput::AddDeferredSurface surface is null"); in AddDeferredSurface() 190 CHECK_ERROR_RETURN_LOG(!itemStream, "PreviewOutput::AddDeferredSurface itemStream is null"); in AddDeferredSurface() 519 CHECK_ERROR_RETURN_LOG(GetStream() == nullptr, "PreviewOutput Failed to SetCallback!, GetStream is nullptr"); in SetCallback() 589 CHECK_ERROR_RETURN_LOG(metadata == nullptr, "metadata is nullptr"); in OnNativeRegisterCallback()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | camera_fwk_metadata_utils.cpp | 102 CHECK_ERROR_RETURN_LOG(srcMetadata == nullptr, "DumpMetadataInfo srcMetadata is null"); in DumpMetadataInfo() 188 CHECK_ERROR_RETURN_LOG(metadata == nullptr, "LogFormatCameraMetadata: Metadata pointer is null"); in LogFormatCameraMetadata() 191 CHECK_ERROR_RETURN_LOG(header == nullptr, "LogFormatCameraMetadata: Metadata header is null"); in LogFormatCameraMetadata()
|
H A D | hstream_repeat.cpp | 631 CHECK_ERROR_RETURN_LOG(display == nullptr, in SetStreamTransform() 639 CHECK_ERROR_RETURN_LOG(ret != CAM_META_SUCCESS, in SetStreamTransform() 645 CHECK_ERROR_RETURN_LOG(ret != CAM_META_SUCCESS, in SetStreamTransform() 665 CHECK_ERROR_RETURN_LOG(producer_ == nullptr || display == nullptr, in SetStreamTransform() 822 CHECK_ERROR_RETURN_LOG(settings == nullptr, "HStreamRepeat::OpenVideoDfxSwitch fail, setting is null!"); in OpenVideoDfxSwitch() 889 CHECK_ERROR_RETURN_LOG(dynamicSetting == nullptr, "dynamicSetting is nullptr"); in UpdateFrameMuteSettings()
|
H A D | camera_privacy.cpp | 72 CHECK_ERROR_RETURN_LOG(permissionCallbackPtr_ == nullptr, "permissionCallbackPtr_ is null."); in UnregisterPermissionCallback()
|
H A D | camera_util.cpp | 281 CHECK_ERROR_RETURN_LOG(ret != CAM_META_SUCCESS, "Failed to get metadata item at index: %{public}d", index); in DumpMetadata() 283 CHECK_ERROR_RETURN_LOG(name == nullptr, "U8ItemToString: get u8 item name fail!"); in DumpMetadata()
|
H A D | hcamera_host_manager.cpp | 217 CHECK_ERROR_RETURN_LOG(hostDeadCallback == nullptr, in CameraHostDied() 471 CHECK_ERROR_RETURN_LOG(cameraHostProxy_ == nullptr, "CameraHostInfo::Prelaunch cameraHostProxy_ is null"); in NotifyDeviceStateChangeInfo() 757 CHECK_ERROR_RETURN_LOG(svcMgr == nullptr, "HCameraHostManager::DeInit(): IServiceManager failed"); in DeInit() 921 CHECK_ERROR_RETURN_LOG(cameraRestoreParam == nullptr, "HCameraRestoreParam is nullptr"); in SaveRestoreParam() 1003 CHECK_ERROR_RETURN_LOG(cameraRestoreParam == nullptr, "HCameraHostManager::UpdateRestoreParam is nullptr"); in UpdateRestoreParam() 1067 CHECK_ERROR_RETURN_LOG(cameraHost == nullptr, "failed to new cameraHost!"); in AddCameraHost() 1068 CHECK_ERROR_RETURN_LOG(!cameraHost->Init(), "HCameraHostManager::AddCameraHost failed due to init failure"); in AddCameraHost()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
H A D | camera_manager.cpp | 858 CHECK_ERROR_RETURN_LOG(retCode != CameraErrorCode::SUCCESS, "failed to SubscribeSystemAbilityd"); in InitCameraManager() 860 CHECK_ERROR_RETURN_LOG(retCode != CameraErrorCode::SUCCESS, "RefreshServiceProxy fail , ret = %{public}d", in InitCameraManager() 863 CHECK_ERROR_RETURN_LOG(retCode != CameraErrorCode::SUCCESS, "AddServiceProxyDeathRecipient fail ," in InitCameraManager() 866 CHECK_ERROR_RETURN_LOG(retCode != CAMERA_OK, "failed to new CameraListenerStub, ret = %{public}d", retCode); in InitCameraManager() 917 CHECK_ERROR_RETURN_LOG(ret != CameraErrorCode::SUCCESS, "RefreshServiceProxy fail , ret = %{public}d", ret); in OnCameraServerAlive() 960 CHECK_ERROR_RETURN_LOG(cameraSvcCallback_ == nullptr, "CameraServerDied cameraSvcCallback_ is nullptr"); in CameraServerDied() 1171 CHECK_ERROR_RETURN_LOG( in GetCameraOutputStatus() 1175 CHECK_ERROR_RETURN_LOG( in GetCameraOutputStatus() 1869 CHECK_ERROR_RETURN_LOG(cameraSvcCallback_ != nullptr, in CreateAndSetCameraServiceCallback() 1872 CHECK_ERROR_RETURN_LOG(serviceProx in CreateAndSetCameraServiceCallback() [all...] |
H A D | camera_input.cpp | 111 CHECK_ERROR_RETURN_LOG(CameraDeviceSvcCallback_ == nullptr, "Failed to new CameraDeviceSvcCallback_!"); in InitCameraInput() 112 CHECK_ERROR_RETURN_LOG(!deviceObj, "CameraInput::CameraInput() deviceObj is nullptr"); in InitCameraInput() 127 CHECK_ERROR_RETURN_LOG(!result, "CameraInput::CameraInput failed to add deathRecipient"); in InitCameraInput()
|
/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/window_manager_service_proxy_impl/ |
H A D | hcamera_scene_session_manager_proxy.cpp | 69 CHECK_ERROR_RETURN_LOG(error != ERR_NONE, "HCameraDeviceProxy DisableResult failed, error: %{public}d", error);
in GetFocusWindowInfo()
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/ |
H A D | camera_input_napi.cpp | 40 CHECK_ERROR_RETURN_LOG(context == nullptr, "CameraInputNapi AsyncCompleteCallback context is null"); in AsyncCompleteCallback() 334 CHECK_ERROR_RETURN_LOG(context->objectInfo == nullptr, "CameraInputNapi::Open async info is nullptr"); in Open() 383 CHECK_ERROR_RETURN_LOG(context->objectInfo == nullptr, "CameraInputNapi::Close async info is nullptr"); in Close() 425 CHECK_ERROR_RETURN_LOG(context->objectInfo == nullptr, "CameraInputNapi::Release async info is nullptr"); in Release()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/features/ |
H A D | moon_capture_boost_feature.cpp | 37 CHECK_ERROR_RETURN_LOG(ret != CAM_META_SUCCESS || item.count <= 0, in MoonCaptureBoostFeature()
|
/foundation/multimedia/camera_framework/common/utils/ |
H A D | camera_log.h | 86 #define CHECK_ERROR_RETURN_LOG(cond, fmt, ...) \ macro
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/ |
H A D | metadata_output_napi.cpp | 39 CHECK_ERROR_RETURN_LOG(context == nullptr, "MetadataOutputNapi AsyncCompleteCallback context is null"); in AsyncCompleteCallback() 509 CHECK_ERROR_RETURN_LOG(context->objectInfo == nullptr, "MetadataOutputNapi::Start async info is nullptr"); in Start() 551 CHECK_ERROR_RETURN_LOG(context->objectInfo == nullptr, "MetadataOutputNapi::Stop async info is nullptr"); in Stop() 594 CHECK_ERROR_RETURN_LOG(context->objectInfo == nullptr, "MetadataOutputNapi::Release async info is nullptr"); in Release()
|