Home
last modified time | relevance | path

Searched refs:GetNetId (Results 1 - 25 of 46) sorted by relevance

12

/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Dnetworkshare_upstreammonitor.cpp158 int32_t currentNetId = upstreamNetInfo->netHandle_->GetNetId(); in GetCurrentGoodUpstream()
205 auto iter = networkMaps_.find(netHandle->GetNetId()); in HandleNetAvailable()
207 NETMGR_EXT_LOG_I("netHandle[%{public}d] is new.", netHandle->GetNetId()); in HandleNetAvailable()
212 networkMaps_.insert(std::make_pair(netHandle->GetNetId(), network)); in HandleNetAvailable()
224 auto iter = networkMaps_.find(netHandle->GetNetId()); in HandleNetCapabilitiesChange()
227 NETMGR_EXT_LOG_I("netHandle[%{public}d] Capabilities Changed.", netHandle->GetNetId()); in HandleNetCapabilitiesChange()
243 auto iter = networkMaps_.find(netHandle->GetNetId()); in HandleConnectionPropertiesChange()
247 NETMGR_EXT_LOG_I("netHandle[%{public}d] ConnectionProperties Changed.", netHandle->GetNetId()); in HandleConnectionPropertiesChange()
254 if (defaultNetworkId_ == INVALID_NETID || defaultNetworkId_ == netHandle->GetNetId()) { in HandleConnectionPropertiesChange()
255 NETMGR_EXT_LOG_I("Send MainSM ON_LINKPROPERTY event with netHandle[%{public}d].", netHandle->GetNetId()); in HandleConnectionPropertiesChange()
[all...]
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_conn_callback_test.cpp51 NETMGR_LOG_D("NetAvailable: netId = %{public}d", netHandle->GetNetId()); in NetAvailable()
63 NETMGR_LOG_D("NetCapabilitiesChange: netId = [%{public}d]", netHandle->GetNetId()); in NetCapabilitiesChange()
75 NETMGR_LOG_D("NetConnectionPropertiesChange: netId = %{public}d info = %{public}s", netHandle->GetNetId(), in NetConnectionPropertiesChange()
86 NETMGR_LOG_D("NetLost: netId = %{public}d", netHandle->GetNetId()); in NetLost()
101 netHandle->GetNetId(), blocked ? "true" : "false"); in NetBlockStatusChange()
H A Dnet_conn_manager_test.cpp139 std::cout << "netid = " << it->GetNetId() << std::endl; in LogCapabilities()
323 int32_t netId = netHandle.GetNetId(); in HWTEST_F()
364 int32_t netId = netHandle->GetNetId(); in HWTEST_F()
506 std::cout << "netid = " << it->GetNetId() << std::endl; in HWTEST_F()
822 if (net->GetNetId() >= MIN_INTERNAL_NET_ID && net->GetNetId() <= MAX_INTERNAL_NET_ID) { in HWTEST_F()
837 if (net->GetNetId() >= MIN_INTERNAL_NET_ID && net->GetNetId() <= MAX_INTERNAL_NET_ID) { in HWTEST_F()
/foundation/communication/netmanager_base/services/netconnmanager/src/stub/
H A Dnet_conn_callback_proxy.cpp41 if (!data.WriteInt32(netHandle->GetNetId())) { in NetAvailable()
75 if (!data.WriteInt32(netHandle->GetNetId()) || !data.WriteUint32(netAllCap->linkUpBandwidthKbps_) || in NetCapabilitiesChange()
128 if (!data.WriteInt32(netHandle->GetNetId())) { in NetConnectionPropertiesChange()
168 if (!data.WriteInt32(netHandle->GetNetId())) { in NetLost()
227 if (!data.WriteInt32(netHandle->GetNetId())) { in NetBlockStatusChange()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dself_cure_utils.cpp92 return iter->GetNetId(); in GetWifiNetId()
102 return defaultNet.GetNetId(); in GetDefaultNetId()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_pro/
H A Dwifi_pro_utils.cpp89 WIFI_LOGI("IsDefaultNet, default netId:%{public}d, wifiNetId:%{public}d.", defaultNet.GetNetId(), wifiNetId); in IsDefaultNet()
90 return defaultNet.GetNetId() == wifiNetId; in IsDefaultNet()
/foundation/communication/netmanager_base/frameworks/cj/connection/src/
H A Dnet_connection_callback.cpp37 int32_t id = netHandle->GetNetId(); in NetAvailable()
93 int32_t id = netHandle->GetNetId(); in NetCapabilitiesChange()
183 int32_t id = netHandle->GetNetId(); in NetConnectionPropertiesChange()
216 int32_t id = netHandle->GetNetId(); in NetLost()
255 int32_t id = netHandle->GetNetId(); in NetBlockStatusChange()
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnet_handle.h44 int32_t GetNetId() const in GetNetId() function in OHOS::NetManagerStandard::NetHandle
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dnetsys_network.h96 uint16_t GetNetId() const in GetNetId() function in OHOS::nmd::NetsysNetwork
H A Ddns_resolv_config.h41 uint16_t GetNetId() const;
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_resolv_config.cpp59 uint16_t DnsResolvConfig::GetNetId() const in GetNetId() function in OHOS::nmd::DnsResolvConfig
/foundation/communication/netmanager_ext/frameworks/native/netshareclient/src/proxy/ipccallback/
H A Dsharing_event_callback_proxy.cpp103 if (!data.WriteInt32(netHandle->GetNetId())) { in OnSharingUpstreamChanged()
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dnet_conn_manager_test.cpp139 std::cout << "netid = " << it->GetNetId() << std::endl; in LogCapabilities()
323 int32_t netId = netHandle.GetNetId(); in HWTEST_F()
364 int32_t netId = netHandle->GetNetId(); in HWTEST_F()
506 std::cout << "netid = " << it->GetNetId() << std::endl; in HWTEST_F()
822 if (net->GetNetId() >= MIN_INTERNAL_NET_ID && net->GetNetId() <= MAX_INTERNAL_NET_ID) { in HWTEST_F()
837 if (net->GetNetId() >= MIN_INTERNAL_NET_ID && net->GetNetId() <= MAX_INTERNAL_NET_ID) { in HWTEST_F()
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_supplier.cpp183 netHandle_ = std::make_unique<NetHandle>(network_->GetNetId()).release(); in SetNetwork()
192 int32_t NetSupplier::GetNetId() const in GetNetId() function in OHOS::NetManagerStandard::NetSupplier
197 return network_->GetNetId(); in GetNetId()
H A Dnet_conn_service.cpp625 int32_t netId = supplier->GetNetId(); in UnregisterNetSupplierAsync()
901 eventInfo.netId = supplier->GetNetId(); in UpdateNetSupplierInfoAsync()
952 eventInfo.netId = supplier->GetNetId(); in UpdateNetLinkInfoAsync()
1064 bestNet->GetSupplierId(), bestNet->GetNetSupplierIdent().c_str(), bestNet->GetNetId(), bestScore, reqId); in ActivateNetwork()
1553 netId = defaultNetSupplier_->GetNetId(); in GetDefaultNet()
1592 netIdList.push_back(iterSupplier->second->GetNetId()); in GetSpecificNet()
1605 auto netId = network.second->GetNetId(); in GetAllNets()
1635 netId = iterSupplier->second->GetNetId(); in GetSpecificUidNet()
1640 netId = defaultNetSupplier_->GetNetId(); in GetSpecificUidNet()
1666 if ((iterSupplier->second != nullptr) && (netId == iterSupplier->second->GetNetId())) { in GetNetCapabilities()
[all...]
/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnetwork.h41 int32_t GetNetId() const;
H A Dnet_supplier.h103 int32_t GetNetId() const;
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/
H A Dnet_score_test.cpp119 int32_t result = supplier->GetNetId(); in HWTEST_F()
H A Dnetwork_test.cpp93 int32_t ret = instance_->GetNetId(); in HWTEST_F()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_net_observer.cpp133 return netHandle->GetNetId(); in GetWifiNetId()
/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/
H A Dnetshare_callback_observer.cpp75 NETMANAGER_EXT_LOGI("NetworkSharing OnSharingUpstreamChanged netId= %{public}d", netHandle->GetNetId()); in OnSharingUpstreamChanged()
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/
H A Dnetwork_status.cpp59 if (netHandle.GetNetId() < MIN_VALID_NETID) { in GetDefaultNet()
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/
H A Dnet_connection_adapter.cpp102 netHandleList->netHandles[i++].netId = (*netHandleObj).GetNetId(); in Conv2NetHandleList()
110 netHandle->netId = netHandleObj.GetNetId(); in Conv2NetHandle()
/foundation/communication/wifi/wifi/interfaces/inner_api/
H A Dwifi_p2p_msg.h354 netId(config.GetNetId()), in WifiP2pConfig()
368 int GetNetId() const;
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/
H A Dwifi_mock_p2p_service.cpp182 LOGI("config.GetNetId() = %d\n", config.GetNetId()); in CreateGroup()
237 LOGI("config.GetNetId() = %d\n", config.GetNetId()); in P2pConnect()

Completed in 18 milliseconds

12