/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_upstreammonitor.cpp | 158 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 D | net_conn_callback_test.cpp | 51 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 D | net_conn_manager_test.cpp | 139 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 D | net_conn_callback_proxy.cpp | 41 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 D | self_cure_utils.cpp | 92 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 D | wifi_pro_utils.cpp | 89 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 D | net_connection_callback.cpp | 37 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 D | net_handle.h | 44 int32_t GetNetId() const in GetNetId() function in OHOS::NetManagerStandard::NetHandle
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | netsys_network.h | 96 uint16_t GetNetId() const in GetNetId() function in OHOS::nmd::NetsysNetwork
|
H A D | dns_resolv_config.h | 41 uint16_t GetNetId() const;
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/ |
H A D | dns_resolv_config.cpp | 59 uint16_t DnsResolvConfig::GetNetId() const in GetNetId() function in OHOS::nmd::DnsResolvConfig
|
/foundation/communication/netmanager_ext/frameworks/native/netshareclient/src/proxy/ipccallback/ |
H A D | sharing_event_callback_proxy.cpp | 103 if (!data.WriteInt32(netHandle->GetNetId())) { in OnSharingUpstreamChanged()
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/ |
H A D | net_conn_manager_test.cpp | 139 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 D | net_supplier.cpp | 183 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 D | net_conn_service.cpp | 625 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 D | network.h | 41 int32_t GetNetId() const;
|
H A D | net_supplier.h | 103 int32_t GetNetId() const;
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | net_score_test.cpp | 119 int32_t result = supplier->GetNetId(); in HWTEST_F()
|
H A D | network_test.cpp | 93 int32_t ret = instance_->GetNetId(); in HWTEST_F()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_net_observer.cpp | 133 return netHandle->GetNetId(); in GetWifiNetId()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/ |
H A D | netshare_callback_observer.cpp | 75 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 D | network_status.cpp | 59 if (netHandle.GetNetId() < MIN_VALID_NETID) { in GetDefaultNet()
|
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/ |
H A D | net_connection_adapter.cpp | 102 netHandleList->netHandles[i++].netId = (*netHandleObj).GetNetId(); in Conv2NetHandleList() 110 netHandle->netId = netHandleObj.GetNetId(); in Conv2NetHandle()
|
/foundation/communication/wifi/wifi/interfaces/inner_api/ |
H A D | wifi_p2p_msg.h | 354 netId(config.GetNetId()), in WifiP2pConfig() 368 int GetNetId() const;
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/ |
H A D | wifi_mock_p2p_service.cpp | 182 LOGI("config.GetNetId() = %d\n", config.GetNetId()); in CreateGroup() 237 LOGI("config.GetNetId() = %d\n", config.GetNetId()); in P2pConnect()
|