/foundation/communication/dhcp/interfaces/kits/c/ |
H A D | dhcp_c_api.h | 75 DhcpErrorCode GetDhcpClientInfos(const char *ifname, int staNumber, DhcpStationInfo *staInfo, int *staSize);
|
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_server_impl.cpp | 175 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 D | dhcp_server_impl.h | 46 ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) override;
|
H A D | dhcp_server_proxy.h | 56 ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) override;
|
H A D | dhcp_server_proxy.cpp | 439 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 D | dhcp_server_proxy_lite.cpp | 530 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 D | mock_dhcp_service.h | 36 MOCK_METHOD4(GetDhcpClientInfos, DhcpErrorCode(const char *ifname, int staNumber, DhcpStationInfo *staInfo, int *staSize));
|
H A D | mock_dhcp_service.cpp | 115 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 D | i_dhcp_server.h | 51 virtual ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) = 0;
|
/foundation/communication/dhcp/interfaces/inner_api/ |
H A D | dhcp_server.h | 41 virtual ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhcpClientInfo) = 0;
|
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_server_service_impl_test.cpp | 87 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 D | dhcpserver_fuzzer.cpp | 50 dhcpServer->GetDhcpClientInfos(ifname, dhcpClientInfo); in DhcpServerFuzzerTest()
|
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/ |
H A D | dhcpserverimpl_fuzzer.cpp | 105 pDhcpServerServiceImpl->GetDhcpClientInfos(ifname1, leases); in GetDhcpClientInfosTest() 106 pDhcpServerServiceImpl->GetDhcpClientInfos(ifname2, leases); in GetDhcpClientInfosTest()
|
/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_server_service_impl.h | 74 ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& leases) override;
|
/foundation/communication/dhcp/frameworks/native/c_adapter/src/ |
H A D | dhcp_c_service.cpp | 263 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 D | dhcp_server_stub.cpp | 220 ErrCode ret = GetDhcpClientInfos(ifname, leases); in OnGetDhcpClientInfos()
|
H A D | dhcp_server_stub_lite.cpp | 206 ErrCode ret = GetDhcpClientInfos(ifname, leases); in OnGetDhcpClientInfos()
|
H A D | dhcp_server_service_impl.cpp | 272 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 D | dhcpd_interface.cpp | 344 int result = GetDhcpClientInfos(ifaceName.c_str(), staNumber, staInfos, staSize); in GetConnectedStaInfo()
|