/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/ |
H A D | net_policy_callback_test.h | 53 bool GetBackgroundPolicy() const in GetBackgroundPolicy() function in OHOS::NetManagerStandard::NetPolicyCallbackTest
|
H A D | ut_net_policy_rule.cpp | 186 g_netPolicyRule->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F() 206 * @tc.desc: Test NetPolicyRule GetBackgroundPolicy. 215 g_netPolicyRule->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
|
H A D | net_policy_manager_test.cpp | 383 * @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 D | net_policy_service_stub_test.cpp | 111 int32_t GetBackgroundPolicy(bool &backgroundPolicy) override
|
H A D | ut_net_policy_service.cpp | 151 * @tc.desc: Test NetPolicyService GetBackgroundPolicy. 157 int32_t ret = instance_->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
|
H A D | ut_net_policy_client.cpp | 298 * @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 D | i_net_policy_service.h | 176 virtual int32_t GetBackgroundPolicy(bool &backgroundPolicy) = 0;
|
H A D | net_policy_service_proxy.h | 42 int32_t GetBackgroundPolicy(bool &backgroundPolicy) override;
|
H A D | net_policy_client.h | 180 [[nodiscard]] int32_t GetBackgroundPolicy(bool &backgroundPolicy);
|
/foundation/communication/netmanager_base/services/netpolicymanager/include/ |
H A D | net_policy_rule.h | 139 int32_t GetBackgroundPolicy(bool &backgroundPolicy);
|
H A D | net_policy_service.h | 148 int32_t GetBackgroundPolicy(bool &backgroundPolicy) override;
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/ |
H A D | net_policy_service.cpp | 252 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 D | net_policy_client.cpp | 278 int32_t NetPolicyClient::GetBackgroundPolicy(bool &backgroundPolicy) in GetBackgroundPolicy() function in OHOS::NetManagerStandard::NetPolicyClient 286 return proxy->GetBackgroundPolicy(backgroundPolicy); in GetBackgroundPolicy()
|
H A D | net_policy_service_proxy.cpp | 389 int32_t NetPolicyServiceProxy::GetBackgroundPolicy(bool &backgroundPolicy) in GetBackgroundPolicy() function in OHOS::NetManagerStandard::NetPolicyServiceProxy
|
/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/ |
H A D | netpolicy_module.cpp | 157 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 D | netpolicy_exec.cpp | 75 int32_t result = NetPolicyClient::GetInstance().GetBackgroundPolicy(context->backgroundPolicy_); in ExecGetBackgroundPolicy()
|
H A D | napi_net_policy.cpp | 599 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 D | net_policy_service_test.cpp | 162 ret = instance_->GetBackgroundPolicy(backgroundPolicy); in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
H A D | net_policy_rule.cpp | 335 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 D | ut_net_policy_service.cpp | 151 * @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 D | net_policy_service_stub.cpp | 462 NETMGR_LOG_I("GetBackgroundPolicy callingUid/callingPid: %{public}d/%{public}d", IPCSkeleton::GetCallingUid(), in OnGetBackgroundPolicy() 465 int32_t result = GetBackgroundPolicy(backgroundPolicy); in OnGetBackgroundPolicy()
|