Home
last modified time | relevance | path

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

/foundation/communication/netmanager_base/services/netpolicymanager/src/firewall_rule/
H A Dfirewall_rule.cpp40 netsys_ = DelayedSingleton<NetsysPolicyWrapper>::GetInstance(); in FirewallRule()
55 netsys_->FirewallSetUidRule(chainType_, uids, rule); in SetAllowedList()
90 netsys_->FirewallSetUidsAllowedListChain(chainType_, allowedList_); in SetAllowedList()
97 netsys_->FirewallSetUidsAllowedListChain(chainType_, allowedList_); in ClearAllowedList()
120 netsys_->FirewallSetUidRule(chainType_, {uid}, rule); in SetDeniedList()
136 netsys_->FirewallSetUidsDeniedListChain(chainType_, deniedList_); in SetDeniedList()
142 netsys_->FirewallSetUidsAllowedListChain(chainType_, deniedList_); in ClearDeniedList()
147 netsys_->FirewallSetUidRule(chainType_, {uid}, isAllowed ? FIREWALL_RULE_ALLOW : FIREWALL_RULE_DENY); in SetUidFirewallRule()
152 netsys_->FirewallEnableChain(chainType_, enable); in EnableFirewall()
163 netsys_ in RemoveFromAllowedList()
[all...]
/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dfirewall_rule.h155 std::shared_ptr<NetsysPolicyWrapper> netsys_ = nullptr; member in OHOS::NetManagerStandard::FirewallRule
H A Dnet_policy_rule.h43 uint32_t netsys_ = 7; member
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_rule.cpp128 if (policyRuleNetsys.netsys_ != netsys) { in TransConditionToRuleAndNetsys()
130 policyRuleNetsys.netsys_ = netsys; in TransConditionToRuleAndNetsys()
462 "NetSys: " + std::to_string(pair.second.netsys_) + "\n"); in GetDumpMessage()
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dut_firewall_rule.cpp71 EXPECT_NE(rule.netsys_, nullptr); in HWTEST_F()
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dut_firewall_rule.cpp71 EXPECT_NE(rule.netsys_, nullptr); in HWTEST_F()

Completed in 3 milliseconds