Home
last modified time | relevance | path

Searched refs:ruleType (Results 1 – 20 of 20) sorted by relevance

/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
Dhisysevent_rules.h41 …const std::string& tag, RuleType ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0) : domain… in domain()
42 eventName(eventName), tag(tag), ruleType(ruleType), eventType(eventType) {} in domain()
44 RuleType ruleType = RuleType::WHOLE_WORD) : ListenerRule(domain, eventName, "", ruleType) {}
45 ListenerRule(const std::string& tag, RuleType ruleType = RuleType::WHOLE_WORD)
46 : ListenerRule("", "", tag, ruleType) {}
63 return ruleType; in GetRuleType()
74 RuleType ruleType; variable
81 … RuleType ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0, const std::string& cond = "")
82 …: domain(domain), eventList(eventList), ruleType(ruleType), eventType(eventType), condition(cond) … in domain()
95 return ruleType; in GetRuleType()
[all …]
Dhisysevent_manager_c.h76 int ruleType; member
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
Dsys_event_rule.h32 const std::string& tag, uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0)
33 … : domain(domain), eventName(eventName), tag(tag), ruleType(ruleType), eventType(eventType) {} in domain()
35 uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0)
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) {}
47 uint32_t ruleType = RuleType::WHOLE_WORD; variable
Dsys_event_query_rule.h33 … uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0, const std::string& cond = "")
34 … : domain(domain), eventList(events), ruleType(ruleType), eventType(eventType), condition(cond) {}; in domain()
42 uint32_t ruleType = RuleType::WHOLE_WORD; variable
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
Dsys_event_rule.h28 const std::string& tag, uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0)
29 … : domain(domain), eventName(eventName), tag(tag), ruleType(ruleType), eventType(eventType) {} in domain()
31 uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0)
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) {}
43 uint32_t ruleType = RuleType::WHOLE_WORD; variable
Dsys_event_query_rule.h30 … uint32_t ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0, const std::string& cond = "")
31 … : domain(domain), eventList(events), ruleType(ruleType), eventType(eventType), condition(cond) {}; in domain()
39 uint32_t ruleType = RuleType::WHOLE_WORD; variable
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dsys_event_query_rule.cpp25 if (!parcel.WriteUint32(ruleType)) { in Marshalling()
49 if (!parcel.ReadUint32(ret->ruleType)) { in Unmarshalling()
Dsys_event_rule.cpp31 if (!parcel.WriteUint32(ruleType)) { in Marshalling()
55 if (!parcel.ReadUint32(ret->ruleType)) { in Unmarshalling()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Dsys_event_rule.cpp31 if (!parcel.WriteUint32(ruleType)) { in Marshalling()
55 if (!parcel.ReadUint32(ret->ruleType)) { in Unmarshalling()
Dsys_event_query_rule.cpp25 if (!parcel.WriteUint32(ruleType)) { in Marshalling()
49 if (!parcel.ReadUint32(ret->ruleType)) { in Unmarshalling()
Drunning_status_log_util.cpp43 info.append(std::to_string(rule.ruleType)); in LogTooManyQueryRules()
63 info.append(std::to_string(rule.ruleType)); in LogTooManyWatchRules()
Dsys_event_service_ohos.cpp79 return MatchContent(rule.ruleType, rule.domain, domain) in IsMatchedRule()
80 && MatchContent(rule.ruleType, rule.eventName, eventName) in IsMatchedRule()
83 return MatchContent(rule.ruleType, rule.tag, tag) in IsMatchedRule()
95 rule.ruleType, rule.domain.empty() ? "empty" : rule.domain.c_str(), in MatchRules()
/base/hiviewdfx/hisysevent/test/unittest/common/permission/
Dhisysevent_permission.test.js120 ruleType: hiSysEvent.RuleType.WHOLE_WORD, property
145 ruleType: hiSysEvent.RuleType.WHOLE_WORD, property
/base/hiviewdfx/hisysevent/frameworks/native/
Dhisysevent_tool.cpp112 cmdArg.ruleType = GetRuleTypeFromArg(optarg); in InitOptHandlers()
241 clientCmdArg.tag, clientCmdArg.ruleType, clientCmdArg.eventType); in DoAction()
258 if (clientCmdArg.ruleType != RuleType::WHOLE_WORD) { in DoAction()
265 clientCmdArg.ruleType, clientCmdArg.eventType); in DoAction()
/base/hiviewdfx/hisysevent/frameworks/native/include/
Dhisysevent_tool.h34 RuleType ruleType; member
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_manager_c.cpp65 …stenerRules.emplace_back(rules[i].domain, rules[i].name, rules[i].tag, RuleType(rules[i].ruleType), in HiSysEventAddWatcher()
/base/hiviewdfx/hisysevent/test/unittest/common/napi/
Dnapi_hisysevent.test.js149 ruleType: hiSysEvent.RuleType.WHOLE_WORD, property
178 ruleType: hiSysEvent.RuleType.WHOLE_WORD, property
/base/hiviewdfx/hisysevent/frameworks/native/c_wrapper/source/
Dhisysevent_rust_manager.cpp93 RuleType(rules[i].ruleType), static_cast<uint32_t>(rules[i].eventType)); in HiSysEventAddWatcher()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp449 int32_t ruleType = GetInt32TypeAttribute(env, jsObj, RULE_TYPE_ATTR, RuleType::WHOLE_WORD); in ParseListenerRule() local
450 HiLog::Debug(LABEL, "ruleType is %{public}d.", ruleType); in ParseListenerRule()
453 return ListenerRule(domain, name, tag, RuleType(ruleType)); in ParseListenerRule()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
Dsys_event_service_ohos_test.cpp190 rule.ruleType = type; in GetTestRule()