Home
last modified time | relevance | path

Searched refs:netSupplierType_ (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnetwork.cpp62 netSupplierType_(bearerType), in Network()
86 if (netSupplierType_ == BEARER_VPN) { in UpdateBasicNetwork()
91 if (netSupplierType_ == BEARER_VPN) { in UpdateBasicNetwork()
235 if (netSupplierType_ != BEARER_VPN && netCaps_.find(NetCap::NET_CAPABILITY_INTERNET) != netCaps_.end()) { in UpdateNetLinkInfo()
276 ret = NetsysController::GetInstance().NetworkAddInterface(netId_, newNetLinkInfo.ifaceName_, netSupplierType_); in UpdateInterfaces()
365 if (netSupplierType_ != BEARER_VPN && route.destination_.address_ != LOCAL_ROUTE_NEXT_HOP && in UpdateRoutes()
388 if (netSupplierType_ != BEARER_VPN && route.destination_.address_ != LOCAL_ROUTE_NEXT_HOP && in UpdateRoutes()
580 netMonitor_ = std::make_shared<NetMonitor>(netId_, netSupplierType_, netLinkInfo_, monitorCallback); in InitNetMonitor()
693 std::map<std::string, int32_t> param = {{"NetType", static_cast<int32_t>(netSupplierType_)}}; in SendConnectionChangedBroadcast()
766 if (netSupplierType_ ! in IsNat464Prefered()
[all...]
H A Dnet_supplier.cpp33 : netSupplierType_(bearerType), in NetSupplier()
57 auto iter = netTypeScore_.find(netSupplierType_); in InitNetScore()
59 NETMGR_LOG_E("Can not find net bearer type[%{public}d] for this net service", netSupplierType_); in InitNetScore()
91 return supplierId_ == netSupplier.supplierId_ && netSupplierType_ == netSupplier.netSupplierType_ && in operator ==()
143 return netSupplierType_; in GetNetSupplierType()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_supplier_test/
H A Dnet_supplier_test.cpp221 supplier->netSupplierType_ = BEARER_DEFAULT; in HWTEST_F()
222 auto iter = netTypeScore_.find(supplier->netSupplierType_); in HWTEST_F()
235 netSupplier2.netSupplierType_ = BEARER_BLUETOOTH; in HWTEST_F()
/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnetwork.h105 NetBearType netSupplierType_; member in OHOS::NetManagerStandard::Network
H A Dnet_supplier.h158 NetBearType netSupplierType_; member in OHOS::NetManagerStandard::NetTypeScoreValue::NetSupplier

Completed in 4 milliseconds