Home
last modified time | relevance | path

Searched refs:IsUidNetAllowed (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/common/
H A Dnet_policy_service_common.cpp27 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 Dnet_policy_client.cpp64 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 Dnet_policy_service_proxy.cpp148 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 Dnet_policy_exception_service_test.cpp48 HWTEST_F(NetPolicyExceptionServiceUt, IsUidNetAllowed, TestSize.Level1)
53 …int32_t ret = DelayedSingleton<NetPolicyService>::GetInstance()->IsUidNetAllowed(uit, metered, isA…
H A Dut_net_policy_service_common.cpp67 auto ret = instance_->IsUidNetAllowed(uid, metered);
H A Dut_net_policy_service.cpp95 int32_t ret = instance_->IsUidNetAllowed(uid, policy, isAllowed);
109 int32_t ret = instance_->IsUidNetAllowed(uid, ifaceName, isAllowed);
H A Dnet_policy_service_stub_test.cpp51 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 Dut_net_policy_client.cpp143 int32_t ret = g_netPolicyClient->IsUidNetAllowed(TEST_UID, false, isAllowed);
159 int32_t ret = g_netPolicyClient->IsUidNetAllowed(TEST_UID, ifaceName, isAllowed);
H A Dut_net_policy_rule.cpp98 g_netPolicyRule->IsUidNetAllowed(15000, false, isAllowed);
/ohos5.0/foundation/communication/netmanager_base/services/common/src/
H A Dnet_manager_center.cpp174 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 Di_net_policy_service.h73 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 Dnet_policy_service_proxy.h34 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 Dnet_policy_client.h77 [[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 Dnet_policy_service.cpp154 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 Dnet_policy_service_common.h39 bool IsUidNetAllowed(uint32_t uid, bool metered) override;
H A Dnet_policy_service.h88 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 Dnet_policy_rule.h74 int32_t IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed);
/ohos5.0/foundation/communication/netmanager_base/services/common/include/
H A Dnet_policy_base_service.h25 virtual bool IsUidNetAllowed(uint32_t uid, bool metered) = 0;
H A Dnet_manager_center.h59 bool IsUidNetAllowed(uint32_t uid, bool metered);
/ohos5.0/foundation/communication/netmanager_base/test/netcommon/unittest/net_common_test/
H A Dnet_manager_center_test.cpp101 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 Dnetpolicy_module.cpp164 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 Dnetpolicy_exec.cpp125 …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 Dlibnetpolicy_kits.map45 "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 Dcommon_fuzzer.cpp278 g_netManagerCenter->IsUidNetAllowed(uid, metered); in IsUidNetAllowedFuzzTest()
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/stub/
H A Dnet_policy_service_stub.cpp295 int32_t result = IsUidNetAllowed(uid, metered, isAllowed); in OnIsUidNetAllowedMetered()
327 int32_t result = IsUidNetAllowed(uid, ifaceName, isAllowed); in OnIsUidNetAllowedIfaceName()

12