Home
last modified time | relevance | path

Searched refs:OpenvpnCtl (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dopen_vpn_ctl.cpp27 OpenvpnCtl::OpenvpnCtl(sptr<VpnConfig> config, const std::string &pkg, int32_t userId, in OpenvpnCtl() function in OHOS::NetManagerStandard::OpenvpnCtl
32 int32_t OpenvpnCtl::SetUp() in SetUp()
38 int32_t OpenvpnCtl::StartOpenvpn() in StartOpenvpn()
69 int32_t OpenvpnCtl::NotifyConnectStage(const std::string &stage, const int32_t &result) in NotifyConnectStage()
82 int32_t OpenvpnCtl::SetUpVpnTun() in SetUpVpnTun()
94 int32_t OpenvpnCtl::HandleClientMessage(const std::string &msg) in HandleClientMessage()
133 void OpenvpnCtl::UpdateState(cJSON* state) in UpdateState()
146 void OpenvpnCtl::UpdateConfig(cJSON *jConfig) in UpdateConfig()
185 void OpenvpnCtl
[all...]
H A Dnetworkvpn_service.cpp788 std::shared_ptr<OpenvpnCtl> openVpnCtl = in CreateOpenvpnCtl()
789 std::make_shared<OpenvpnCtl>(openVpnConfig, "", userId, activeUserIds); in CreateOpenvpnCtl()
/foundation/communication/netmanager_ext/services/vpnmanager/include/
H A Dopen_vpn_ctl.h52 class OpenvpnCtl : public NetVpnImpl { class
54 OpenvpnCtl(sptr<VpnConfig> config, const std::string &pkg, int32_t userId, std::vector<int32_t> &activeUserIds);
55 ~OpenvpnCtl() = default;
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/sys_vpn_manager_test/
H A Dopen_vpn_ctl_test.cpp39 static inline std::unique_ptr<OpenvpnCtl> openvpnControl_ = nullptr;
51 std::make_unique<OpenvpnCtl>(openvpnConfig, "pkg", userId, activeUserIds); in SetUpTestSuite()
60 std::unique_ptr<OpenvpnCtl> openvpnCtl = in HWTEST_F()
61 std::make_unique<OpenvpnCtl>(nullptr, "pkg", userId, activeUserIds); in HWTEST_F()

Completed in 5 milliseconds