Home
last modified time | relevance | path

Searched refs:CHECK_ERROR_PRINT_LOG (Results 1 – 25 of 37) sorted by relevance

12

/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dcamera_privacy.cpp101 CHECK_ERROR_PRINT_LOG(res != CAMERA_OK, "RegisterPermissionCallback failed."); in RegisterPermissionCallback()
112 CHECK_ERROR_PRINT_LOG(res != CAMERA_OK, "UnregisterPermissionCallback failed."); in UnregisterPermissionCallback()
122 CHECK_ERROR_PRINT_LOG(res != CAMERA_OK, "AddCameraPermissionUsedRecord failed."); in AddCameraPermissionUsedRecord()
138 CHECK_ERROR_PRINT_LOG(!ret, "StartUsingPermissionCallback failed."); in StartUsingPermissionCallback()
148 CHECK_ERROR_PRINT_LOG(res != CAMERA_OK, "StopUsingPermissionCallback failed."); in StopUsingPermissionCallback()
H A Dhstream_repeat.cpp446 CHECK_ERROR_PRINT_LOG(rc != HDI::Camera::V1_0::NO_ERROR, in AddDeferredSurface()
524 CHECK_ERROR_PRINT_LOG(!status, "HStreamRepeat::SetFrameRate Failed to set frame range"); in SetFrameRate()
545 CHECK_ERROR_PRINT_LOG(rc != HDI::Camera::V1_0::NO_ERROR, in SetFrameRate()
798 CHECK_ERROR_PRINT_LOG(ret != SurfaceError::SURFACE_ERROR_OK, in ProcessVerticalCameraPosition()
850 CHECK_ERROR_PRINT_LOG(ret != SurfaceError::SURFACE_ERROR_OK, in ProcessCameraPosition()
885 CHECK_ERROR_PRINT_LOG(!status, "HStreamRepeat::OpenVideoDfxSwitch fail!"); in OpenVideoDfxSwitch()
908 CHECK_ERROR_PRINT_LOG(!status, "UpdateVideoSettings Failed to set mirroring in VideoSettings"); in UpdateVideoSettings()
928 CHECK_ERROR_PRINT_LOG(!status, "HStreamRepeat::SetFrameRate Failed to set frame range"); in UpdateFrameRateSettings()
951CHECK_ERROR_PRINT_LOG(!status, "HStreamRepeat::UpdateFrameMuteSettings Failed to set frame mute"); in UpdateFrameMuteSettings()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/deferred_proc_session/
H A Ddeferred_video_proc_session.cpp84 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()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/
H A Dhstream_repeat_stub.cpp111 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, in HandleAddDeferredSurface()
150CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamRepeatStub::HandleSetFrameRate failed : %{public}d"… in HandleSetFrameRate()
160CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamRepeatStub::SetCameraRotation failed : %{public}d",… in HandleSetCameraRotation()
169CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamRepeatStub::SetCameraApi failed : %{public}d", ret); in HandleSetCameraApi()
178CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamRepeatStub::HandleSetMirror failed : %{public}d", r… in HandleSetMirror()
H A Dhstream_metadata_stub.cpp79CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamMetadataStub HandleStart failed : %{public}d", ret); in HandleEnableMetadataType()
88CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamMetadataStub HandleStart failed : %{public}d", ret); in HandleDisableMetadataType()
H A Dhcamera_device_stub.cpp142 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, in HandleEnableResult()
155 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, in HandleDisableResult()
H A Dhstream_capture_stub.cpp169CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, "HStreamCaptureStub::SetCameraPhotoRotation failed : %{publ… in HandleSetCameraPhotoRotation()
177 CHECK_ERROR_PRINT_LOG(ret != ERR_NONE, in HandleAcquireBufferToPrepareProxy()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/
H A Dhcapture_session_proxy.cpp273 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in GetActiveColorSpace()
311CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCaptureSessionProxy set smooth zoom failed, error: %{pu… in SetSmoothZoom()
328CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCaptureSessionProxy SetFeatureMode failed, error: %{pub… in SetFeatureMode()
343 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in EnableMovingPhoto()
360CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCaptureSessionProxy start moving capture, error: %{publ… in EnableMovingPhotoMirror()
378 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in CreateMediaLibrary()
398CHECK_ERROR_PRINT_LOG(!picture->Marshalling(data), "HCaptureSessionProxy picture Marshalling faile… in CreateMediaLibrary()
424 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in SetPreviewRotation()
H A Dhcamera_service_proxy.cpp37CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy notifyCloseCamera failed, error: %{p… in NotifyCloseCamera()
54CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy NotifyMuteCamera failed, error: %{pu… in NotifyMuteCamera()
571 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in MuteCameraPersist()
625CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy::PreSwitchCamera failed, error: %{pu… in PreSwitchCamera()
682 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in AllowOpenByOHSide()
704 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in NotifyCameraState()
724CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy::SetCallback failed, error: %{public… in SetPeerCallback()
739 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, in UnsetPeerCallback()
754CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy::DestroyStubObj failed, error: %{pub… in DestroyStubObj()
774CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy::ProxyForFreeze failed, error: %{pub… in ProxyForFreeze()
[all …]
H A Dhstream_capture_proxy.cpp174CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HStreamCaptureProxy SetBufferProducerInfo failed, error:… in SetBufferProducerInfo()
190CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HStreamCaptureProxy DeferImageDeliveryFor failed, error:… in DeferImageDeliveryFor()
205CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HStreamCaptureProxy IsDeferredPhotoEnabled failed, error… in IsDeferredPhotoEnabled()
220CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HStreamCaptureProxy IsDeferredVideoEnabled failed, error… in IsDeferredVideoEnabled()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/window_manager_utils/
H A Dcamera_window_manager_client.cpp78CHECK_ERROR_PRINT_LOG(ret != CAMERA_OK, "failed to UnregisterWindowManagerAgent error code: %{publ… 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()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/window_manager_service_proxy_impl/
H A Dhcamera_scene_session_manager_proxy.cpp35CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "RegisterWindowManagerAgent failed, error: %{public}d", e… in RegisterWindowManagerAgent()
53CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "UnregisterWindowManagerAgent failed, error: %{public}d",… in UnregisterWindowManagerAgent()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dphoto_output.cpp82 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()
142CHECK_ERROR_PRINT_LOG(!status, "PhotoCaptureSetting::SetLocation Failed to set GPS co-ordinates"); in SetLocation()
167CHECK_ERROR_PRINT_LOG(!status, "PhotoCaptureSetting::SetMirror Failed to set mirroring in photo ca… in SetMirror()
474 CHECK_ERROR_PRINT_LOG(ret != SURFACE_ERROR_OK, in SetThumbnailListener()
573CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PhotoOutput Failed to Capture!, errCode: %{public}d",… in Capture()
599CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PhotoOutput Failed to Capture!, errCode: %{public}d",… in Capture()
618CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PhotoOutput Failed to CancelCapture, errCode: %{publi… in CancelCapture()
655 CHECK_ERROR_PRINT_LOG(res != CameraErrorCode::SUCCESS, in CreateStream()
679CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "PhotoOutput Failed to release!, errCode: %{public}d",… in Release()
[all …]
H A Dvideo_output.cpp144CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "VideoOutput Failed to Start!, errCode: %{public}d", e… in Start()
162CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "VideoOutput Failed to Stop!, errCode: %{public}d", er… in Stop()
225 CHECK_ERROR_PRINT_LOG(retCode != CameraErrorCode::SUCCESS, in CreateStream()
249CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to release VideoOutput!, errCode: %{public}d",… in Release()
H A Dmetadata_output.cpp304CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to Start MetadataOutput!, errCode: %{public}d"… in Start()
326CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to Stop MetadataOutput!, errCode: %{public}d",… in Stop()
342CHECK_ERROR_PRINT_LOG(errCode != CAMERA_OK, "Failed to Release MetadataOutput!, errCode: %{public}… in Release()
353CHECK_ERROR_PRINT_LOG(ret != SURFACE_ERROR_OK, "Failed to unregister surface consumer listener"); in ReleaseSurface()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_input.cpp176CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, "Failed to open Camera Input, retCode: %{public}d", re… in Open()
208 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in Open()
226CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, "Failed to close Camera Input, retCode: %{public}d", r… in Close()
244CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, "Failed to release Camera Input, retCode: %{public}d",… in Release()
256CHECK_ERROR_PRINT_LOG(errorCallback == nullptr, "SetErrorCallback: Unregistering error callback"); in SetErrorCallback()
264CHECK_ERROR_PRINT_LOG(resultCallback == nullptr, "SetResultCallback: Unregistering error resultCal… in SetResultCallback()
H A Dcamera_manager.cpp1774 CHECK_ERROR_PRINT_LOG(iterator == g_metaToFwCameraMetaDetect_.end(), in GetSupportedMetadataObjectType()
1884 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in CreateAndSetCameraServiceCallback()
1894 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in SetCameraServiceCallback()
1986 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in SetTorchServiceCallback()
2002 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in CreateAndSetTorchServiceCallback()
2012 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in SetFoldServiceCallback()
2028 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in CreateAndSetFoldServiceCallback()
2065 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in CreateAndSetCameraMuteServiceCallback()
2075 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in SetCameraMuteServiceCallback()
2136CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, "MuteCamera call failed, retCode: %{public}d", retCode… in MuteCamera()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Daudio_deferred_process.cpp136 CHECK_ERROR_PRINT_LOG(ret != 0, "AudioDeferredProcess::Process err"); in Process()
140CHECK_ERROR_PRINT_LOG(ret != 0, "AudioDeferredProcess::Process returnToRecords memcpy_s err"); in Process()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dcapture_session.cpp1319 CHECK_ERROR_PRINT_LOG(!status, in UpdateSetting()
2068 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetFocusMode Failed to set focus mode"); in SetFocusMode()
3200 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::setFilter Failed to set filter"); in SetFilter()
3407 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetBeauty Failed to set beauty value"); in SetBeauty()
3676 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetFocusDistance Failed to set"); in SetFocusDistance()
4605 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::EnableMovingPhoto Failed to enable"); in EnableMovingPhoto()
4803 CHECK_ERROR_PRINT_LOG(!result, "CaptureSession::ValidateOutputProfile fail!"); in ValidateOutputProfile()
4945 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetUserId Failed!"); in SetUserId()
5712 CHECK_ERROR_PRINT_LOG(!status, "SetVirtualAperture Failed to set virtualAperture"); in SetVirtualAperture()
6169 CHECK_ERROR_PRINT_LOG(retCode != CAMERA_OK, in CreateAndSetFoldServiceCallback()
[all …]
H A Dslow_motion_session.cpp116 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 Dprofession_session.cpp154 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetMeteringMode Failed to set focus mode"); in SetMeteringMode()
253 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetISO Failed to set exposure compensation"); in SetISO()
370 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetFocusMode Failed to set focus mode"); in SetFocusMode()
450CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetExposureHintMode Failed to set ExposureHint … in SetExposureHintMode()
548CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetFocusAssistFlashMode Failed to set FocusAssi… in SetFocusAssistFlashMode()
638 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetFlashMode Failed to set flash mode"); in SetFlashMode()
746 CHECK_ERROR_PRINT_LOG(!status, "ProfessionSession::SetColorEffect Failed to set color effect"); in SetColorEffect()
H A Dportrait_session.cpp123 CHECK_ERROR_PRINT_LOG(!status, "CaptureSession::SetPortraitEffect Failed to set effect"); in SetPortraitEffect()
H A Dscan_session.cpp101CHECK_ERROR_PRINT_LOG(!status, "ScanSession::SetBrightnessStatusReport Failed to set brightness st… in SetBrightnessStatusReport()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/media_library/
H A Dphoto_asset_adapter.cpp41 CHECK_ERROR_PRINT_LOG(uid <= INVALID_UID, "Get INVALID_UID UID %{public}d", uid); in PhotoAssetAdapter()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/moving_photo/
H A Dmoving_photo_surface_wrapper.cpp97 CHECK_ERROR_PRINT_LOG(err != GSERROR_OK, in OnBufferArrival()

12