/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/common/ |
H A D | client_trans_udp_manager_static_test.cpp | 197 UdpChannel udpChannel; variable 199 udpChannel.channelId = TEST_CHANNELID; 261 UdpChannel udpChannel; variable 281 UdpChannel udpChannel; variable 284 udpChannel.isEnable = false; 288 udpChannel.isEnable = true; 326 UdpChannel udpChannel; variable 415 UdpChannel udpChannel; variable 418 udpChannel.info.isServer = true; 427 udpChannel.channelId = TEST_CLOSEID; [all …]
|
H A D | client_trans_udp_manager_test.cpp | 365 UdpChannel udpChannel; variable 366 (void)memset_s(&udpChannel, sizeof(UdpChannel), 0, sizeof(UdpChannel)); 367 ret = TransGetUdpChannelByFileId(TEST_DATA_TYPE, &udpChannel); 371 ret = TransGetUdpChannelByFileId(TEST_DATA_TYPE, &udpChannel);
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/ |
H A D | trans_udp_channel_manager.c | 58 UdpChannelInfo *udpChannel = NULL; in NotifyTimeOutUdpChannel() local 68 ListDelete(&(udpChannel->node)); in NotifyTimeOutUdpChannel() 72 (void)memset_s(udpChannel->info.sessionKey, sizeof(udpChannel->info.sessionKey), 0, in NotifyTimeOutUdpChannel() 74 SoftBusFree(udpChannel); in NotifyTimeOutUdpChannel() 91 UdpChannelInfo *udpChannel = NULL; in TransUdpTimerProc() local 95 udpChannel->timeOut++; in TransUdpTimerProc() 139 UdpChannelInfo *udpChannel = NULL; in TransUdpChannelMgrDeinit() local 147 (void)memset_s(udpChannel->info.sessionKey, sizeof(udpChannel->info.sessionKey), 0, in TransUdpChannelMgrDeinit() 149 SoftBusFree(udpChannel); in TransUdpChannelMgrDeinit() 240 (void)memset_s(udpChannel->info.sessionKey, sizeof(udpChannel->info.sessionKey), 0, in NotifyUdpChannelCloseInList() [all …]
|
H A D | trans_udp_negotiation.c | 1038 UdpChannelInfo udpChannel; in TransUdpGetChannelAndOpenConn() local 1039 (void)memset_s(&udpChannel, sizeof(udpChannel), 0, sizeof(udpChannel)); in TransUdpGetChannelAndOpenConn() 1040 int32_t ret = TransGetUdpChannelById(channelId, &udpChannel); in TransUdpGetChannelAndOpenConn() 1041 (void)memset_s(udpChannel.info.sessionKey, sizeof(udpChannel.info.sessionKey), 0, in TransUdpGetChannelAndOpenConn() 1042 sizeof(udpChannel.info.sessionKey)); in TransUdpGetChannelAndOpenConn() 1048 ret = OpenAuthConnForUdpNegotiation(&udpChannel); in TransUdpGetChannelAndOpenConn()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/src/ |
H A D | client_trans_file.c | 224 TransOnUdpChannelClosed(udpChannel->channelId, SHUTDOWN_REASON_SEND_FILE_ERR); in FileSendErrorEvent() 234 UdpChannel udpChannel; in FileSendListener() local 235 (void)memset_s(&udpChannel, sizeof(UdpChannel), 0, sizeof(UdpChannel)); in FileSendListener() 236 if (TransGetUdpChannelByFileId(dfileId, &udpChannel) != SOFTBUS_OK) { in FileSendListener() 241 g_udpChannelMgrCb->OnUdpChannelOpened(udpChannel.channelId); in FileSendListener() 268 FileSendErrorEvent(&udpChannel, &fileListener, msgData, msgType, sessionId); in FileSendListener() 371 TransOnUdpChannelClosed(udpChannel->channelId, SHUTDOWN_REASON_RECV_FILE_ERR); in FileRecvErrorEvent() 381 UdpChannel udpChannel; in FileReceiveListener() local 382 (void)memset_s(&udpChannel, sizeof(UdpChannel), 0, sizeof(UdpChannel)); in FileReceiveListener() 383 if (TransGetUdpChannelByFileId(dfileId, &udpChannel) != SOFTBUS_OK) { in FileReceiveListener() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/src/ |
H A D | client_trans_udp_virtual.c | 77 int32_t TransGetUdpChannelByFileId(int32_t dfileId, UdpChannel *udpChannel) in TransGetUdpChannelByFileId() argument 80 (void)udpChannel; in TransGetUdpChannelByFileId()
|
H A D | client_trans_udp_manager.c | 681 int32_t TransGetUdpChannelByFileId(int32_t dfileId, UdpChannel *udpChannel) in TransGetUdpChannelByFileId() argument 696 if (memcpy_s(udpChannel, sizeof(UdpChannel), channelNode, sizeof(UdpChannel)) != EOK) { in TransGetUdpChannelByFileId()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/clienttransudpmanager_fuzzer/ |
H A D | clienttransudpmanager_fuzzer.cpp | 111 UdpChannel udpChannel; in TransGetUdpChannelByFileIdTest() local 112 TransGetUdpChannelByFileId(static_cast<int32_t>(size), &udpChannel); in TransGetUdpChannelByFileIdTest()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/include/ |
H A D | client_trans_udp_manager.h | 81 int32_t TransGetUdpChannelByFileId(int32_t dfileId, UdpChannel *udpChannel); 83 int32_t TransGetUdpChannel(int32_t channelId, UdpChannel *udpChannel);
|