Home
last modified time | relevance | path

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

/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/
Devent_logger_plugin_test.cpp178 std::shared_ptr<Event> onEvent = std::static_pointer_cast<Event>(event); variable
179 ASSERT_EQ(eventLogger->OnEvent(onEvent), true);
204 std::shared_ptr<Event> onEvent = std::static_pointer_cast<Event>(event); variable
205 ASSERT_EQ(eventLogger->OnEvent(onEvent), true);
230 std::shared_ptr<Event> onEvent = event; variable
231 ASSERT_EQ(eventLogger->OnEvent(onEvent), true);
262 std::shared_ptr<Event> onEvent = event; variable
263 ASSERT_EQ(eventLogger->IsInterestedPipelineEvent(onEvent), false);
264 ASSERT_EQ(eventLogger->OnEvent(onEvent), true);
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_listener.cpp64 … napi_value onEvent = NapiHiSysEventUtil::GetPropertyByName(env, listener, ON_EVENT_ATTR); in OnEvent() local
66 status = napi_call_function(env, listener, onEvent, ON_EVENT_PARAM_COUNT, argv, &ret); in OnEvent()
/base/update/updateservice/interfaces/inner_api/engine/
Dupdate_service_kits_impl.cpp105 updateCallback_.onEvent = nullptr; in ~RemoteUpdateCallback()
120 if (updateCallback_.onEvent != nullptr) { in OnEvent()
121 updateCallback_.onEvent(eventInfo); in OnEvent()
/base/hiviewdfx/hiview/plugins/eventlogger/
Devent_logger.cpp75 bool EventLogger::OnEvent(std::shared_ptr<Event> &onEvent) in OnEvent() argument
77 if (onEvent == nullptr) { in OnEvent()
82 auto sysEvent = Event::DownCastTo<SysEvent>(onEvent); in OnEvent()
105 onEvent->OnFinish(); in OnEvent()
/base/update/updateservice/test/fuzztest/common/
Dfuzztest_helper.cpp58 cb.onEvent = FtOnEvent; in BuildUpdateCallbackInfo()
/base/update/updateservice/interfaces/inner_api/include/
Dupdate_helper.h590 OnEvent onEvent; member
596 onEvent = source.onEvent;
/base/hiviewdfx/hisysevent/test/unittest/common/napi/
Dnapi_hisysevent.test.js146 onEvent: (info) => { method
179 onEvent: (info) => { method