/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/netvpnclient/src/ |
H A D | networkvpn_client.cpp | 81 int32_t NetworkVpnClient::SetUpVpn(sptr<VpnConfig> config, int32_t &tunFd, bool isVpnExtCall) in SetUpVpn() function in OHOS::NetManagerStandard::NetworkVpnClient 94 int32_t result = proxy->SetUpVpn(config, isVpnExtCall); in SetUpVpn() 290 proxy->SetUpVpn(clientVpnConfig_.first, clientVpnConfig_.second); in RecoverCallback()
|
/ohos5.0/foundation/communication/netmanager_ext/test/vpnmanager/unittest/vpn_manager_test/ |
H A D | networkvpn_client_test.cpp | 127 EXPECT_EQ(networkVpnClient_.SetUpVpn(config, tunFd), NETMANAGER_EXT_ERR_PARAMETER_ERROR); 129 EXPECT_EQ(networkVpnClient_.SetUpVpn(config, tunFd), NETMANAGER_ERR_PERMISSION_DENIED); 137 EXPECT_EQ(networkVpnClient_.SetUpVpn(config, tunFd), NETMANAGER_EXT_SUCCESS);
|
H A D | networkvpn_service_test.cpp | 140 HWTEST_F(NetworkVpnServiceTest, SetUpVpn, TestSize.Level1) 146 EXPECT_EQ(instance_->SetUpVpn(config), NETMANAGER_ERR_PERMISSION_DENIED); 150 EXPECT_EQ(instance_->SetUpVpn(config), NETMANAGER_ERR_PERMISSION_DENIED);
|
/ohos5.0/foundation/communication/netmanager_ext/test/netmanager_ext_mock_test/ |
H A D | mock_networkvpn_service_stub_test.h | 31 int32_t SetUpVpn(const sptr<VpnConfig> &config, bool isVpnExtCall = false) override
|
/ohos5.0/foundation/communication/netmanager_ext/interfaces/innerkits/netvpnclient/include/ipc/ |
H A D | i_networkvpn_service.h | 63 virtual int32_t SetUpVpn(const sptr<VpnConfig> &config, bool isVpnExtCall = false) = 0;
|
H A D | networkvpn_service_proxy.h | 32 int32_t SetUpVpn(const sptr<VpnConfig> &config, bool isVpnExtCall = false) override;
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/vpnext/src/ |
H A D | vpn_exec_ext.cpp | 60 int32_t result = vpnClient->SetUpVpn(context->vpnConfig_, context->fd_, true); in ExecSetUp()
|
/ohos5.0/foundation/communication/netmanager_ext/interfaces/innerkits/netvpnclient/include/ |
H A D | networkvpn_client.h | 85 int32_t SetUpVpn(sptr<VpnConfig> config, int32_t &tunFd, bool isVpnExtCall = false);
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/src/ |
H A D | vpn_exec.cpp | 60 int32_t result = vpnClient->SetUpVpn(context->vpnConfig_, context->fd_); in ExecSetUp()
|
/ohos5.0/foundation/communication/netmanager_ext/services/vpnmanager/include/ |
H A D | networkvpn_service.h | 112 int32_t SetUpVpn(const sptr<VpnConfig> &config, bool isVpnExtCall = false) override;
|
/ohos5.0/foundation/communication/netmanager_ext/services/vpnmanager/src/ipc/ |
H A D | networkvpn_service_stub.cpp | 133 int32_t result = SetUpVpn(config); in ReplySetUpVpn()
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/netvpnclient/src/ipc/ |
H A D | networkvpn_service_proxy.cpp | 102 int32_t NetworkVpnServiceProxy::SetUpVpn(const sptr<VpnConfig> &config, bool isVpnExtCall) in SetUpVpn() function in OHOS::NetManagerStandard::NetworkVpnServiceProxy
|
/ohos5.0/foundation/communication/netmanager_ext/services/vpnmanager/src/ |
H A D | networkvpn_service.cpp | 433 SetUpVpn(vpnCfg); in RecoverVpnConfig() 530 int32_t NetworkVpnService::SetUpVpn(const sptr<VpnConfig> &config, bool isVpnExtCall) in SetUpVpn() function in OHOS::NetManagerStandard::NetworkVpnService
|