Home
last modified time | relevance | path

Searched refs:SetNicTrafficAllowed (Results 1 - 25 of 32) sorted by relevance

12

/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dut_net_policy_service.cpp386 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
393 auto ret = instance_->SetNicTrafficAllowed(ifaceName, false); in HWTEST_F()
399 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
406 auto ret = instance_->SetNicTrafficAllowed(ifaceName, true); in HWTEST_F()
412 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
419 auto ret = instance_->SetNicTrafficAllowed(ifaceName, false); in HWTEST_F()
425 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
432 auto ret = instance_->SetNicTrafficAllowed(ifaceName, true); in HWTEST_F()
438 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
445 auto ret = instance_->SetNicTrafficAllowed(ifaceNam in HWTEST_F()
[all...]
H A Dut_net_policy_client.cpp568 * @tc.desc: Test NetPolicyClient SetNicTrafficAllowed.
575 int32_t result = g_netPolicyClient->SetNicTrafficAllowed(ifaceName, false); in HWTEST_F()
582 * @tc.desc: Test NetPolicyClient SetNicTrafficAllowed.
589 int32_t result = g_netPolicyClient->SetNicTrafficAllowed(ifaceName, true); in HWTEST_F()
596 * @tc.desc: Test NetPolicyClient SetNicTrafficAllowed.
603 int32_t result = g_netPolicyClient->SetNicTrafficAllowed(ifaceName, false); in HWTEST_F()
610 * @tc.desc: Test NetPolicyClient SetNicTrafficAllowed.
617 int32_t result = g_netPolicyClient->SetNicTrafficAllowed(ifaceName, true); in HWTEST_F()
624 * @tc.desc: Test NetPolicyClient SetNicTrafficAllowed.
631 int32_t result = g_netPolicyClient->SetNicTrafficAllowed(ifaceNam in HWTEST_F()
[all...]
H A Dnet_policy_service_stub_test.cpp188 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dut_net_policy_service.cpp386 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
393 auto ret = instance_->SetNicTrafficAllowed(ifaceName, false); in HWTEST_F()
399 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
406 auto ret = instance_->SetNicTrafficAllowed(ifaceName, true); in HWTEST_F()
412 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
419 auto ret = instance_->SetNicTrafficAllowed(ifaceName, false); in HWTEST_F()
425 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
432 auto ret = instance_->SetNicTrafficAllowed(ifaceName, true); in HWTEST_F()
438 * @tc.desc: Test NetPolicyService SetNicTrafficAllowed.
445 auto ret = instance_->SetNicTrafficAllowed(ifaceNam in HWTEST_F()
[all...]
/foundation/communication/netmanager_base/services/netpolicymanager/src/common/
H A Dnetsys_policy_wrapper.cpp152 int32_t NetsysPolicyWrapper::SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) in SetNicTrafficAllowed() function in OHOS::NetManagerStandard::NetsysPolicyWrapper
154 auto netsysReturnValue = NetsysController::GetInstance().SetNicTrafficAllowed(ifaceNames, status); in SetNicTrafficAllowed()
/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnetsys_policy_wrapper.h49 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status);
H A Dnet_policy_service.h262 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
/foundation/communication/netmanager_base/interfaces/innerkits/netpolicyclient/include/
H A Di_net_policy_service.h255 virtual int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) = 0;
H A Dnet_policy_service_proxy.h56 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
H A Dnet_policy_client.h341 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status);
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnetsys_native_service_test.cpp843 * @tc.desc: Test NetsysNativeService SetNicTrafficAllowed.
849 auto ret = instance_->SetNicTrafficAllowed(ifaceName, false); in HWTEST_F()
855 * @tc.desc: Test NetsysNativeService SetNicTrafficAllowed.
861 auto ret = instance_->SetNicTrafficAllowed(ifaceName, true); in HWTEST_F()
867 * @tc.desc: Test NetsysNativeService SetNicTrafficAllowed.
873 auto ret = instance_->SetNicTrafficAllowed(ifaceName, false); in HWTEST_F()
879 * @tc.desc: Test NetsysNativeService SetNicTrafficAllowed.
885 auto ret = instance_->SetNicTrafficAllowed(ifaceName, true); in HWTEST_F()
891 * @tc.desc: Test NetsysNativeService SetNicTrafficAllowed.
897 auto ret = instance_->SetNicTrafficAllowed(ifaceNam in HWTEST_F()
[all...]
/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/
H A Dnet_policy_client.cpp434 int32_t NetPolicyClient::SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) in SetNicTrafficAllowed() function in OHOS::NetManagerStandard::NetPolicyClient
442 return proxy->SetNicTrafficAllowed(ifaceNames, status); in SetNicTrafficAllowed()
H A Dnet_policy_service_proxy.cpp815 int32_t NetPolicyServiceProxy::SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) in SetNicTrafficAllowed() function in OHOS::NetManagerStandard::NetPolicyServiceProxy
822 NETMGR_LOG_E("SetNicTrafficAllowed WriteBool func return error"); in SetNicTrafficAllowed()
826 NETMGR_LOG_E("SetNicTrafficAllowed ifaceNames size return error"); in SetNicTrafficAllowed()
831 NETMGR_LOG_E("SetNicTrafficAllowed write name return error"); in SetNicTrafficAllowed()
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_service_test/
H A Dnet_policy_service_test.cpp194 ret = instance_->SetNicTrafficAllowed(ifaceNames, true); in HWTEST_F()
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Di_netsys_service.h196 virtual int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) = 0;
H A Dnetsys_native_service_proxy.h163 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
/foundation/communication/netmanager_base/services/netpolicymanager/src/
H A Dnet_policy_service.cpp599 int32_t NetPolicyService::SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) in SetNicTrafficAllowed() function in OHOS::NetManagerStandard::NetPolicyService
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_rule.cpp489 return GetNetsysInst()->SetNicTrafficAllowed(ifaceNames, status); in PolicySetNicTrafficAllowed()
/foundation/communication/netmanager_base/services/netmanagernative/include/
H A Dnetsys_native_service.h187 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/
H A Dnetsys_native_service_stub_test.cpp543 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override
/foundation/communication/netmanager_base/services/netsyscontroller/include/
H A Dnetsys_controller_service_impl.h951 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
H A Di_netsys_controller_service.h977 virtual int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) = 0;
H A Dnetsys_controller.h962 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status);
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dnetsys_controller.cpp1541 int32_t NetsysController::SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) in SetNicTrafficAllowed() function in OHOS::NetManagerStandard::NetsysController
1545 NETMGR_LOG_E("SetNicTrafficAllowed netsysService is null"); in SetNicTrafficAllowed()
1549 return netsysService_->SetNicTrafficAllowed(ifaceNames, status); in SetNicTrafficAllowed()
H A Dnetsys_controller_service_impl.cpp927 int32_t NetsysControllerServiceImpl::SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) in SetNicTrafficAllowed() function in OHOS::NetManagerStandard::NetsysControllerServiceImpl
929 NETMGR_LOG_D("SetNicTrafficAllowed: status = %{public}d", status); in SetNicTrafficAllowed()
930 return netsysClient_.SetNicTrafficAllowed(ifaceNames, status); in SetNicTrafficAllowed()

Completed in 21 milliseconds

12