Home
last modified time | relevance | path

Searched refs:EventIdRange (Results 1 – 15 of 15) sorted by relevance

/base/hiviewdfx/hiview/base/
Devent_dispatcher.cpp59 std::set<EventListener::EventIdRange> listenerInfo; in DispatchEvent()
65 [&](const EventListener::EventIdRange &range) { in DispatchEvent()
79 std::set<EventListener::EventIdRange> listenerInfo; in DispatchEvent()
85 [&](const EventListener::EventIdRange &range) { in DispatchEvent()
100 std::set<EventListener::EventIdRange> listenerInfo; in RegisterListener()
130 std::set<EventListener::EventIdRange> listenerInfo; in RegisterListener()
Devent.cpp76 void EventListener::AddListenerInfo(uint32_t type, const EventListener::EventIdRange &range) in AddListenerInfo()
83 std::set<EventListener::EventIdRange> listenerInfo; in AddListenerInfo()
88 void EventListener::AddListenerInfo(uint32_t type, const std::set<EventListener::EventIdRange> &lis… in AddListenerInfo()
98 bool EventListener::GetListenerInfo(uint32_t type, std::set<EventListener::EventIdRange> &listenerI… in GetListenerInfo()
114 std::set<EventListener::EventIdRange> listenerInfo; in AddListenerInfo()
125 std::set<EventListener::EventIdRange> listenerInfo; in AddListenerInfo()
Dplugin.cpp98 void Plugin::AddEventListenerInfo(uint32_t type, const EventListener::EventIdRange& range) in AddEventListenerInfo()
104 std::set<EventListener::EventIdRange> listenerInfo; in AddEventListenerInfo()
109 void Plugin::AddEventListenerInfo(uint32_t type, const std::set<EventListener::EventIdRange> &liste… in AddEventListenerInfo()
118 bool Plugin::GetEventListenerInfo(uint32_t type, std::set<EventListener::EventIdRange> &listenerInf… in GetEventListenerInfo()
133 std::set<EventListener::EventIdRange> listenerInfo; in AddEventListenerInfo()
142 std::set<EventListener::EventIdRange> listenerInfo; in AddEventListenerInfo()
Dhiview_global.cpp79 …const std::set<std::string>& eventNames, const std::set<EventListener::EventIdRange>& listenerInfo) in AddListenerInfo()
85 std::set<EventListener::EventIdRange> &listenerInfo) in GetListenerInfo()
Dlibhiviewbase.map153 …EventListener::AddListenerInfo(unsigned int, OHOS::HiviewDFX::EventListener::EventIdRange const&)";
/base/hiviewdfx/hiview/base/include/
Devent.h254 struct EventIdRange { struct
257 EventIdRange(uint32_t id) in EventIdRange() argument
263 EventIdRange(uint32_t begin, uint32_t end) in EventIdRange() argument
269 bool operator<(const EventIdRange &range) const
274 bool operator==(const EventIdRange &range) const
291 …AddListenerInfo(uint32_t type, const EventListener::EventIdRange &range = EventListener::EventIdRa…
292 void AddListenerInfo(uint32_t type, const std::set<EventListener::EventIdRange> &listenerInfo);
293 bool GetListenerInfo(uint32_t type, std::set<EventListener::EventIdRange> &listenerInfo);
Dplugin.h100 …entListenerInfo(uint32_t type, const EventListener::EventIdRange &range = EventListener::EventIdRa…
101 …void AddEventListenerInfo(uint32_t type, const std::set<EventListener::EventIdRange> &listenerInfo…
102 bool GetEventListenerInfo(uint32_t type, std::set<EventListener::EventIdRange> &listenerInfo);
299 …const std::set<std::string>& eventNames, const std::set<EventListener::EventIdRange>& listenerInfo… in AddListenerInfo()
302 …const std::set<std::string>& eventNames, const std::set<EventListener::EventIdRange>& listenerInfo… in AddListenerInfo()
311 std::set<EventListener::EventIdRange> &listenerInfo) in GetListenerInfo()
Dhiview_global.h41 …const std::set<std::string>& eventNames, const std::set<EventListener::EventIdRange>& listenerInfo…
42 …rInfo(uint32_t type, const std::string& name, std::set<EventListener::EventIdRange> &listenerInfo);
/base/hiviewdfx/hiview/base/test/unittest/common/
Devent_dispatcher_test.cpp77 const std::set<EventListener::EventIdRange>& listenerInfo) override in AddListenerInfo()
84 const std::set<EventListener::EventIdRange>& listenerInfo) override in AddListenerInfo()
92 std::set<EventListener::EventIdRange> &listenerInfo) override in GetListenerInfo()
102 std::unordered_map<std::string, std::set<EventListener::EventIdRange>> listeners_;
150 std::set<EventListener::EventIdRange> listenerInfo = { EventListener::EventIdRange(0, 10) }; in CreatePlugin()
158 std::set<EventListener::EventIdRange> listenerInfo = { EventListener::EventIdRange(0, 10) }; in CreateListener()
/base/hiviewdfx/hiview/core/test/unittest/common/
Dplugin_platform_test.cpp63 …listener->AddListenerInfo(Event::MessageType::FAULT_EVENT, EventListener::EventIdRange(901000000, …
122 …listener->AddListenerInfo(Event::MessageType::FAULT_EVENT, EventListener::EventIdRange(901000000, …
157 …listener->AddListenerInfo(Event::MessageType::FAULT_EVENT, EventListener::EventIdRange(901000000, …
234 std::set<EventListener::EventIdRange> set;
235 set.emplace(EventListener::EventIdRange(901000000));
236 set.emplace(EventListener::EventIdRange(901000001));
237 set.emplace(EventListener::EventIdRange(901000002));
Devent_dispatch_queue_test.cpp99 …listener1->AddListenerInfo(Event::MessageType::RAW_EVENT, EventListener::EventIdRange(EVENT_ID_0, …
104 std::set<EventListener::EventIdRange> listenerInfo1;
111 std::set<EventListener::EventIdRange> listenerInfo2;
/base/hiviewdfx/hiview/
Dhiview_zh.md69 … /* 当前插件作为动态订阅者时,添加需要订阅的事件。订阅的事件分为依靠eventName订阅和EventIdRange(eventId范围也可以是全范围或者单一id)订阅。type是事件类型 */
70 …entListenerInfo(uint32_t type, const EventListener::EventIdRange &range = EventListener::EventIdRa…
71 …void AddEventListenerInfo(uint32_t type, const std::set<EventListener::EventIdRange> &listenerInfo…
331 /* 添加需要订阅的事件。订阅的事件分为依靠eventName订阅和EventIdRange(eventId范围也可以是全范围或者单一id)订阅。type是事件类型 */
332 …AddListenerInfo(uint32_t type, const EventListener::EventIdRange &range = EventListener::EventIdRa…
333 void AddListenerInfo(uint32_t type, const std::set<EventListener::EventIdRange> &listenerInfo);
339 bool GetListenerInfo(uint32_t type, std::set<EventListener::EventIdRange> &listenerInfo);
/base/hiviewdfx/hiview/core/
Dhiview_platform.h69 …const std::set<std::string>& eventNames, const std::set<EventListener::EventIdRange>& listenerInfo…
71 …const std::set<std::string>& eventNames, const std::set<EventListener::EventIdRange>& listenerInfo…
75 std::set<EventListener::EventIdRange> &listenerInfo) override;
101 std::map<uint32_t, std::set<EventListener::EventIdRange>> idListenerInfo;
Dhiview_platform.cpp993 …const std::set<std::string>& eventNames, const std::set<EventListener::EventIdRange>& listenerInfo) in AddListenerInfo()
1033 …const std::set<std::string>& eventNames, const std::set<EventListener::EventIdRange>& listenerInfo) in AddListenerInfo()
1086 [&](const EventListener::EventIdRange& range) { in GetListenerInfo()
1099 std::set<EventListener::EventIdRange> &listenerInfo) in GetListenerInfo()
/base/hiviewdfx/hiview/plugins/eventlogger/
Devent_logger.cpp289 std::set<EventListener::EventIdRange> listenerInfo; in OnLoad()