Home
last modified time | relevance | path

Searched refs:netSupplierId_ (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dnet_vpn_impl.cpp213 if (netSupplierId_) { in RegisterNetSupplier()
214 NETMGR_EXT_LOG_E("NetSupplier [%{public}d] has been registered ", netSupplierId_); in RegisterNetSupplier()
222 if (netConnClientIns.RegisterNetSupplier(BEARER_VPN, TUN_CARD_NAME, netCap, netSupplierId_) != NETMANAGER_SUCCESS) { in RegisterNetSupplier()
226 NETMGR_EXT_LOG_I("vpn RegisterNetSupplier netSupplierId_[%{public}d]", netSupplierId_); in RegisterNetSupplier()
232 if (!netSupplierId_) { in UnregisterNetSupplier()
233 NETMGR_EXT_LOG_E("NetSupplier [%{public}d] has been unregistered ", netSupplierId_); in UnregisterNetSupplier()
236 if (!netConnClientIns.UnregisterNetSupplier(netSupplierId_)) { in UnregisterNetSupplier()
237 netSupplierId_ = 0; in UnregisterNetSupplier()
243 if (!netSupplierId_) { in UpdateNetSupplierInfo()
[all...]
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/vpn_manager_test/
H A Dnet_vpn_impl_test.cpp121 netVpnImpl_->netSupplierId_ = 1; in HWTEST_F()
123 netVpnImpl_->netSupplierId_ = 0; in HWTEST_F()
131 netVpnImpl_->netSupplierId_ = 0; in HWTEST_F()
133 netVpnImpl_->netSupplierId_ = 1; in HWTEST_F()
137 netVpnImpl_->netSupplierId_ = 0; in HWTEST_F()
139 netVpnImpl_->netSupplierId_ = 1; in HWTEST_F()
/foundation/communication/netmanager_ext/services/vpnmanager/include/
H A Dnet_vpn_impl.h112 uint32_t netSupplierId_ = 0; member in OHOS::NetManagerStandard::NetVpnImpl

Completed in 2 milliseconds