/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/common/ |
H A D | net_policy_service_common.cpp | 27 bool NetPolicyServiceCommon::IsUidNetAllowed(uint32_t uid, bool metered) in IsUidNetAllowed() function in OHOS::NetManagerStandard::NetPolicyServiceCommon 30 DelayedSingleton<NetPolicyService>::GetInstance()->IsUidNetAllowed(uid, metered, isAllowed); in IsUidNetAllowed()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/ |
H A D | net_policy_client.cpp | 64 int32_t NetPolicyClient::IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) in IsUidNetAllowed() function in OHOS::NetManagerStandard::NetPolicyClient 71 return proxy->IsUidNetAllowed(uid, metered, isAllowed); in IsUidNetAllowed() 74 int32_t NetPolicyClient::IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowe… in IsUidNetAllowed() function in OHOS::NetManagerStandard::NetPolicyClient 82 return proxy->IsUidNetAllowed(uid, ifaceName, isAllowed); in IsUidNetAllowed() 87 return IsUidNetAllowed(uid, isMetered, isAllowed); in IsUidNetAccess() 92 return IsUidNetAllowed(uid, ifaceName, isAllowed); in IsUidNetAccess()
|
H A D | net_policy_service_proxy.cpp | 148 int32_t NetPolicyServiceProxy::IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) in IsUidNetAllowed() function in OHOS::NetManagerStandard::NetPolicyServiceProxy 188 int32_t NetPolicyServiceProxy::IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &is… in IsUidNetAllowed() function in OHOS::NetManagerStandard::NetPolicyServiceProxy
|
/ohos5.0/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/ |
H A D | net_policy_exception_service_test.cpp | 48 HWTEST_F(NetPolicyExceptionServiceUt, IsUidNetAllowed, TestSize.Level1) 53 …int32_t ret = DelayedSingleton<NetPolicyService>::GetInstance()->IsUidNetAllowed(uit, metered, isA…
|
H A D | ut_net_policy_service_common.cpp | 67 auto ret = instance_->IsUidNetAllowed(uid, metered);
|
H A D | ut_net_policy_service.cpp | 95 int32_t ret = instance_->IsUidNetAllowed(uid, policy, isAllowed); 109 int32_t ret = instance_->IsUidNetAllowed(uid, ifaceName, isAllowed);
|
H A D | net_policy_service_stub_test.cpp | 51 int32_t IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) override in IsUidNetAllowed() function in OHOS::NetManagerStandard::__anon5c6b02c70110::MockNetPolicyServiceStubTest 56 int32_t IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowed) override in IsUidNetAllowed() function in OHOS::NetManagerStandard::__anon5c6b02c70110::MockNetPolicyServiceStubTest
|
H A D | ut_net_policy_client.cpp | 143 int32_t ret = g_netPolicyClient->IsUidNetAllowed(TEST_UID, false, isAllowed); 159 int32_t ret = g_netPolicyClient->IsUidNetAllowed(TEST_UID, ifaceName, isAllowed);
|
H A D | ut_net_policy_rule.cpp | 98 g_netPolicyRule->IsUidNetAllowed(15000, false, isAllowed);
|
/ohos5.0/foundation/communication/netmanager_base/services/common/src/ |
H A D | net_manager_center.cpp | 174 return IsUidNetAllowed(uid, metered); in IsUidNetAccess() 177 bool NetManagerCenter::IsUidNetAllowed(uint32_t uid, bool metered) in IsUidNetAllowed() function in OHOS::NetManagerStandard::NetManagerCenter 182 return policyService_->IsUidNetAllowed(uid, metered); in IsUidNetAllowed()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netpolicyclient/include/ |
H A D | i_net_policy_service.h | 73 virtual int32_t IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) = 0; 84 … virtual int32_t IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowed) = 0;
|
H A D | net_policy_service_proxy.h | 34 int32_t IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) override; 35 int32_t IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowed) override;
|
H A D | net_policy_client.h | 77 [[nodiscard]] int32_t IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed); 89 …[[nodiscard]] int32_t IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowed);
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/ |
H A D | net_policy_service.cpp | 154 int32_t NetPolicyService::IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) in IsUidNetAllowed() function in OHOS::NetManagerStandard::NetPolicyService 162 return netPolicyRule_->IsUidNetAllowed(uid, metered, isAllowed); in IsUidNetAllowed() 167 int32_t NetPolicyService::IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllow… in IsUidNetAllowed() function in OHOS::NetManagerStandard::NetPolicyService 172 return IsUidNetAllowed(uid, true, isAllowed); in IsUidNetAllowed() 174 return IsUidNetAllowed(uid, false, isAllowed); in IsUidNetAllowed()
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/include/ |
H A D | net_policy_service_common.h | 39 bool IsUidNetAllowed(uint32_t uid, bool metered) override;
|
H A D | net_policy_service.h | 88 int32_t IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) override; 98 int32_t IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowed) override;
|
H A D | net_policy_rule.h | 74 int32_t IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed);
|
/ohos5.0/foundation/communication/netmanager_base/services/common/include/ |
H A D | net_policy_base_service.h | 25 virtual bool IsUidNetAllowed(uint32_t uid, bool metered) = 0;
|
H A D | net_manager_center.h | 59 bool IsUidNetAllowed(uint32_t uid, bool metered);
|
/ohos5.0/foundation/communication/netmanager_base/test/netcommon/unittest/net_common_test/ |
H A D | net_manager_center_test.cpp | 101 inline bool IsUidNetAllowed(uint32_t uid, bool metered) override in IsUidNetAllowed() function in OHOS::NetManagerStandard::__anonf47712420110::TestNetPolicyService 462 bool ret = instance_.IsUidNetAllowed(0, true); 468 bool ret = instance_.IsUidNetAllowed(0, false);
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/ |
H A D | netpolicy_module.cpp | 164 napi_value IsUidNetAllowed(napi_env env, napi_callback_info info) in IsUidNetAllowed() function 339 DECLARE_NAPI_FUNCTION(FUNCTION_IS_UID_NET_ACCESS, IsUidNetAllowed), in InitPolicyModule()
|
H A D | netpolicy_exec.cpp | 125 …result = NetPolicyClient::GetInstance().IsUidNetAllowed(context->uid_, context->isMetered_, contex… in ExecIsUidNetAllowed() 127 …result = NetPolicyClient::GetInstance().IsUidNetAllowed(context->uid_, context->iface_, context->i… in ExecIsUidNetAllowed()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netpolicyclient/ |
H A D | libnetpolicy_kits.map | 45 "OHOS::NetManagerStandard::NetPolicyClient::IsUidNetAllowed(unsigned int, bool, bool&)"; 46 …"OHOS::NetManagerStandard::NetPolicyClient::IsUidNetAllowed(unsigned int, std::__h::basic_string<c…
|
/ohos5.0/foundation/communication/netmanager_base/test/fuzztest/common_fuzzer/ |
H A D | common_fuzzer.cpp | 278 g_netManagerCenter->IsUidNetAllowed(uid, metered); in IsUidNetAllowedFuzzTest()
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/stub/ |
H A D | net_policy_service_stub.cpp | 295 int32_t result = IsUidNetAllowed(uid, metered, isAllowed); in OnIsUidNetAllowedMetered() 327 int32_t result = IsUidNetAllowed(uid, ifaceName, isAllowed); in OnIsUidNetAllowedIfaceName()
|