Home
last modified time | relevance | path

Searched refs:GetBackgroundPolicy (Results 1 - 21 of 21) sorted by relevance

/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dnet_policy_callback_test.h53 bool GetBackgroundPolicy() const in GetBackgroundPolicy() function in OHOS::NetManagerStandard::NetPolicyCallbackTest
H A Dut_net_policy_rule.cpp186 g_netPolicyRule->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
206 * @tc.desc: Test NetPolicyRule GetBackgroundPolicy.
215 g_netPolicyRule->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
H A Dnet_policy_manager_test.cpp383 * @tc.desc: Test NetPolicyManager GetBackgroundPolicy.
390 int32_t result = DelayedSingleton<NetPolicyClient>::GetInstance()->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
561 bool result2 = callback->GetBackgroundPolicy(); in HWTEST_F()
H A Dnet_policy_service_stub_test.cpp111 int32_t GetBackgroundPolicy(bool &backgroundPolicy) override
H A Dut_net_policy_service.cpp151 * @tc.desc: Test NetPolicyService GetBackgroundPolicy.
157 int32_t ret = instance_->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
H A Dut_net_policy_client.cpp298 * @tc.desc: Test NetPolicyClient GetBackgroundPolicy.
305 int32_t ret = g_netPolicyClient->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
306 std::cout << "NetPolicyClient013 GetBackgroundPolicy ret:" << ret << std::endl; in HWTEST_F()
/foundation/communication/netmanager_base/interfaces/innerkits/netpolicyclient/include/
H A Di_net_policy_service.h176 virtual int32_t GetBackgroundPolicy(bool &backgroundPolicy) = 0;
H A Dnet_policy_service_proxy.h42 int32_t GetBackgroundPolicy(bool &backgroundPolicy) override;
H A Dnet_policy_client.h180 [[nodiscard]] int32_t GetBackgroundPolicy(bool &backgroundPolicy);
/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnet_policy_rule.h139 int32_t GetBackgroundPolicy(bool &backgroundPolicy);
H A Dnet_policy_service.h148 int32_t GetBackgroundPolicy(bool &backgroundPolicy) override;
/foundation/communication/netmanager_base/services/netpolicymanager/src/
H A Dnet_policy_service.cpp252 int32_t NetPolicyService::GetBackgroundPolicy(bool &backgroundPolicy) in GetBackgroundPolicy() function in OHOS::NetManagerStandard::NetPolicyService
254 NETMGR_LOG_D("GetBackgroundPolicy begin"); in GetBackgroundPolicy()
259 return netPolicyRule_->GetBackgroundPolicy(backgroundPolicy); in GetBackgroundPolicy()
/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/
H A Dnet_policy_client.cpp278 int32_t NetPolicyClient::GetBackgroundPolicy(bool &backgroundPolicy) in GetBackgroundPolicy() function in OHOS::NetManagerStandard::NetPolicyClient
286 return proxy->GetBackgroundPolicy(backgroundPolicy); in GetBackgroundPolicy()
H A Dnet_policy_service_proxy.cpp389 int32_t NetPolicyServiceProxy::GetBackgroundPolicy(bool &backgroundPolicy) in GetBackgroundPolicy() function in OHOS::NetManagerStandard::NetPolicyServiceProxy
/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
H A Dnetpolicy_module.cpp157 napi_value GetBackgroundPolicy(napi_env env, napi_callback_info info) in GetBackgroundPolicy() function
338 DECLARE_NAPI_FUNCTION(FUNCTION_GET_BACKGROUND_POLICY, GetBackgroundPolicy), in InitPolicyModule()
H A Dnetpolicy_exec.cpp75 int32_t result = NetPolicyClient::GetInstance().GetBackgroundPolicy(context->backgroundPolicy_); in ExecGetBackgroundPolicy()
H A Dnapi_net_policy.cpp599 napi_value NapiNetPolicy::GetBackgroundPolicy(napi_env env, napi_callback_info info) in GetBackgroundPolicy() function in OHOS::NetManagerStandard::NapiNetPolicy
611 napi_value result = NapiCommon::HandleAsyncWork(env, context, "GetBackgroundPolicy", ExecGetBackgroundPolicy, in GetBackgroundPolicy()
627 DECLARE_NAPI_FUNCTION("getBackgroundPolicy", GetBackgroundPolicy), in DeclareNapiNetPolicyInterface()
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_service_test/
H A Dnet_policy_service_test.cpp162 ret = instance_->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_rule.cpp335 int32_t NetPolicyRule::GetBackgroundPolicy(bool &backgroundPolicy) in GetBackgroundPolicy() function in OHOS::NetManagerStandard::NetPolicyRule
337 NETMGR_LOG_I("GetBackgroundPolicy:backgroundAllow_[%{public}d", backgroundAllow_); in GetBackgroundPolicy()
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dut_net_policy_service.cpp151 * @tc.desc: Test NetPolicyService GetBackgroundPolicy.
157 int32_t ret = instance_->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
/foundation/communication/netmanager_base/services/netpolicymanager/src/stub/
H A Dnet_policy_service_stub.cpp462 NETMGR_LOG_I("GetBackgroundPolicy callingUid/callingPid: %{public}d/%{public}d", IPCSkeleton::GetCallingUid(), in OnGetBackgroundPolicy()
465 int32_t result = GetBackgroundPolicy(backgroundPolicy); in OnGetBackgroundPolicy()

Completed in 17 milliseconds