Home
last modified time | relevance | path

Searched refs:stationInfos (Results 1 - 15 of 15) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_callback_proxy.cpp66 void DhcpServerCallbackProxy::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) in OnServerSuccess() argument
77 data.WriteInt32(stationInfos.size()); in OnServerSuccess()
78 for (auto stationInfo: stationInfos) { in OnServerSuccess()
H A Ddhcp_server_callback_proxy_lite.cpp75 void DhcpServerCallbackProxy::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) in OnServerSuccess() argument
H A Ddhcp_server_service_impl.cpp271 std::vector<DhcpStationInfo> stationInfos; in DeviceInfoCallBack() local
273 ConvertLeasesToStationInfos(leases, stationInfos); in DeviceInfoCallBack()
277 (iter->second)->OnServerSuccess(ifname, stationInfos); in DeviceInfoCallBack()
290 std::vector<DhcpStationInfo>& stationInfos) in ConvertLeasesToStationInfos()
307 DHCP_LOGI("stationInfos deviceName:%{public}s", info.deviceName); in ConvertLeasesToStationInfos()
308 stationInfos.push_back(info); in ConvertLeasesToStationInfos()
289 ConvertLeasesToStationInfos(std::vector<std::string> &leases, std::vector<DhcpStationInfo>& stationInfos) ConvertLeasesToStationInfos() argument
/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_server_callback_stub_lite.cpp117 void DhcpServreCallBackStub::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) in OnServerSuccess() argument
121 userCallback_->OnServerSuccess(ifname.c_str(), stationInfos); in OnServerSuccess()
H A Ddhcp_server_callback_stub.cpp106 void DhcpServreCallBackStub::OnServerSuccess(const std::string &ifname, std::vector<DhcpStationInfo> &stationInfos) in OnServerSuccess() argument
110 callback_->OnServerSuccess(ifname.c_str(), stationInfos); in OnServerSuccess()
H A Ddhcp_event.cpp236 void DhcpServerCallBack::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) in OnServerSuccess() argument
238 size_t size = stationInfos.size(); in OnServerSuccess()
250 if (strcpy_s(infos[i].ipAddr, sizeof(infos[i].ipAddr), stationInfos[i].ipAddr) != EOK) { in OnServerSuccess()
256 if (strcpy_s(infos[i].macAddr, sizeof(infos[i].macAddr), stationInfos[i].macAddr) != EOK) { in OnServerSuccess()
262 if (strcpy_s(infos[i].deviceName, sizeof(infos[i].deviceName), stationInfos[i].deviceName) != EOK) { in OnServerSuccess()
H A Ddhcp_server_callback_stub.h53 void OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) override;
/foundation/communication/dhcp/frameworks/native/interfaces/
H A Di_dhcp_server_callback.h38 virtual void OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) = 0;
/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_server_callback_proxy.h42 void OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) override;
H A Ddhcp_server_service_impl.h101 void ConvertLeasesToStationInfos(std::vector<std::string> &leases, std::vector<DhcpStationInfo>& stationInfos);
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_server_service_impl_test.cpp208 std::vector<DhcpStationInfo> stationInfos; in HWTEST_F() local
209 pServerServiceImpl->ConvertLeasesToStationInfos(leases, stationInfos); in HWTEST_F()
212 pServerServiceImpl->ConvertLeasesToStationInfos(leases, stationInfos); in HWTEST_F()
/foundation/communication/dhcp/frameworks/native/include/
H A Ddhcp_event.h61 void OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) override;
/foundation/communication/dhcp/interfaces/kits/c/
H A Ddhcp_result_event.h90 void (*OnServerSuccess)(const char *ifname, DhcpStationInfo *stationInfos, size_t size);
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dp2p_state_machine.cpp940 DhcpStationInfo *stationInfos, size_t size) in OnDhcpServerSuccess()
946 gcInfo.mac = stationInfos[i].macAddr; in OnDhcpServerSuccess()
947 gcInfo.ip = stationInfos[i].ipAddr; in OnDhcpServerSuccess()
948 gcInfo.host = stationInfos[i].deviceName; in OnDhcpServerSuccess()
939 OnDhcpServerSuccess(const char *ifname, DhcpStationInfo *stationInfos, size_t size) OnDhcpServerSuccess() argument
H A Dp2p_state_machine.h67 static void OnDhcpServerSuccess(const char *ifname, DhcpStationInfo *stationInfos, size_t size);

Completed in 8 milliseconds