Home
last modified time | relevance | path

Searched refs:rule (Results 1 - 25 of 85) sorted by relevance

1234

/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/executer/
H A Dexecuter_utils_test.cpp60 std::string rule = "-t filter -N edm_unit_test_output"; in HWTEST_F() local
62 ErrCode ret = executerUtils->Execute(rule, result); in HWTEST_F()
65 rule = "-t filter -I OUTPUT -j edm_unit_test_output"; in HWTEST_F()
66 ret = executerUtils->Execute(rule, result); in HWTEST_F()
69 rule = "-t filter -F edm_unit_test_output"; in HWTEST_F()
70 ret = executerUtils->Execute(rule, result); in HWTEST_F()
73 rule = "-t filter -n -v -L edm_unit_test_output --line-number"; in HWTEST_F()
74 ret = executerUtils->Execute(rule, result); in HWTEST_F()
85 rule = "-t filter -D OUTPUT -j edm_unit_test_output"; in HWTEST_F()
86 ret = executerUtils->Execute(rule, resul in HWTEST_F()
[all...]
H A Diexecuter_test.cpp110 std::shared_ptr<ChainRule> rule = std::make_shared<DomainChainRule>(domainFilterRule); in HWTEST_F() local
112 EXPECT_TRUE(executer->Add(rule) == ERR_OK); in HWTEST_F()
115 EXPECT_FALSE(executer->Add(rule) == ERR_OK); in HWTEST_F()
118 rule = std::make_shared<DomainChainRule>(domainFilterRule); in HWTEST_F()
123 EXPECT_TRUE(executer->Add(rule) == ERR_OK); in HWTEST_F()
142 std::shared_ptr<ChainRule> rule = std::make_shared<DomainChainRule>(domainFilterRule); in HWTEST_F() local
144 EXPECT_TRUE(executer->Remove(rule) == ERR_OK); in HWTEST_F()
147 EXPECT_FALSE(executer->Remove(rule) == ERR_OK); in HWTEST_F()
150 rule = std::make_shared<DomainChainRule>(domainFilterRule); in HWTEST_F()
155 EXPECT_TRUE(executer->Remove(rule) in HWTEST_F()
196 std::shared_ptr<ChainRule> rule = std::make_shared<DomainChainRule>(domainFilterRule); HWTEST_F() local
[all...]
H A Dexecuter_utils_mock.cpp25 ErrCode PrintExecRule(const std::string &rule, std::string &result) in PrintExecRule() argument
27 EDMLOGI("PrintExecRule %{public}s", rule.c_str()); in PrintExecRule()
/base/hiviewdfx/hichecker/frameworks/native/
H A Dhichecker.cpp49 void HiChecker::AddRule(uint64_t rule) in AddRule() argument
52 if (!CheckRule(rule)) { in AddRule()
55 if ((Rule::RULE_CHECK_SLOW_EVENT & rule)) { in AddRule()
58 threadLocalRules_ |= (Rule::ALL_THREAD_RULES | Rule::ALL_CAUTION_RULES) & rule; in AddRule()
59 processRules_ |= (Rule::ALL_PROCESS_RULES | Rule::ALL_CAUTION_RULES) & rule; in AddRule()
62 void HiChecker::RemoveRule(uint64_t rule) in RemoveRule() argument
65 if (!CheckRule(rule)) { in RemoveRule()
68 if ((Rule::RULE_CHECK_SLOW_EVENT & rule)) { in RemoveRule()
71 threadLocalRules_ ^= threadLocalRules_ & rule; in RemoveRule()
72 processRules_ ^= processRules_ & rule; in RemoveRule()
81 Contains(uint64_t rule) Contains() argument
122 NotifyCaution(uint64_t rule, const std::string& tag, Caution& caution) NotifyCaution() argument
219 CheckRule(uint64_t rule) CheckRule() argument
248 uint64_t rule = strtoull(paramOutBuf, &endPtr, BASE_TAG); InitHicheckerParam() local
[all...]
/base/hiviewdfx/hichecker/interfaces/js/kits/napi/src/
H A Dnapi_hichecker.cpp39 uint64_t rule = GetRuleParam(env, info); in AddRule() local
40 if (rule != GET_RULE_PARAM_FAIL) { in AddRule()
41 HiChecker::AddRule(rule); in AddRule()
48 uint64_t rule = GetRuleParam(env, info); in RemoveRule() local
49 if (rule != GET_RULE_PARAM_FAIL) { in RemoveRule()
50 HiChecker::RemoveRule(rule); in RemoveRule()
57 uint64_t rule = HiChecker::GetRule(); in GetRule() local
58 return ToUInt64Value(env, rule); in GetRule()
63 uint64_t rule = GetRuleParam(env, info); in Contains() local
65 napi_get_boolean(env, HiChecker::Contains(rule), in Contains()
71 uint64_t rule = GetRuleParam(env, info); AddCheckRule() local
82 uint64_t rule = GetRuleParam(env, info); RemoveCheckRule() local
94 uint64_t rule = GetRuleParam(env, info); ContainsCheckRule() local
176 uint64_t rule = GET_RULE_PARAM_FAIL; GetRuleParam() local
[all...]
/base/global/i18n_lite/frameworks/i18n/src/
H A Dplural_format_impl.cpp163 bool PluralFormatImpl::ParseDecimalRule(const std::string &rule, const int ruleSize, const int *numberInfo, in ParseDecimalRule() argument
168 bool curResult = ParseDecimalFormula(rule, ruleSize, i, numberInfo, numberInfoSize); in ParseDecimalRule()
172 if ((nextSymbolIndex < ruleSize) && (rule[nextSymbolIndex] == OR)) { in ParseDecimalRule()
176 } else if ((nextSymbolIndex < ruleSize) && (rule[nextSymbolIndex] == AND)) { in ParseDecimalRule()
186 if ((nextSymbolIndex < ruleSize) && (rule[nextSymbolIndex] == OR)) { in ParseDecimalRule()
191 } else if ((nextSymbolIndex < ruleSize) && (rule[nextSymbolIndex] == AND)) { in ParseDecimalRule()
195 !ParseDecimalFormula(rule, ruleSize, i, numberInfo, numberInfoSize)) { in ParseDecimalRule()
203 bool PluralFormatImpl::ParseDecimalFormula(const std::string &rule, const int ruleSize, int &index, in ParseDecimalFormula() argument
207 if ((index < ruleSize) && (rule[index] == NUM_OF_FRACTION)) { in ParseDecimalFormula()
210 ((rule[inde in ParseDecimalFormula()
246 ParseRule(const std::string &rule, const int ruleSize, const int number) const ParseRule() argument
284 ParseFormula(const std::string &rule, const int ruleSize, int &index, const int number) const ParseFormula() argument
304 CompareResult(const std::string &rule, const int ruleSize, int &index, const int number) const CompareResult() argument
339 CompareNotEqualResult(const std::string &rule, const int ruleSize, int &index, const int number) const CompareNotEqualResult() argument
375 ParseNumber(const std::string &rule, const int ruleSize, int &index) const ParseNumber() argument
[all...]
/base/telephony/core_service/frameworks/native/src/
H A Ddownloadable_profile_parcel.cpp40 for (auto &rule : accessRules_) { in ReadFromParcel()
41 if (!parcel.ReadString16(rule.certificateHashHexStr_) || !parcel.ReadString16(rule.packageName_) || in ReadFromParcel()
42 !parcel.ReadInt32(rule.accessType_)) { in ReadFromParcel()
56 for (auto const &rule : accessRules_) { in Marshalling()
57 if (!parcel.WriteString16(rule.certificateHashHexStr_) || !parcel.WriteString16(rule.packageName_) || in Marshalling()
58 !parcel.WriteInt32(rule.accessType_)) { in Marshalling()
H A Dget_downloadable_profiles_result_parcel.cpp58 for (auto &rule : profile.accessRules_) { in ReadFromParcel()
59 if (!parcel.ReadString16(rule.certificateHashHexStr_) || in ReadFromParcel()
60 !parcel.ReadString16(rule.packageName_) || in ReadFromParcel()
61 !parcel.ReadInt32(rule.accessType_)) { in ReadFromParcel()
84 for (auto const &rule : profile.accessRules_) { in Marshalling()
85 if (!parcel.WriteString16(rule.certificateHashHexStr_) || in Marshalling()
86 !parcel.WriteString16(rule.packageName_) || in Marshalling()
87 !parcel.WriteInt32(rule.accessType_)) { in Marshalling()
H A Dprofile_metadata_result_parcel.cpp40 for (auto &rule : downloadableProfiles_.accessRules_) { in ReadFromParcel()
41 if (!parcel.ReadString16(rule.certificateHashHexStr_) || in ReadFromParcel()
42 !parcel.ReadString16(rule.packageName_) || in ReadFromParcel()
43 !parcel.ReadInt32(rule.accessType_)) { in ReadFromParcel()
68 for (auto const &rule : downloadableProfiles_.accessRules_) { in Marshalling()
69 if (!parcel.WriteString16(rule.certificateHashHexStr_) || in Marshalling()
70 !parcel.WriteString16(rule.packageName_) || in Marshalling()
71 !parcel.WriteInt32(rule.accessType_)) { in Marshalling()
H A Dprofile_info_list_parcel.cpp49 for (auto &rule : profile.accessRules_) { in ReadProfileFromParcel()
50 if (!parcel.ReadString16(rule.certificateHashHexStr_) || in ReadProfileFromParcel()
51 !parcel.ReadString16(rule.packageName_) || !parcel.ReadInt32(rule.accessType_)) { in ReadProfileFromParcel()
107 for (auto const &rule : profile.accessRules_) { in Marshalling()
108 if (!parcel.WriteString16(rule.certificateHashHexStr_) || in Marshalling()
109 !parcel.WriteString16(rule.packageName_) || in Marshalling()
110 !parcel.WriteInt32(rule.accessType_)) { in Marshalling()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Dsys_event_service_ohos.cpp54 bool IsMatchedWithRegex(const string& rule, const string& match) in IsMatchedWithRegex() argument
56 if (rule.empty()) { in IsMatchedWithRegex()
59 if ((rule.length() > REGEX_LEN_LIMIT) || !StringUtil::IsValidRegex(rule)) { in IsMatchedWithRegex()
63 const regex pattern(rule); in IsMatchedWithRegex()
67 bool MatchContent(int type, const string& rule, const string& match) in MatchContent() argument
74 return rule.empty() || match.compare(rule) == 0; in MatchContent()
76 return rule.empty() || match.find(rule) in MatchContent()
85 MatchEventType(int rule, int match) MatchEventType() argument
90 IsMatchedRule(const OHOS::HiviewDFX::SysEventRule& rule, const string& domain, const string& eventName, const string& tag, uint32_t eventType) IsMatchedRule() argument
[all...]
H A Drunning_status_log_util.cpp32 for (auto& rule : rules) { in LogTooManyQueryRules()
34 info.append(rule.domain).append(RULE_ITEM_CONCAT); in LogTooManyQueryRules()
35 if (!rule.eventList.empty()) { in LogTooManyQueryRules()
37 for (auto& eventName : rule.eventList) { in LogTooManyQueryRules()
43 info.append(std::to_string(rule.ruleType)); in LogTooManyQueryRules()
56 for (auto& rule : rules) { in LogTooManyWatchRules()
58 info.append(rule.domain).append(RULE_ITEM_CONCAT); in LogTooManyWatchRules()
59 info.append(rule.eventName).append(RULE_ITEM_CONCAT); in LogTooManyWatchRules()
60 if (!rule.tag.empty()) { in LogTooManyWatchRules()
61 info.append(rule in LogTooManyWatchRules()
[all...]
/base/customization/enterprise_device_management/services/edm_plugin/src/network/
H A Diptables_manager.cpp54 auto rule = firewall.GetRule(); in AddFirewallRule() local
56 Direction direction = std::get<FIREWALL_DICECTION_IND>(rule); in AddFirewallRule()
57 if (direction == Direction::INPUT && !std::get<FIREWALL_APPUID_IND>(rule).empty()) { in AddFirewallRule()
61 if (std::get<FIREWALL_PROT_IND>(rule) == Protocol::ALL && in AddFirewallRule()
62 !std::get<FIREWALL_SRCPORT_IND>(rule).empty() && !std::get<FIREWALL_DESTPORT_IND>(rule).empty()) { in AddFirewallRule()
67 Action action = std::get<FIREWALL_ACTION_IND>(rule); in AddFirewallRule()
89 auto chainRule = std::make_shared<FirewallChainRule>(rule); in AddFirewallRule()
95 auto rule = firewall.GetRule(); in RemoveFirewallRule() local
96 Direction direction = std::get<FIREWALL_DICECTION_IND>(rule); in RemoveFirewallRule()
186 auto rule = DomainFilter.GetRule(); AddDomainFilterRule() local
223 auto rule = DomainFilter.GetRule(); RemoveDomainFilterRules() local
[all...]
/base/hiviewdfx/hichecker/interfaces/native/innerkits/include/
H A Dhichecker.h46 bool CautionEnable(uint64_t rule) const in CautionEnable()
48 return rule == (rules_ & rule); in CautionEnable()
63 static void NotifyCaution(uint64_t rule, const std::string& tag, Caution& caution);
66 static void AddRule(uint64_t rule);
67 static void RemoveRule(uint64_t rule);
69 static bool Contains(uint64_t rule);
79 static bool CheckRule(uint64_t rule);
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/rule/
H A Dchain_rule_test.cpp35 explicit ChainRuleMock(const std::string& rule) : ChainRule(rule) {} in ChainRuleMock() argument
52 std::string rule = in HWTEST_F() local
56 std::shared_ptr<ChainRule> chainRule = std::make_shared<ChainRuleMock>(rule); in HWTEST_F()
60 rule = in HWTEST_F()
63 chainRule = std::make_shared<ChainRuleMock>(rule); in HWTEST_F()
76 std::string rule; in HWTEST_F() local
77 std::shared_ptr<ChainRule> chainRule = std::make_shared<ChainRuleMock>(rule); in HWTEST_F()
107 std::string rule; in HWTEST_F() local
108 std::shared_ptr<ChainRule> chainRule = std::make_shared<ChainRuleMock>(rule); in HWTEST_F()
[all...]
/base/customization/enterprise_device_management/services/edm_plugin/src/network/executer/
H A Diexecuter.cpp54 ErrCode IExecuter::Add(const std::shared_ptr<ChainRule>& rule) in Add() argument
56 if (rule == nullptr) { in Add()
63 return ExecWithOption(oss, rule); in Add()
66 ErrCode IExecuter::Remove(const std::shared_ptr<ChainRule>& rule) in Remove() argument
70 if (rule == nullptr || rule->Parameter().empty()) { in Remove()
74 return ExecWithOption(oss, rule); in Remove()
80 ErrCode IExecuter::ExecWithOption(std::ostringstream& oss, const std::shared_ptr<ChainRule>& rule) in ExecWithOption() argument
82 oss << rule->Parameter(); in ExecWithOption()
85 std::string ruleTarget = rule in ExecWithOption()
[all...]
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
H A Dfeature_analysis.cpp137 bool FeatureAnalysis::IsSourceMatch(const string& line, const FeatureRule& rule) const in IsSourceMatch()
139 string cmdSrc = rule.source; in IsSourceMatch()
187 bool FeatureAnalysis::ParseElementForParam(const string& src, FeatureRule& rule) in ParseElementForParam() argument
189 if (rule.param.empty()) { in ParseElementForParam()
190 return true; // if param is empty, erase the rule in ParseElementForParam()
194 for (auto iter = rule.param.begin(); iter != rule.param.end();) { in ParseElementForParam()
202 SetParamRecord(rule.name + "." + iter->first, FormatLineFeature(value, reg), seekType); in ParseElementForParam()
203 SetStackRegex(rule.name + "." + iter->first, reg); in ParseElementForParam()
204 if (seekType == FIRST_MATCH && rule in ParseElementForParam()
245 CheckVariable(const FeatureRule& rule, const string& leftTag, const string& rightTag) const CheckVariable() argument
260 ReplaceVariable(FeatureRule& rule, const string& symbol, const string& value) const ReplaceVariable() argument
[all...]
/base/hiviewdfx/hiview/utility/smart_parser/
H A Dsmart_parser.cpp20 #include "rule.h"
37 Rule rule(eventPath, config, eventType); in Analysis()
38 rule.ParseRule(); in Analysis()
39 auto featureSets = rule.GetExtractRule(); in Analysis()
40 auto composeRules = rule.GetComposeRule(); in Analysis()
41 auto segStatusCfg = rule.GetSegStatusCfg(); in Analysis()
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
H A Dhisysevent_delegate.cpp198 for_each(rules.cbegin(), rules.cend(), [&sysRules](const ListenerRule& rule) { in ConvertListenerRule()
199 if (rule.GetTag().empty()) { in ConvertListenerRule()
200 sysRules.emplace_back(rule.GetDomain(), rule.GetEventName(), rule.GetRuleType(), rule.GetEventType()); in ConvertListenerRule()
202 sysRules.emplace_back(rule.GetTag(), rule.GetRuleType(), rule.GetEventType()); in ConvertListenerRule()
210 for_each(rules.cbegin(), rules.cend(), [&sysRules](const QueryRule &rule) { in ConvertQueryRule()
[all...]
/base/global/i18n_lite/frameworks/i18n/include/
H A Dplural_format_impl.h39 bool ParseRule(const std::string &rule, const int ruleSize, const int number) const;
40 bool ParseFormula(const std::string &rule, const int ruleSize, int &index, const int number) const;
41 bool CompareResult(const std::string &rule, const int ruleSize, int &index, const int number) const;
42 bool CompareNotEqualResult(const std::string &rule, const int ruleSize, int &index, const int number) const;
43 int ParseNumber(const std::string &rule, const int ruleSize, int &index) const;
44 bool ParseDecimalRule(const std::string &rule, const int ruleSize, const int *numberInfo,
46 bool ParseDecimalFormula(const std::string &rule, const int ruleSize, int &index, const int *numberInfo,
/base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/
H A Dhisysevent_c_wrapper_test.cpp63 HiSysEventWatchRule rule; in CreateWatchRule() local
64 if (memcpy_s(rule.domain, MAX_LENGTH_OF_EVENT_DOMAIN, domain.c_str(), domain.length() + EXT_BYTE_CNT) != EOK || in CreateWatchRule()
65 memcpy_s(rule.name, MAX_LENGTH_OF_EVENT_NAME, name.c_str(), name.length() + EXT_BYTE_CNT) != EOK || in CreateWatchRule()
66 memcpy_s(rule.tag, MAX_LENGTH_OF_EVENT_TAG, tag.c_str(), tag.length() + EXT_BYTE_CNT) != EOK) { in CreateWatchRule()
67 return rule; in CreateWatchRule()
69 rule.ruleType = 1; // 1 means whole_word in CreateWatchRule()
70 rule.eventType = 1; // 1 means event type is fault in CreateWatchRule()
71 return rule; in CreateWatchRule()
77 HiSysEventQueryRuleWrapper rule; in CreateQueryRule() local
78 if (memcpy_s(rule in CreateQueryRule()
[all...]
/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_manager_c_test.cpp60 void InitQueryRule(HiSysEventQueryRule& rule) in InitQueryRule() argument
62 (void)StringUtil::CopyCString(rule.domain, TEST_DOMAIN, MAX_LEN_OF_DOMAIN); in InitQueryRule()
63 (void)StringUtil::CopyCString(rule.eventList[0], TEST_NAME, MAX_LEN_OF_NAME); in InitQueryRule()
64 rule.eventListSize = 1; in InitQueryRule()
65 rule.condition = nullptr; in InitQueryRule()
68 void InitQueryRuleWithCondition(HiSysEventQueryRule& rule, const std::string& cond) in InitQueryRuleWithCondition() argument
70 (void)StringUtil::CopyCString(rule.domain, TEST_DOMAIN, MAX_LEN_OF_DOMAIN); in InitQueryRuleWithCondition()
71 (void)StringUtil::CopyCString(rule.eventList[0], TEST_NAME, MAX_LEN_OF_NAME); in InitQueryRuleWithCondition()
72 rule.eventListSize = 1; in InitQueryRuleWithCondition()
73 (void)StringUtil::CreateCString(&rule in InitQueryRuleWithCondition()
148 HiSysEventQueryRule rule; QueryTestWithCondition() local
373 HiSysEventQueryRule rule; HWTEST_F() local
681 HiSysEventQueryRule rule; HWTEST_F() local
710 HiSysEventQueryRule rule; HWTEST_F() local
739 HiSysEventQueryRule rule; HWTEST_F() local
772 HiSysEventQueryRule rule; HWTEST_F() local
805 HiSysEventQueryRule rule; HWTEST_F() local
838 HiSysEventQueryRule rule; HWTEST_F() local
877 HiSysEventQueryRule rule; HWTEST_F() local
1172 HiSysEventWatchRule rule = {"HIVIEWDFX", "PLUGIN_LOAD", "", 1, 0}; HWTEST_F() local
1217 HiSysEventWatchRule rule = {"HIVIEWDFX", "PLUGIN_LOAD", "", 1, 0}; HWTEST_F() local
1249 HiSysEventWatchRule rule = {"HIVIEWDFX", "PLUGIN_LOAD", "", 1, 0}; HWTEST_F() local
[all...]
/base/customization/enterprise_device_management/interfaces/inner_api/network_manager/include/
H A Dnetwork_manager_proxy.h45 int32_t AddFirewallRule(const AppExecFwk::ElementName &admin, const IPTABLES::FirewallRule &rule);
46 int32_t RemoveFirewallRule(const AppExecFwk::ElementName &admin, const IPTABLES::FirewallRule &rule);
48 int32_t AddDomainFilterRule(const AppExecFwk::ElementName &admin, const IPTABLES::DomainFilterRule &rule);
49 int32_t RemoveDomainFilterRule(const AppExecFwk::ElementName &admin, const IPTABLES::DomainFilterRule &rule);
50 int32_t GetDomainFilterRules(const AppExecFwk::ElementName &admin, std::vector<IPTABLES::DomainFilterRule> &rule);
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/
H A Dfirewall_rule_plugin_test.cpp112 IPTABLES::FirewallRule rule{IPTABLES::Direction::INPUT, IPTABLES::Action::DENY, IPTABLES::Protocol::UDP, in HWTEST_F()
114 IPTABLES::FirewallRuleParcel ruleParcel{rule}; in HWTEST_F()
129 IPTABLES::FirewallRule rule{IPTABLES::Direction::INPUT, IPTABLES::Action::DENY, IPTABLES::Protocol::UDP, in HWTEST_F()
131 IPTABLES::FirewallRuleParcel ruleParcel{rule}; in HWTEST_F()
146 IPTABLES::FirewallRule rule{IPTABLES::Direction::INPUT, IPTABLES::Action::DENY, IPTABLES::Protocol::UDP, in HWTEST_F()
148 IPTABLES::FirewallRuleParcel ruleParcel{rule}; in HWTEST_F()
163 IPTABLES::FirewallRule rule{IPTABLES::Direction::INPUT, IPTABLES::Action::DENY, IPTABLES::Protocol::UDP, in HWTEST_F()
165 IPTABLES::FirewallRuleParcel ruleParcel{rule}; in HWTEST_F()
178 IPTABLES::FirewallRule rule{IPTABLES::Direction::INVALID, IPTABLES::Action::INVALID, IPTABLES::Protocol::UDP, in HWTEST_F()
180 IPTABLES::FirewallRuleParcel ruleParcel{rule}; in HWTEST_F()
[all...]
H A Ddomain_filter_rule_plugin_test.cpp112 IPTABLES::DomainFilterRule rule{IPTABLES::Action::ALLOW, "1000", "www.example.com"}; in HWTEST_F()
113 IPTABLES::DomainFilterRuleParcel ruleParcel{rule}; in HWTEST_F()
127 IPTABLES::DomainFilterRule rule{IPTABLES::Action::ALLOW, "1000", "www.example.com"}; in HWTEST_F()
128 IPTABLES::DomainFilterRuleParcel ruleParcel{rule}; in HWTEST_F()
143 IPTABLES::DomainFilterRule rule{IPTABLES::Action::ALLOW, "1000", "www.example.com"}; in HWTEST_F()
144 IPTABLES::DomainFilterRuleParcel ruleParcel{rule}; in HWTEST_F()
159 IPTABLES::DomainFilterRule rule{IPTABLES::Action::ALLOW, "1000", "www.example.com"}; in HWTEST_F()
160 IPTABLES::DomainFilterRuleParcel ruleParcel{rule}; in HWTEST_F()
175 IPTABLES::DomainFilterRule rule{IPTABLES::Action::ALLOW, "1000", "www.example.com"}; in HWTEST_F()
176 IPTABLES::DomainFilterRuleParcel ruleParcel{rule}; in HWTEST_F()
[all...]

Completed in 10 milliseconds

1234