/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/ |
H A D | ut_net_policy_service.cpp | 386 * @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 D | ut_net_policy_client.cpp | 568 * @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 D | net_policy_service_stub_test.cpp | 188 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 D | ut_net_policy_service.cpp | 386 * @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 D | netsys_policy_wrapper.cpp | 152 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 D | netsys_policy_wrapper.h | 49 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status);
|
H A D | net_policy_service.h | 262 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
|
/foundation/communication/netmanager_base/interfaces/innerkits/netpolicyclient/include/ |
H A D | i_net_policy_service.h | 255 virtual int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) = 0;
|
H A D | net_policy_service_proxy.h | 56 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
|
H A D | net_policy_client.h | 341 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status);
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | netsys_native_service_test.cpp | 843 * @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 D | net_policy_client.cpp | 434 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 D | net_policy_service_proxy.cpp | 815 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 D | net_policy_service_test.cpp | 194 ret = instance_->SetNicTrafficAllowed(ifaceNames, true); in HWTEST_F()
|
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | i_netsys_service.h | 196 virtual int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) = 0;
|
H A D | netsys_native_service_proxy.h | 163 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/ |
H A D | net_policy_service.cpp | 599 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 D | net_policy_rule.cpp | 489 return GetNetsysInst()->SetNicTrafficAllowed(ifaceNames, status); in PolicySetNicTrafficAllowed()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/ |
H A D | netsys_native_service.h | 187 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/ |
H A D | netsys_native_service_stub_test.cpp | 543 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override
|
/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
H A D | netsys_controller_service_impl.h | 951 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) override;
|
H A D | i_netsys_controller_service.h | 977 virtual int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status) = 0;
|
H A D | netsys_controller.h | 962 int32_t SetNicTrafficAllowed(const std::vector<std::string> &ifaceNames, bool status);
|
/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | netsys_controller.cpp | 1541 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 D | netsys_controller_service_impl.cpp | 927 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()
|