Searched refs:netsys_ (Results 1 - 6 of 6) sorted by relevance
/foundation/communication/netmanager_base/services/netpolicymanager/src/firewall_rule/ |
H A D | firewall_rule.cpp | 40 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 D | firewall_rule.h | 155 std::shared_ptr<NetsysPolicyWrapper> netsys_ = nullptr; member in OHOS::NetManagerStandard::FirewallRule
|
H A D | net_policy_rule.h | 43 uint32_t netsys_ = 7; member
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
H A D | net_policy_rule.cpp | 128 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 D | ut_firewall_rule.cpp | 71 EXPECT_NE(rule.netsys_, nullptr); in HWTEST_F()
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/ |
H A D | ut_firewall_rule.cpp | 71 EXPECT_NE(rule.netsys_, nullptr); in HWTEST_F()
|
Completed in 3 milliseconds