Home
last modified time | relevance | path

Searched refs:onError_ (Results 1 - 25 of 33) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/plugin/
H A Dplugin_event_hub.h36 onError_ = std::move(onError); in SetOnError()
53 if (onError_) { in FireOnError()
54 onError_(param); in FireOnError()
59 PluginCallback onError_; member in OHOS::Ace::NG::PluginEventHub
/foundation/arkui/ace_engine/component_ext/movingphoto/
H A Dmovingphoto_event_hub.h124 onError_ = std ::move(onError); in SetOnError()
129 return onError_; in GetOnError()
134 if (onError_) { in FireErrorEvent()
135 auto onError = onError_; in FireErrorEvent()
146 MovingPhotoEventFunc onError_; member in OHOS::Ace::NG::MovingPhotoEventHub
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/
H A Dform_event_hub.h43 onError_ = std::move(onError); in SetOnError()
76 if (onError_) { in FireOnError()
77 auto onError = onError_; in FireOnError()
116 FormCallback onError_; member in OHOS::Ace::NG::FormEventHub
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_component.h92 onError_ = event; in SetOnErrorEventId()
97 return onError_; in GetOnErrorEvent()
114 EventMarker onError_; member in OHOS::Ace::PluginComponent
/foundation/arkui/ace_engine/adapter/preview/inspector/
H A Dinspector_client.h47 if (onError_) { in CallFastPreviewErrorCallback()
48 onError_(jsonStr); in CallFastPreviewErrorCallback()
57 FastPreviewErrorCallback onError_; member in OHOS::Ace::Framework::InspectorClient
H A Dinspector_client.cpp43 onError_ = callback; in RegisterFastPreviewErrorCallback()
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/resource/
H A Dxcomponent_delegate.cpp83 if (onError_) { in CreatePluginResource()
84 onError_(XCOMPONENT_ERROR_CODE_CREATEFAIL, XCOMPONENT_ERROR_MSG_CREATEFAIL); in CreatePluginResource()
112 if (onError_) { in CreatePluginResource()
113 onError_(XCOMPONENT_ERROR_CODE_CREATEFAIL, XCOMPONENT_ERROR_MSG_CREATEFAIL); in CreatePluginResource()
H A Dxcomponent_resource.h44 : type_(type), context_(context), onError_(std::move(onError)) in XComponentResource()
77 ErrorCallback onError_; member in OHOS::Ace::XComponentResource
H A Dxcomponent_resource.cpp133 if (onError_) { in OnError()
134 onError_(errorCode, errorMsg); in OnError()
/foundation/arkui/ace_engine/frameworks/core/components/form/
H A Dform_component.h93 onError_ = event; in SetOnErrorEventId()
98 return onError_; in GetOnErrorEvent()
124 EventMarker onError_; member in OHOS::Ace::FormComponent
/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/video_processing/
H A Dvideo_processing_callback_native.cpp28 return BindFunction([this, onError]() { onError_ = onError; }); in BindOnError()
81 if (onError_ == nullptr) {
82 VPE_LOGD("onError_ is null!");
85 onError_(instance, errorCode, userData);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_event_hub.h82 onError_ = std ::move(onError); in SetOnError()
86 if (onError_) { in FireErrorEvent()
87 // onError_ may be overwritten in its invoke so we copy it first in FireErrorEvent()
88 auto onError = onError_; in FireErrorEvent()
200 VideoEventCallback onError_; member in OHOS::Ace::NG::VideoEventHub
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_resource.h45 : type_(type), context_(context), onError_(std::move(onError)) in WebResource()
78 ErrorCallback onError_; member in OHOS::Ace::WebResource
H A Dweb_resource.cpp135 if (onError_) { in OnError()
136 onError_(errorCode, errorMsg); in OnError()
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/
H A Drich_text_resource.h47 : type_(type), context_(context), onError_(std::move(onError)) in RichTextResource()
85 ErrorCallback onError_; member in OHOS::Ace::RichTextResource
H A Drich_text_resource.cpp136 if (onError_) { in OnError()
137 onError_(errorCode, errorMsg); in OnError()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/
H A Dweb_resource.h35 : type_(type), context_(context), onError_(std::move(onError)) in WebResource()
68 ErrorCallback onError_; member in OHOS::Ace::WebResource
H A Dweb_resource.cpp126 if (onError_) { in OnError()
127 onError_(errorCode, errorMsg); in OnError()
/foundation/arkui/ace_engine/frameworks/core/components/video/resource/
H A Dext_texture.cpp77 if (onError_) { in CreateTexture()
78 onError_(TEXTURE_ERRORCODE_CREATEFAIL, TEXTURE_ERRORMSG_CREATEFAIL); in CreateTexture()
H A Dtexture.cpp85 if (onError_) { in CreateTexture()
86 onError_(TEXTURE_ERRORCODE_CREATEFAIL, TEXTURE_ERRORMSG_CREATEFAIL); in CreateTexture()
H A Dresource.h45 : type_(type), context_(context), onError_(std::move(onError)) in Resource()
85 ErrorCallback onError_; member in OHOS::Ace::Resource
H A Dext_surface.cpp83 if (onError_) { in CreateExtSurface()
84 onError_(SURFACE_ERRORCODE_CREATEFAIL, SURFACE_ERRORMSG_CREATEFAIL); in CreateExtSurface()
H A Dplayer.cpp102 if (onError_) { in CreatePlayer()
103 onError_(PLAYER_ERROR_CODE_CREATEFAIL, PLAYER_ERROR_MSG_CREATEFAIL); in CreatePlayer()
207 if (onError_) { in OnPrepared()
208 onError_(PLAYER_ERROR_CODE_FILEINVALID, PLAYER_ERROR_MSG_FILEINVALID); in OnPrepared()
/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/video_processing/include/
H A Dvideo_processing_callback_native.h58 OH_VideoProcessingCallback_OnError onError_{};
/foundation/arkui/ace_engine/frameworks/core/components/camera/
H A Dcamera_element.h115 EventCallback onError_; member in OHOS::Ace::CameraElement

Completed in 9 milliseconds

12