/ohos5.0/base/hiviewdfx/hisysevent/adapter/native/idl/include/ |
H A D | sys_event_rule.h | 28 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) {} 37 …SysEventRule(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 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>& callbac…
|
H A D | hisysevent_delegate.h | 56 std::vector<SysEventRule>& sysRules) const;
|
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
H A D | sys_event_rule.h | 24 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) {} 33 …SysEventRule(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 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 | 41 using SysEventRuleGroupOhos = std::vector<OHOS::HiviewDFX::SysEventRule>;
|
/ohos5.0/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()
|
/ohos5.0/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_stub.cpp | 30 std::vector<SysEventRule> rules; in HandleAddSysEventListener()
|
H A D | sys_event_service_ohos.cpp | 89 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 D | sys_event_service_ohos_test.cpp | 78 …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 D | hisysevent_adapter_native_test.cpp | 300 …OHOS::HiviewDFX::SysEventRule sysEventRule("DOMAIN", "EVENT_NAME", "TAG", OHOS::HiviewDFX::RuleTyp… 304 OHOS::HiviewDFX::SysEventRule* sysEventRulePtr = sysEventRule.Unmarshalling(parcel2);
|