Home
last modified time | relevance | path

Searched refs:errorCode (Results 1 – 25 of 27) sorted by relevance

12

/drivers/peripheral/codec/test/unittest/hdi_v1.0/
Dcodec_proxy_test.cpp188 int32_t errorCode = g_codecObj->CodecInit(g_codecObj); variable
189 ASSERT_EQ(errorCode, HDF_SUCCESS);
195 int32_t errorCode = g_codecObj->CodecCreate(g_codecObj, name, &g_handle); variable
196 ASSERT_EQ(errorCode, HDF_SUCCESS);
204 int32_t errorCode = g_codecObj->CodecCreateByType(g_codecObj, type, mime, &g_handle); variable
205 ASSERT_EQ(errorCode, HDF_ERR_NOT_SUPPORT);
213 int32_t errorCode = g_codecObj->CodecSetPortMode(g_codecObj, g_handle, direct, mode, type); variable
214 ASSERT_EQ(errorCode, HDF_ERR_NOT_SUPPORT);
222 int32_t errorCode = g_codecObj->CodecGetPortMode(g_codecObj, g_handle, direct, &mode, &type); variable
223 ASSERT_EQ(errorCode, HDF_ERR_NOT_SUPPORT);
[all …]
/drivers/peripheral/camera/test/common/callback/src/
Dcamera_device_callback.cpp21 int32_t CameraDeviceCallback::OnError(ErrorType type, int32_t errorCode) in OnError() argument
24 (void)errorCode; in OnError()
/drivers/peripheral/camera/hdi_service/v1_0/src/
Dcamera_device_service_callback.cpp24 int32_t CameraDeviceServiceCallback::OnError(VdiErrorType type, int32_t errorCode) in OnError() argument
27 return cameraDeviceCallback_->OnError(static_cast<ErrorType>(type), errorCode); in OnError()
/drivers/peripheral/camera/test/common/callback/include/
Dcamera_device_callback.h29 int32_t OnError(ErrorType type, int32_t errorCode) override;
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/
Dicamera_device_vdi_callback.h37 virtual int32_t OnError(VdiErrorType type, int32_t errorCode) = 0;
/drivers/peripheral/camera/hdi_service/v1_0/include/
Dcamera_device_service_callback.h36 int32_t OnError(VdiErrorType type, int32_t errorCode) override;
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraopencamera_fuzzer/
Ddcameraopencamera_fuzzer.cpp31 int32_t OnError(ErrorType type, int32_t errorCode) in OnError() argument
/drivers/interface/camera/v1_0/
DICameraDeviceCallback.idl35 * @param errorCode Indicates the error code. This parameter is not used currently.
40 OnError([in] enum ErrorType type, [in] int errorCode);
/drivers/peripheral/camera/vdi_base/v4l2/include/stream_operator/
Dcapture_message.h98 VdiStreamError errorCode) : ICaptureMessage(streamId, captureId, time, peerCount) in CaptureErrorMessage() argument
100 errorCode_ = errorCode; in CaptureErrorMessage()
/drivers/peripheral/audio/hdi_service/primary_impl/src/
Daudio_capture.c688 static void LogErrorCapture(AudioHandle handle, int errorCode, int reason) in LogErrorCapture() argument
705 if (errorCode == WRITE_FRAME_ERROR_CODE) { in LogErrorCapture()
706 hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].errorCode = errorCode; in LogErrorCapture()
967 …fd, FORMAT_TWO, capture->errorLog.errorDump[i].count + 1, capture->errorLog.errorDump[i].errorCode, in AudioCaptureAudioDevDump()
973 …fd, FORMAT_ONE, capture->errorLog.errorDump[i].count + 1, capture->errorLog.errorDump[i].errorCode, in AudioCaptureAudioDevDump()
Daudio_render.c761 static void LogError(AudioHandle handle, int32_t errorCode, int reason) in LogError() argument
780 if (errorCode == WRITE_FRAME_ERROR_CODE) { in LogError()
781 hwRender->errorLog.errorDump[hwRender->errorLog.iter].errorCode = errorCode; in LogError()
1133 …f(fd, FORMAT_TWO, render->errorLog.errorDump[i].count + 1, render->errorLog.errorDump[i].errorCode, in AudioRenderAudioDevDump()
1139 …f(fd, FORMAT_ONE, render->errorLog.errorDump[i].count + 1, render->errorLog.errorDump[i].errorCode, in AudioRenderAudioDevDump()
/drivers/peripheral/pin_auth/hdi_service/service/inc/
Dexecutor_impl.h80 void CallError(const sptr<IExecutorCallback> &callbackObj, uint32_t errorCode);
/drivers/peripheral/format/interfaces/include/
Dformat_type.h648 int32_t (*OnError)(CallbackHandle privateDataHandle, int32_t errorType, int32_t errorCode);
/drivers/peripheral/camera/test/ut/v4l2/
Dtest_camera_base.h180 int32_t OnError(ErrorType type, int32_t errorCode) override;
Dtest_camera_base.cpp740 int32_t DemoCameraDeviceCallback::OnError(ErrorType type, int32_t errorCode) in OnError() argument
742 CAMERA_LOGI("demo test: OnError type : %{public}d, errorMsg : %{public}d", type, errorCode); in OnError()
/drivers/peripheral/pin_auth/hdi_service/service/src/
Dexecutor_impl.cpp121 void ExecutorImpl::CallError(const sptr<IExecutorCallback> &callbackObj, uint32_t errorCode) in CallError() argument
125 if (callbackObj->OnResult(errorCode, ret) != SUCCESS) { in CallError()
/drivers/peripheral/camera/test/demo/
Dohos_camera_demo.h162 int32_t OnError(ErrorType type, int32_t errorCode) override;
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
Ddcamera_hdf_demo.h183 int32_t OnError(ErrorType type, int32_t errorCode) override;
/drivers/external_device_manager/frameworks/js/napi/device_manager/
Ddevice_manager_middle.cpp248 static std::optional<std::string> GetNapiError(int32_t errorCode) in GetNapiError() argument
250 auto iter = ERROR_MESSAGES.find(errorCode); in GetNapiError()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
Daudio_render.cpp540 render->errorLog.errorDump[i].errorCode, in AudioRenderAudioDevDump()
547 render->errorLog.errorDump[i].errorCode, in AudioRenderAudioDevDump()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
Daudio_internal.h288 int32_t errorCode; member
/drivers/peripheral/camera/test/ut/usb_camera/
Dtest_camera_base.cpp756 int32_t DemoCameraDeviceCallback::OnError(ErrorType type, int32_t errorCode) in OnError() argument
758 CAMERA_LOGI("demo test: OnError type : %{public}d, errorMsg : %{public}d", type, errorCode); in OnError()
/drivers/peripheral/audio/hdi_service/primary_impl/include/
Daudio_internal.h245 int32_t errorCode; member
/drivers/peripheral/audio/hal/hdi_passthrough/include/
Daudio_internal.h251 int32_t errorCode; member
/drivers/peripheral/camera/
DREADME_zh.md62 | 设备发生错误时调用,由调用者实现,用于返回错误信息给调用者 | void OnError(ErrorType type, int32_t errorCode) |

12