Home
last modified time | relevance | path

Searched refs:ErrorCallback (Results 1 - 25 of 57) sorted by relevance

123

/foundation/multimedia/player_framework/frameworks/js/player/
H A Daudio_player_napi.cpp221 player->ErrorCallback(MSERR_EXT_NO_MEMORY, "player is released(null), please create player again"); in SetSrc()
232 player->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input parameters"); in SetSrc()
245 player->ErrorCallback(MSERR_EXT_INVALID_VAL, "invalid parameters, please check the input parameters"); in SetSrc()
255 player->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to SetSource"); in SetSrc()
261 player->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to PrepareAsync"); in SetSrc()
309 player->ErrorCallback(MSERR_EXT_NO_MEMORY, "player is released(null), please create player again"); in SetFdSrc()
315 player->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input parameters"); in SetFdSrc()
321 player->ErrorCallback(MSERR_EXT_INVALID_VAL, "invalid parameters, please check the input parameters"); in SetFdSrc()
327 player->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to SetSource rawFd"); in SetFdSrc()
333 player->ErrorCallback(MSErrorToExtErro in SetFdSrc()
859 void AudioPlayerNapi::ErrorCallback(MediaServiceExtErrCode errCode, std::string errMsg) ErrorCallback() function in OHOS::Media::AudioPlayerNapi
[all...]
H A Dvideo_player_napi.cpp241 jsPlayer->ErrorCallback(MSERR_EXT_NO_MEMORY, "player is released(null), please create player again"); in SetUrl()
246 jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input parameters"); in SetUrl()
259 jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "invalid parameters, please check the input parameters"); in SetUrl()
270 jsPlayer->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to set source"); in SetUrl()
325 jsPlayer->ErrorCallback(MSERR_EXT_NO_MEMORY, "player is released(null), please create player again"); in SetFdSrc()
331 jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input parameters"); in SetFdSrc()
337 jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "invalid parameters, please check the input parameters"); in SetFdSrc()
345 jsPlayer->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to SetSource"); in SetFdSrc()
1028 jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input parameters"); in On()
1063 jsPlayer->ErrorCallback(MSERR_EXT_NO_MEMOR in SetLoop()
1337 void VideoPlayerNapi::ErrorCallback(MediaServiceExtErrCode errCode, std::string errMsg) ErrorCallback() function in OHOS::Media::VideoPlayerNapi
[all...]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/
H A Dcamera_input.h37 class ErrorCallback { class
39 ErrorCallback() = default;
40 virtual ~ErrorCallback() = default;
245 * @param The ErrorCallback pointer.
247 void SetErrorCallback(std::shared_ptr<ErrorCallback> errorCallback);
291 * @brief Get ErrorCallback pointer.
293 * @return Returns ErrorCallback pointer.
295 std::shared_ptr<ErrorCallback> GetErrorCallback();
386 std::shared_ptr<ErrorCallback> errorCallback_;
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_resource.h41 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
44 WebResource(const std::string& type, const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in WebResource()
78 ErrorCallback onError_;
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/resource/
H A Dxcomponent_resource.h40 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
43 const WeakPtr<PipelineContext>& context, ErrorCallback&& onError) in XComponentResource()
77 ErrorCallback onError_;
H A Dnative_texture.h28 NativeTexture(const WeakPtr<PipelineContext>& context, ErrorCallback&& onError) in NativeTexture()
H A Dxcomponent_delegate.h44 const WeakPtr<PipelineContext>& context, ErrorCallback&& onError, const std::string& type) in XComponentDelegate()
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/
H A Drich_text_resource.h42 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
46 const WeakPtr<PipelineContext>& context, ErrorCallback&& onError) in RichTextResource()
85 ErrorCallback onError_;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/
H A Dweb_resource.h31 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
34 WebResource(const std::string& type, const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in WebResource()
68 ErrorCallback onError_;
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/
H A Drich_text_component.h35 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
88 ErrorCallback errorCallback_ = nullptr;
/foundation/arkui/ace_engine/frameworks/core/components/video/resource/
H A Dresource.h41 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
44 Resource(const std::string& type, const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Resource()
85 ErrorCallback onError_;
H A Dtexture.h30 Texture(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Texture()
H A Dplayer.h40 Player(int64_t textureId, const std::string& src, const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Player()
43 Player(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Player()
H A Dext_texture.h27 ExtTexture(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in ExtTexture()
H A Dext_surface.h31 ExtSurface(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in ExtSurface()
/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Daudio_recorder_napi.cpp243 recorderNapi->ErrorCallback(MSERR_EXT_INVALID_VAL); in Prepare()
250 recorderNapi->ErrorCallback(MSERR_EXT_INVALID_VAL); in Prepare()
255 recorderNapi->ErrorCallback(MSERR_EXT_INVALID_VAL); in Prepare()
265 recorderNapi->ErrorCallback(MSERR_EXT_INVALID_VAL); in Prepare()
427 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Start()
464 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Pause()
497 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Resume()
533 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Stop()
566 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Reset()
599 napi->ErrorCallback(MSERR_EXT_UNKNOW in Release()
685 void AudioRecorderNapi::ErrorCallback(MediaServiceExtErrCode errCode) ErrorCallback() function in OHOS::Media::AudioRecorderNapi
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/include/callback/
H A Ddcamera_input_callback.h28 class DCameraInputCallback : public CameraStandard::ErrorCallback {
/foundation/arkui/ace_engine/frameworks/core/components/camera/
H A Dcamera_element.h48 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
90 void CreateCamera(int64_t id, ErrorCallback &&errorCallback);
/foundation/multimedia/camera_framework/test/fuzztest/camerainput_fuzzer/
H A Dcamera_input_fuzzer.h32 class ErrorCallbackMock : public ErrorCallback {
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Dxcomponent_component.h85 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
260 ErrorCallback errorCallback_ = nullptr;
/foundation/arkui/ace_engine/frameworks/core/components/video/
H A Dvideo_element.h54 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
109 void CreatePlayer(int64_t id, ErrorCallback&& errorCallback);
/foundation/arkui/ace_engine/frameworks/core/components/form/resource/
H A Dform_manager_resource.h42 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
/foundation/arkui/ace_engine/frameworks/core/components/plugin/resource/
H A Dplugin_manager_resource.h42 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
/foundation/arkui/ace_engine/frameworks/core/components/camera/large_system/
H A Dcamera.h37 Camera(int64_t textureId, const WeakPtr<PipelineContext>& context, ErrorCallback&& onError, in Camera()
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dcamera_input_impl.cpp24 class InnerCameraInputCallback : public ErrorCallback {

Completed in 12 milliseconds

123