Home
last modified time | relevance | path

Searched refs:RequestEvent (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/request/request/frameworks/js/napi/src/
H A Drequest_event.cpp55 std::map<std::string, RequestEvent::Event> RequestEvent::requestEvent_ = {
56 { FUNCTION_PAUSE, RequestEvent::PauseExec },
57 { FUNCTION_QUERY, RequestEvent::QueryExec },
59 { FUNCTION_REMOVE, RequestEvent::RemoveExec },
60 { FUNCTION_RESUME, RequestEvent::ResumeExec },
61 { FUNCTION_START, RequestEvent::StartExec },
62 { FUNCTION_STOP, RequestEvent::StopExec },
65 std::map<std::string, uint32_t> RequestEvent::resMap_ = {
245 ExceptionError RequestEvent::ParseOnOffParameters( in ParseOnOffParameters()
333 napi_status RequestEvent::ParseInputParameters( in ParseInputParameters()
[all …]
H A Djs_task.cpp60 DECLARE_NAPI_FUNCTION(FUNCTION_ON, RequestEvent::On),
61 DECLARE_NAPI_FUNCTION(FUNCTION_OFF, RequestEvent::Off),
62 DECLARE_NAPI_FUNCTION(FUNCTION_START, RequestEvent::Start),
63 DECLARE_NAPI_FUNCTION(FUNCTION_PAUSE, RequestEvent::Pause),
64 DECLARE_NAPI_FUNCTION(FUNCTION_RESUME, RequestEvent::Resume),
65 DECLARE_NAPI_FUNCTION(FUNCTION_STOP, RequestEvent::Stop),
69 DECLARE_NAPI_FUNCTION(FUNCTION_ON, RequestEvent::On),
70 DECLARE_NAPI_FUNCTION(FUNCTION_OFF, RequestEvent::Off),
71 DECLARE_NAPI_FUNCTION(FUNCTION_SUSPEND, RequestEvent::Pause),
76 DECLARE_NAPI_FUNCTION(FUNCTION_PAUSE, RequestEvent::Pause),
[all …]
H A Djs_notify_data_listener.cpp120 …auto it = RequestEvent::failMap_.find(static_cast<Reason>(notifyData->taskStates[0].responseCode)); in NotifyDataProcess()
121 if (it != RequestEvent::failMap_.end()) { in NotifyDataProcess()
/ohos5.0/base/request/request/frameworks/js/napi/include/
H A Drequest_event.h31 class RequestEvent final {
33 RequestEvent() = default;
34 ~RequestEvent() = default;
35 RequestEvent(RequestEvent const &) = delete;
36 void operator=(RequestEvent const &) = delete;
37 RequestEvent(RequestEvent &&) = delete;
38 RequestEvent &operator=(RequestEvent &&) = delete;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_component_callback.h29 RequestEvent, enumerator
H A Dplugin_component_manager.cpp155 if (callback.second == CallBackType::RequestEvent && callback.first != nullptr) { in OnRequestCallBack()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/
H A Djs_plugin_component.cpp502 eventCallbackType = CallBackType::RequestEvent; in AceOnCompleteAsyncCallbackWork()