Home
last modified time | relevance | path

Searched refs:NET_FIREWALL_RULE_DIR (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/src/context/
H A Dnet_firewall_param_check.cpp132 static_cast<NetFirewallRuleDirection>(NapiUtils::GetInt32Property(env, object, NET_FIREWALL_RULE_DIR)); in CheckFirewallDirection()
437 !NapiUtils::HasNamedProperty(env, object, NET_FIREWALL_RULE_DIR) || in CheckFirewallRule()
454 numberParam.emplace_back(NET_FIREWALL_RULE_DIR); in CheckFirewallRule()
581 if (propertyName == NET_FIREWALL_RULE_DIR) { in CheckRuleNumberParam()
H A Dnet_firewall_rule_parse.cpp124 static_cast<NetFirewallRuleDirection>(NapiUtils::GetInt32Property(env, object, NET_FIREWALL_RULE_DIR)); in ParseRuleParams()
202 NapiUtils::SetInt32Property(env, object, NET_FIREWALL_RULE_DIR, static_cast<int32_t>(rule.ruleDirection)); in SetRuleParams()
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Dnetfirewall_parcel.h50 const std::string NET_FIREWALL_RULE_DIR = "direction"; member
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnetfirewall_parcel.cpp334 NET_FIREWALL_RULE_DIR << EQUAL << int(this->ruleDirection) << COMMA << NET_FIREWALL_RULE_ACTION << EQUAL << in ToString()
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_default_rule_parser.cpp38 cJSON *ruleDirection = cJSON_GetObjectItem(mem, NET_FIREWALL_RULE_DIR.c_str()); in ConvertFirewallRuleToConfig()
H A Dnetfirewall_db_helper.cpp149 values.PutInt(NET_FIREWALL_RULE_DIR, static_cast<int32_t>(rule.ruleDirection)); in FillValuesOfFirewallRule()
322 if (columnName == NET_FIREWALL_RULE_DIR) { in GetResultSetTableInfo()

Completed in 6 milliseconds