Home
last modified time | relevance | path

Searched refs:SysEventRule (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/base/hiviewdfx/hisysevent/adapter/native/idl/include/
H A Dsys_event_rule.h28 class SysEventRule : public Parcelable {
30 SysEventRule() {}; in SysEventRule() function
31 SysEventRule(const std::string& domain, const std::string& eventName,
34 SysEventRule(const std::string& domain, const std::string& eventName,
36 : SysEventRule(domain, eventName, "", ruleType, eventType) {}
37SysEventRule(const std::string& tag, uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType …
38 : SysEventRule("", "", tag, ruleType, eventType) {}
39 ~SysEventRule() = default;
42 static SysEventRule* Unmarshalling(Parcel& parcel);
H A Disys_event_service.h32 virtual int32_t AddListener(const std::vector<SysEventRule>& rules,
H A Dsys_event_service_proxy.h34 …int32_t AddListener(const std::vector<SysEventRule>& rules, const sptr<ISysEventCallback>& callbac…
H A Dhisysevent_delegate.h56 std::vector<SysEventRule>& sysRules) const;
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
H A Dsys_event_rule.h24 class SysEventRule : public Parcelable {
26 SysEventRule() {}; in SysEventRule() function
27 SysEventRule(const std::string& domain, const std::string& eventName,
30 SysEventRule(const std::string& domain, const std::string& eventName,
32 : SysEventRule(domain, eventName, "", ruleType, eventType) {}
33SysEventRule(const std::string& tag, uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType …
34 : SysEventRule("", "", tag, ruleType, eventType) {}
35 ~SysEventRule() = default;
38 static SysEventRule* Unmarshalling(Parcel& parcel);
H A Drunning_status_log_util.h28 static void LogTooManyWatchRules(const std::vector<SysEventRule>& rules);
H A Disys_event_service.h33 virtual int32_t AddListener(const std::vector<SysEventRule>& rules,
H A Dsys_event_service_ohos.h41 using SysEventRuleGroupOhos = std::vector<OHOS::HiviewDFX::SysEventRule>;
/ohos5.0/base/hiviewdfx/hisysevent/adapter/native/idl/src/
H A Dsys_event_rule.cpp20 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 Dhisysevent_delegate.cpp69 std::vector<SysEventRule> eventRules; in AddListener()
196 std::vector<SysEventRule>& sysRules) const in ConvertListenerRule()
H A Dsys_event_service_proxy.cpp32 int32_t SysEventServiceProxy::AddListener(const std::vector<SysEventRule>& rules, in AddListener()
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Dsys_event_rule.cpp20 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 Drunning_status_log_util.cpp51 void RunningStatusLogUtil::LogTooManyWatchRules(const std::vector<SysEventRule>& rules) in LogTooManyWatchRules()
H A Dsys_event_service_stub.cpp30 std::vector<SysEventRule> rules; in HandleAddSysEventListener()
H A Dsys_event_service_ohos.cpp89 bool IsMatchedRule(const OHOS::HiviewDFX::SysEventRule& rule, const string& domain, in IsMatchedRule()
255 int32_t SysEventServiceOhos::AddListener(const std::vector<SysEventRule>& rules, in AddListener()
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
H A Dsys_event_service_ohos_test.cpp78 …int32_t AddListener(const std::vector<SysEventRule>& rules, const sptr<ISysEventCallback>& callbac… 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::WH…
275 OHOS::HiviewDFX::SysEventRule* rulePtr = rule.Unmarshalling(parcel2);
307 vector<SysEventRule> sysEventRules1;
310 vector<SysEventRule> sysEventRules2 = GetTestRules(1, "", "");
/ohos5.0/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_adapter_native_test.cpp300 …OHOS::HiviewDFX::SysEventRule sysEventRule("DOMAIN", "EVENT_NAME", "TAG", OHOS::HiviewDFX::RuleTyp…
304 OHOS::HiviewDFX::SysEventRule* sysEventRulePtr = sysEventRule.Unmarshalling(parcel2);