Home
last modified time | relevance | path

Searched refs:NetPolicyRule (Results 1 - 13 of 13) sorted by relevance

/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_rule.cpp23 NetPolicyRule::NetPolicyRule() = default;
25 void NetPolicyRule::Init() in Init()
39 void NetPolicyRule::TransPolicyToRule() in TransPolicyToRule()
47 void NetPolicyRule::TransPolicyToRule(uint32_t uid) in TransPolicyToRule()
61 int32_t NetPolicyRule::TransPolicyToRule(uint32_t uid, uint32_t policy) in TransPolicyToRule()
88 uint32_t NetPolicyRule::BuildTransCondition(uint32_t uid, uint32_t policy) in BuildTransCondition()
118 void NetPolicyRule::TransConditionToRuleAndNetsys(uint32_t policyCondition, uint32_t uid, uint32_t policy) in TransConditionToRuleAndNetsys()
123 NETMGR_LOG_D("NetPolicyRule->uid:[%{public}u] policy:[%{public}u] rule:[%{public}u] policyCondition[%{public}u]", in TransConditionToRuleAndNetsys()
146 uint32_t NetPolicyRule
[all...]
/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnet_policy_rule.h46 class NetPolicyRule : public NetPolicyBase { class
48 NetPolicyRule();
H A Dnet_policy_service.h284 std::shared_ptr<NetPolicyRule> netPolicyRule_ = nullptr;
/foundation/communication/netmanager_base/test/fuzztest/netbasebranch_fuzzer/
H A Dnet_base_branch_fuzzer.cpp123 std::shared_ptr<NetPolicyRule> netPolicyRule = std::make_shared<NetPolicyRule>(); in NetPolicyRuleBranchFuzzTest()
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dut_net_policy_callback.cpp58 std::shared_ptr<NetPolicyRule> g_netPolicyRuleCb = nullptr;
120 g_netPolicyRuleCb = std::make_shared<NetPolicyRule>(); in SetUpTestCase()
H A Dut_net_policy_rule.cpp39 std::shared_ptr<NetPolicyRule> g_netPolicyRule = nullptr;
54 g_netPolicyRule = std::make_shared<NetPolicyRule>(); in SetUpTestCase()
79 * @tc.desc: Test NetPolicyRule TransPolicyToRule.
90 * @tc.desc: Test NetPolicyRule IsUidNetAllowed.
104 * @tc.desc: Test NetPolicyRule GetPolicyByUid.
118 * @tc.desc: Test NetPolicyRule GetUidsByPolicy.
168 * @tc.desc: Test NetPolicyRule ResetPolicies.
192 * @tc.desc: Test NetPolicyRule SetBackgroundPolicy.
206 * @tc.desc: Test NetPolicyRule GetBackgroundPolicy.
238 * @tc.desc: Test NetPolicyRule HandleEven
[all...]
H A Dut_net_policy_core.cpp79 auto netPolicyRule = g_netPolicyCore->CreateCore<NetPolicyRule>(); in HWTEST_F()
H A Dut_net_policy_service.cpp52 instance_->netPolicyRule_ = std::make_shared<NetPolicyRule>(); in SetUp()
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dut_net_policy_callback.cpp58 std::shared_ptr<NetPolicyRule> g_netPolicyRuleCb = nullptr;
120 g_netPolicyRuleCb = std::make_shared<NetPolicyRule>(); in SetUpTestCase()
H A Dut_net_policy_core.cpp79 auto netPolicyRule = g_netPolicyCore->CreateCore<NetPolicyRule>(); in HWTEST_F()
H A Dut_net_policy_service.cpp52 instance_->netPolicyRule_ = std::make_shared<NetPolicyRule>(); in SetUp()
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_service_test/
H A Dnet_policy_service_test.cpp53 instance_->netPolicyRule_ = std::make_shared<NetPolicyRule>(); in SetUp()
/foundation/communication/netmanager_base/services/netpolicymanager/src/
H A Dnet_policy_service.cpp114 netPolicyRule_ = netPolicyCore_->CreateCore<NetPolicyRule>(); in Init()

Completed in 8 milliseconds