Home
last modified time | relevance | path

Searched refs:eventNames (Results 1 - 15 of 15) sorted by relevance

/base/notification/common_event_service/services/test/unittest/common_event_control_manager_branch_test/
H A Dmock_common_event_permission_manager.cpp29 std::string eventNames = "bb"; in GetEventPermission() local
31 per.names.emplace_back(eventNames); in GetEventPermission()
/base/hiviewdfx/hiview/base/
H A Devent.cpp82 std::set<std::string> eventNames; in AddListenerInfo() local
83 context->AddListenerInfo(type, GetListenerName(), eventNames, domainRulesMap); in AddListenerInfo()
86 void EventListener::AddListenerInfo(uint32_t type, const std::set<std::string> &eventNames, in AddListenerInfo() argument
93 context->AddListenerInfo(type, GetListenerName(), eventNames, domainRulesMap); in AddListenerInfo()
H A Dplugin.cpp100 const std::unordered_set<std::string> &eventNames, const std::unordered_set<std::string> &tags, in AddDispatchInfo()
106 context_->AddDispatchInfo(shared_from_this(), types, eventNames, tags, domainRulesMap); in AddDispatchInfo() local
99 AddDispatchInfo(const std::unordered_set<uint8_t>& types, const std::unordered_set<std::string> &eventNames, const std::unordered_set<std::string> &tags, const std::unordered_map<std::string, DomainRule>& domainRulesMap) AddDispatchInfo() argument
H A Dhiview_global.cpp79 const std::set<std::string>& eventNames, const std::map<std::string, DomainRule>& domainRulesMap) in AddListenerInfo()
81 context_.AddListenerInfo(type, name, eventNames, domainRulesMap); in AddListenerInfo()
78 AddListenerInfo(uint32_t type, const std::string& name, const std::set<std::string>& eventNames, const std::map<std::string, DomainRule>& domainRulesMap) AddListenerInfo() argument
/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Dsys_event_stat.cpp199 std::vector<std::string> &eventNames) const in GetEventNames()
202 eventNames.emplace_back(it->first); in GetEventNames()
204 std::sort(eventNames.begin(), eventNames.end()); in GetEventNames()
209 std::vector<std::string> eventNames; in StatDomainEvent() local
210 GetEventNames(events, eventNames); in StatDomainEvent()
211 for (auto it = eventNames.begin(); it != eventNames.end(); it++) { in StatDomainEvent()
/base/hiviewdfx/hiview/base/include/
H A Dhiview_global.h41 void AddListenerInfo(uint32_t type, const std::string& name, const std::set<std::string>& eventNames,
H A Dplugin.h102 const std::unordered_set<std::string> &eventNames = {}, const std::unordered_set<std::string> &tags = {},
278 virtual void AddListenerInfo(uint32_t type, const std::string& name, const std::set<std::string>& eventNames, in AddListenerInfo() argument
290 const std::unordered_set<std::string>& eventNames, const std::unordered_set<std::string>& tags, in AddDispatchInfo()
289 AddDispatchInfo(std::weak_ptr<Plugin> plugin, const std::unordered_set<uint8_t>& types, const std::unordered_set<std::string>& eventNames, const std::unordered_set<std::string>& tags, const std::unordered_map<std::string, DomainRule>& domainRulesMap) AddDispatchInfo() argument
H A Devent.h266 void AddListenerInfo(uint32_t type, const std::set<std::string> &eventNames,
/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_adapter_native_test.cpp195 std::vector<std::string> eventNames {"START_ABILITY"}; in HWTEST_F()
196 QueryRule rule("AAFWK", eventNames); in HWTEST_F()
309 std::vector<std::string> eventNames { "EVENT_NAME1", "EVENT_NAME2" }; in HWTEST_F()
310 OHOS::HiviewDFX::SysEventQueryRule queryRule("DOMAIN", eventNames); in HWTEST_F()
H A Dhisysevent_native_test.cpp153 std::vector<std::string> eventNames {"EVENT_NAME"}; in HWTEST_F()
154 OHOS::HiviewDFX::QueryRule rule("", eventNames); // empty domain in HWTEST_F()
175 std::vector<std::string> eventNames; // empty event name in HWTEST_F() local
176 OHOS::HiviewDFX::QueryRule rule("DOMAIN", eventNames); in HWTEST_F()
1174 std::vector<std::string> eventNames {"EVENT_NAME"}; in HWTEST_F()
1175 OHOS::HiviewDFX::QueryRule rule("DOMAIN", eventNames); in HWTEST_F()
1554 std::vector<std::string> eventNames {"POWER_KEY"}; in HWTEST_F()
1555 OHOS::HiviewDFX::QueryRule rule("KERNEL_VENDOR", eventNames); // empty domain in HWTEST_F()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
H A Dsys_event_service_ohos_test.cpp279 std::vector<std::string> eventNames { "EVENT_NAME1", "EVENT_NAME2" }; in HWTEST_F()
280 OHOS::HiviewDFX::SysEventQueryRule eventQueryRule("DOMAIN", eventNames); in HWTEST_F()
300 std::vector<std::string> eventNames { "EVENT_NAME1", "EVENT_NAME2" }; in HWTEST_F()
301 OHOS::HiviewDFX::SysEventQueryRule queryRule("DOMAIN", eventNames); in HWTEST_F()
/base/hiviewdfx/hiview/core/
H A Dhiview_platform.cpp982 const std::unordered_set<std::string>& eventNames, const std::unordered_set<std::string>& tags, in AddDispatchInfo()
1006 if (!eventNames.empty()) { in AddDispatchInfo()
1007 data->eventsInfo_.insert(eventNames.begin(), eventNames.end()); in AddDispatchInfo()
1014 void HiviewPlatform::AddListenerInfo(uint32_t type, const std::string& name, const std::set<std::string>& eventNames, in AddListenerInfo() argument
1026 if (!eventNames.empty()) { in AddListenerInfo()
1029 it->second.insert(eventNames.begin(), eventNames.end()); in AddListenerInfo()
1031 data->eventsInfo_[type] = eventNames; in AddListenerInfo()
981 AddDispatchInfo(std::weak_ptr<Plugin> plugin, const std::unordered_set<uint8_t>& types, const std::unordered_set<std::string>& eventNames, const std::unordered_set<std::string>& tags, const std::unordered_map<std::string, DomainRule>& domainRulesMap) AddDispatchInfo() argument
/base/hiviewdfx/hiview/plugins/sysevent_source/include/
H A Dsys_event_stat.h103 void GetEventNames(std::map<std::string, int64_t> &events, std::vector<std::string> &eventNames) const;
/base/hiviewdfx/hiview/core/include/
H A Dhiview_platform.h64 const std::unordered_set<std::string>& eventNames, const std::unordered_set<std::string>& tags,
68 void AddListenerInfo(uint32_t type, const std::string& name, const std::set<std::string>& eventNames,
/base/hiviewdfx/hiview/plugins/eventlogger/
H A Devent_logger.cpp932 std::unordered_set<std::string> eventNames; in OnLoad() local
934 eventNames.insert(i); in OnLoad()
944 context->AddDispatchInfo(plugin, {}, eventNames, {}, {}); in OnLoad()

Completed in 14 milliseconds