Home
last modified time | relevance | path

Searched refs:serverInfo (Results 1 - 10 of 10) sorted by relevance

/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_option_test.cpp144 const char *serverInfo = "dhcp server 1.0"; in HWTEST_F() local
150 EXPECT_EQ(RET_ERROR, FillOption(NULL, serverInfo, strlen(serverInfo))); in HWTEST_F()
151 EXPECT_EQ(RET_SUCCESS, FillOption(&optVendorInfo, serverInfo, strlen(serverInfo))); in HWTEST_F()
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_callback.c665 pCbkMsg->msg.serverInfo = *info; in P2pHalCbServiceDiscoveryResponse()
673 pCbkMsg->msg.serverInfo.tlvs = (char *)calloc(len, sizeof(char)); in P2pHalCbServiceDiscoveryResponse()
674 if (pCbkMsg->msg.serverInfo.tlvs == NULL) { in P2pHalCbServiceDiscoveryResponse()
679 if (strncpy_s(pCbkMsg->msg.serverInfo.tlvs, len, info->tlvs, len - 1) != EOK) { in P2pHalCbServiceDiscoveryResponse()
680 free(pCbkMsg->msg.serverInfo.tlvs); in P2pHalCbServiceDiscoveryResponse()
681 pCbkMsg->msg.serverInfo.tlvs = NULL; in P2pHalCbServiceDiscoveryResponse()
H A Dwifi_hal_crpc_server.h102 P2pServDiscRespInfo serverInfo; member
H A Dwifi_hal_crpc_server.c660 WriteInt(context, cbmsg->msg.serverInfo.updateIndicator); in DealP2pServerInfoCbk()
661 WriteStr(context, cbmsg->msg.serverInfo.srcAddress); in DealP2pServerInfoCbk()
662 if (cbmsg->msg.serverInfo.tlvs != NULL) { in DealP2pServerInfoCbk()
663 WriteInt(context, strlen(cbmsg->msg.serverInfo.tlvs)); in DealP2pServerInfoCbk()
664 WriteStr(context, cbmsg->msg.serverInfo.tlvs); in DealP2pServerInfoCbk()
665 free(cbmsg->msg.serverInfo.tlvs); in DealP2pServerInfoCbk()
666 cbmsg->msg.serverInfo.tlvs = NULL; in DealP2pServerInfoCbk()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_agent.cpp104 SocketInfo serverInfo = { in JoinDomain() local
109 int32_t socketId = Socket(serverInfo); in JoinDomain()
H A Dsoftbus_handler.cpp127 SocketInfo serverInfo = { in CreateSessionServer() local
132 int32_t socketId = Socket(serverInfo); in CreateSessionServer()
H A Dsoftbus_handler_asset.cpp94 SocketInfo serverInfo = { in CreateAssetLocalSessionServer() local
99 int32_t socketId = Socket(serverInfo); in CreateAssetLocalSessionServer()
/foundation/distributedhardware/distributed_screen/services/softbusadapter/src/
H A Dsoftbus_adapter.cpp124 SocketInfo serverInfo = { in CreateSoftbusSessionServer() local
129 int32_t socketId = Socket(serverInfo); in CreateSoftbusSessionServer()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dsoftbus_channel_adapter.cpp181 SocketInfo serverInfo = { in CreateChannelServer() local
186 int32_t socketId = Socket(serverInfo); in CreateChannelServer()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/
H A Dwifi_hal_crpc_server_test.cpp336 StrSafeCopy(cbmsg->msg.serverInfo.srcAddress, sizeof(cbmsg->msg.serverInfo.srcAddress), "00:00:00:00:00:00"); in HWTEST_F()

Completed in 10 milliseconds