Home
last modified time | relevance | path

Searched refs:netPolicyRule_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/
H A Dnet_policy_service.cpp88 netPolicyRule_.reset(); in OnStop()
127 if (netPolicyRule_ == nullptr) { in SetPolicyByUid()
137 if (netPolicyRule_ == nullptr) { in GetPolicyByUid()
147 if (netPolicyRule_ == nullptr) { in GetUidsByPolicy()
161 if (netPolicyRule_ != nullptr) { in IsUidNetAllowed()
244 if (netPolicyRule_ == nullptr) { in SetBackgroundPolicy()
254 if (netPolicyRule_ == nullptr) { in GetBackgroundPolicy()
264 if (netPolicyRule_ == nullptr) { in GetBackgroundPolicyByUid()
388 if (netPolicyRule_ != nullptr) { in OnNetSysRestart()
443 if (netPolicyRule_ == nullptr) { in SetNetworkAccessPolicy()
[all …]
/ohos5.0/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dut_net_policy_service_common.cpp57 DelayedSingleton<NetPolicyService>::GetInstance()->netPolicyRule_ = nullptr;
H A Dut_net_policy_service.cpp52 instance_->netPolicyRule_ = std::make_shared<NetPolicyRule>(); in SetUp()
250 ASSERT_TRUE(instance_->netPolicyRule_ != nullptr);
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnet_policy_service.h283 std::shared_ptr<NetPolicyRule> netPolicyRule_ = nullptr; variable