/base/notification/common_event_service/services/test/unittest/common_event_control_manager_branch_test/ |
H A D | mock_common_event_permission_manager.cpp | 29 std::string eventNames = "bb";
in GetEventPermission() local 31 per.names.emplace_back(eventNames);
in GetEventPermission()
|
/base/hiviewdfx/hiview/base/ |
H A D | event.cpp | 82 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 D | plugin.cpp | 100 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 D | hiview_global.cpp | 79 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 D | sys_event_stat.cpp | 199 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 D | hiview_global.h | 41 void AddListenerInfo(uint32_t type, const std::string& name, const std::set<std::string>& eventNames,
|
H A D | plugin.h | 102 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 D | event.h | 266 void AddListenerInfo(uint32_t type, const std::set<std::string> &eventNames,
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
H A D | hisysevent_adapter_native_test.cpp | 195 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 D | hisysevent_native_test.cpp | 153 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 D | sys_event_service_ohos_test.cpp | 279 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 D | hiview_platform.cpp | 982 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 D | sys_event_stat.h | 103 void GetEventNames(std::map<std::string, int64_t> &events, std::vector<std::string> &eventNames) const;
|
/base/hiviewdfx/hiview/core/include/ |
H A D | hiview_platform.h | 64 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 D | event_logger.cpp | 932 std::unordered_set<std::string> eventNames; in OnLoad() local 934 eventNames.insert(i); in OnLoad() 944 context->AddDispatchInfo(plugin, {}, eventNames, {}, {}); in OnLoad()
|