Home
last modified time | relevance | path

Searched refs:GetDhcpClientInfos (Results 1 - 19 of 19) sorted by relevance

/foundation/communication/dhcp/interfaces/kits/c/
H A Ddhcp_c_api.h75 DhcpErrorCode GetDhcpClientInfos(const char *ifname, int staNumber, DhcpStationInfo *staInfo, int *staSize);
/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_server_impl.cpp175 ErrCode DhcpServerImpl::GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) in GetDhcpClientInfos() function in OHOS::DHCP::DhcpServerImpl
179 return client_->GetDhcpClientInfos(ifname, dhcpClientInfo); in GetDhcpClientInfos()
H A Ddhcp_server_impl.h46 ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) override;
H A Ddhcp_server_proxy.h56 ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) override;
H A Ddhcp_server_proxy.cpp439 ErrCode DhcpServerProxy::GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) in GetDhcpClientInfos() function in OHOS::DHCP::DhcpServerProxy
441 DHCP_LOGI("DhcpServerProxy enter GetDhcpClientInfos mRemoteDied:%{public}d", mRemoteDied); in GetDhcpClientInfos()
470 DHCP_LOGI("DhcpServerProxy GetDhcpClientInfos ok, exception:%{public}d, reply data size:%{public}d", exception, in GetDhcpClientInfos()
473 DHCP_LOGE("GetDhcpClientInfos tmpsize error: %{public}d", tmpsize); in GetDhcpClientInfos()
481 DHCP_LOGI("DhcpServerProxy GetDhcpClientInfos 1"); in GetDhcpClientInfos()
H A Ddhcp_server_proxy_lite.cpp530 ErrCode DhcpServerProxy::GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) in GetDhcpClientInfos() function in OHOS::DHCP::DhcpServerProxy
532 DHCP_LOGI("DhcpServerProxy enter GetDhcpClientInfos mRemoteDied:%{public}d", mRemoteDied); in GetDhcpClientInfos()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/
H A Dmock_dhcp_service.h36 MOCK_METHOD4(GetDhcpClientInfos, DhcpErrorCode(const char *ifname, int staNumber, DhcpStationInfo *staInfo, int *staSize));
H A Dmock_dhcp_service.cpp115 WIFI_LOGI("SUN MockDhcpService::GetDhcpClientInfos"); in __wrap_GetDhcpClientInfos()
116 return MockDhcpService::GetInstance().GetDhcpClientInfos(ifname, staNumber, staInfo, staSize); in __wrap_GetDhcpClientInfos()
/foundation/communication/dhcp/frameworks/native/interfaces/
H A Di_dhcp_server.h51 virtual ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) = 0;
/foundation/communication/dhcp/interfaces/inner_api/
H A Ddhcp_server.h41 virtual ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) = 0;
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_server_service_impl_test.cpp87 EXPECT_EQ(DHCP_E_FAILED, pServerServiceImpl->GetDhcpClientInfos(ifname, vecLeases)); in HWTEST_F()
88 EXPECT_EQ(DHCP_E_FAILED, pServerServiceImpl->GetDhcpClientInfos("", vecLeases)); in HWTEST_F()
141 EXPECT_EQ(DHCP_E_SUCCESS, pServerServiceImpl->GetDhcpClientInfos(ifname, vecLeases)); in HWTEST_F()
/foundation/communication/dhcp/test/fuzztest/dhcpserver_fuzzer/
H A Ddhcpserver_fuzzer.cpp50 dhcpServer->GetDhcpClientInfos(ifname, dhcpClientInfo); in DhcpServerFuzzerTest()
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/
H A Ddhcpserverimpl_fuzzer.cpp105 pDhcpServerServiceImpl->GetDhcpClientInfos(ifname1, leases); in GetDhcpClientInfosTest()
106 pDhcpServerServiceImpl->GetDhcpClientInfos(ifname2, leases); in GetDhcpClientInfosTest()
/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_server_service_impl.h74 ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& leases) override;
/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp263 DHCP_LOGI("GetDhcpClientInfos staNumber:%{public}d staSize:%{public}d", staNumber, *staSize); in ParseClientInfos()
267 DhcpErrorCode GetDhcpClientInfos(const char *ifname, int staNumber, DhcpStationInfo *staInfo, int *staSize) in GetDhcpClientInfos() function
277 DhcpErrorCode ret = GetCErrorCode(dhcpServerPtr->GetDhcpClientInfos(ifname, vecInfo)); in GetDhcpClientInfos()
279 DHCP_LOGE("GetDhcpClientInfos failed!"); in GetDhcpClientInfos()
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_stub.cpp220 ErrCode ret = GetDhcpClientInfos(ifname, leases); in OnGetDhcpClientInfos()
H A Ddhcp_server_stub_lite.cpp206 ErrCode ret = GetDhcpClientInfos(ifname, leases); in OnGetDhcpClientInfos()
H A Ddhcp_server_service_impl.cpp272 GetDhcpClientInfos(ifname, leases); in DeviceInfoCallBack()
608 ErrCode DhcpServerServiceImpl::GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& leases) in GetDhcpClientInfos() function in OHOS::DHCP::DhcpServerServiceImpl
611 DHCP_LOGE("GetDhcpClientInfos:NOT NATIVE PROCESS, PERMISSION_DENIED!"); in GetDhcpClientInfos()
615 DHCP_LOGE("GetDhcpClientInfos:VerifyDhcpNetworkPermission PERMISSION_DENIED!"); in GetDhcpClientInfos()
619 DHCP_LOGE("DhcpServerService::GetDhcpClientInfos error, ifname is empty!"); in GetDhcpClientInfos()
625 DHCP_LOGE("GetDhcpClientInfos() failed, dhcp leasefile:%{public}s no exist!", strFile.c_str()); in GetDhcpClientInfos()
641 DHCP_LOGI("GetDhcpClientInfos leases.size:%{public}d.", (int)leases.size()); in GetDhcpClientInfos()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Ddhcpd_interface.cpp344 int result = GetDhcpClientInfos(ifaceName.c_str(), staNumber, staInfos, staSize); in GetConnectedStaInfo()

Completed in 10 milliseconds