/base/hiviewdfx/hisysevent/adapter/native/idl/include/ |
H A D | sys_event_rule.h | 28 class SysEventRule : public Parcelable { class 30 SysEventRule() {}; in SysEventRule() function in OHOS::HiviewDFX::SysEventRule 31 SysEventRule(const std::string& domain, const std::string& eventName, in SysEventRule() function in OHOS::HiviewDFX::SysEventRule 34 SysEventRule(const std::string& domain, const std::string& eventName, in SysEventRule() function in OHOS::HiviewDFX::SysEventRule 36 : SysEventRule(domain, eventName, "", ruleType, eventType) {} in SysEventRule() 37 SysEventRule(const std::string& tag, uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0) in SysEventRule() function in OHOS::HiviewDFX::SysEventRule 38 : SysEventRule("", "", tag, ruleType, eventType) {} in SysEventRule() 39 ~SysEventRule() = default; 42 static SysEventRule* Unmarshalling(Parcel& parcel);
|
H A D | isys_event_service.h | 32 virtual int32_t AddListener(const std::vector<SysEventRule>& rules,
|
H A D | sys_event_service_proxy.h | 34 int32_t AddListener(const std::vector<SysEventRule>& rules, const sptr<ISysEventCallback>& callback);
|
H A D | hisysevent_delegate.h | 56 std::vector<SysEventRule>& sysRules) const;
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
H A D | sys_event_rule.h | 24 class SysEventRule : public Parcelable { class 26 SysEventRule() {}; in SysEventRule() function in OHOS::HiviewDFX::SysEventRule 27 SysEventRule(const std::string& domain, const std::string& eventName, in SysEventRule() function in OHOS::HiviewDFX::SysEventRule 30 SysEventRule(const std::string& domain, const std::string& eventName, in SysEventRule() function in OHOS::HiviewDFX::SysEventRule 32 : SysEventRule(domain, eventName, "", ruleType, eventType) {} in SysEventRule() 33 SysEventRule(const std::string& tag, uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0) in SysEventRule() function in OHOS::HiviewDFX::SysEventRule 34 : SysEventRule("", "", tag, ruleType, eventType) {} in SysEventRule() 35 ~SysEventRule() = default; 38 static SysEventRule* Unmarshalling(Parcel& parcel);
|
H A D | running_status_log_util.h | 28 static void LogTooManyWatchRules(const std::vector<SysEventRule>& rules);
|
H A D | isys_event_service.h | 33 virtual int32_t AddListener(const std::vector<SysEventRule>& rules,
|
H A D | sys_event_service_ohos.h | 68 int32_t AddListener(const std::vector<SysEventRule>& rules, const OHOS::sptr<ISysEventCallback>& callback) override; 86 std::vector<SysEventRule> rules;
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | sys_event_rule.cpp | 20 bool SysEventRule::Marshalling(Parcel& parcel) const in Marshalling() 40 SysEventRule* SysEventRule::Unmarshalling(Parcel& parcel) in Unmarshalling() 42 SysEventRule* ret = new(std::nothrow) SysEventRule(); in Unmarshalling()
|
H A D | running_status_log_util.cpp | 51 void RunningStatusLogUtil::LogTooManyWatchRules(const std::vector<SysEventRule>& rules) in LogTooManyWatchRules()
|
H A D | sys_event_service_ohos.cpp | 90 bool IsMatchedRule(const OHOS::HiviewDFX::SysEventRule& rule, const string& domain, in IsMatchedRule() 102 bool MatchRules(const std::vector<SysEventRule>& rules, const string& domain, const string& eventName, in MatchRules() 262 int32_t SysEventServiceOhos::AddListener(const std::vector<SysEventRule>& rules, in AddListener()
|
H A D | sys_event_service_stub.cpp | 30 std::vector<SysEventRule> rules; in HandleAddSysEventListener()
|
/base/hiviewdfx/hisysevent/adapter/native/idl/src/ |
H A D | sys_event_rule.cpp | 20 bool SysEventRule::Marshalling(Parcel& parcel) const in Marshalling() 40 SysEventRule* SysEventRule::Unmarshalling(Parcel& parcel) in Unmarshalling() 42 SysEventRule* ret = new(std::nothrow) SysEventRule(); in Unmarshalling()
|
H A D | hisysevent_delegate.cpp | 69 std::vector<SysEventRule> eventRules; in AddListener() 196 std::vector<SysEventRule>& sysRules) const in ConvertListenerRule()
|
H A D | sys_event_service_proxy.cpp | 32 int32_t SysEventServiceProxy::AddListener(const std::vector<SysEventRule>& rules, in AddListener()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/ |
H A D | sys_event_service_ohos_test.cpp | 78 int32_t AddListener(const std::vector<SysEventRule>& rules, const sptr<ISysEventCallback>& callback) in AddListener() 147 static SysEventRule GetTestRule(int type, const string &domain, const string &eventName) in GetTestRule() 149 SysEventRule rule; in GetTestRule() 156 static vector<SysEventRule> GetTestRules(int type, const string &domain, const string &eventName) in GetTestRules() 158 vector<SysEventRule> rules; in GetTestRules() 271 OHOS::HiviewDFX::SysEventRule rule("DOMAIN1", "EVENT_NAME2", "TAG3", OHOS::HiviewDFX::RuleType::WHOLE_WORD); in HWTEST_F() 275 OHOS::HiviewDFX::SysEventRule* rulePtr = rule.Unmarshalling(parcel2); in HWTEST_F() 307 vector<SysEventRule> sysEventRules1; in HWTEST_F() 310 vector<SysEventRule> sysEventRules2 = GetTestRules(1, "", ""); in HWTEST_F()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
H A D | hisysevent_adapter_native_test.cpp | 300 OHOS::HiviewDFX::SysEventRule sysEventRule("DOMAIN", "EVENT_NAME", "TAG", OHOS::HiviewDFX::RuleType::WHOLE_WORD); in HWTEST_F() 304 OHOS::HiviewDFX::SysEventRule* sysEventRulePtr = sysEventRule.Unmarshalling(parcel2); in HWTEST_F()
|