Home
last modified time | relevance | path

Searched refs:dfileId (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/src/
H A Dclient_trans_file.c236 if (TransGetUdpChannelByFileId(dfileId, &udpChannel) != SOFTBUS_OK) { in FileSendListener()
377 TRANS_LOGD(TRANS_FILE, "recv dfileId=%{public}d, type=%{public}d", dfileId, msgType); in FileReceiveListener()
383 if (TransGetUdpChannelByFileId(dfileId, &udpChannel) != SOFTBUS_OK) { in FileReceiveListener()
521 int32_t *dfileId = (int32_t *)args; in TransCloseDFileProcTask() local
522 TRANS_LOGI(TRANS_FILE, "rsync close dfileId=%{public}d.", *dfileId); in TransCloseDFileProcTask()
523 NSTACKX_DFileClose(*dfileId); in TransCloseDFileProcTask()
524 SoftBusFree(dfileId); in TransCloseDFileProcTask()
528 void TransCloseFileChannel(int32_t dfileId) in TransCloseFileChannel() argument
530 TRANS_LOGI(TRANS_FILE, "start close file channel, dfileId=%{public}d.", dfileId); in TransCloseFileChannel()
543 *args = dfileId; in TransCloseFileChannel()
[all …]
H A Dclient_trans_file_virtual.c69 void TransCloseFileChannel(int32_t dfileId) in TransCloseFileChannel() argument
71 (void)dfileId; in TransCloseFileChannel()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/file/
H A Dtrans_sdk_file_test.cpp51 channel->dfileId = -1; in TransAddChannelTest()
189 channel->dfileId = 1; in GenerateAndAddUdpChannel()
420 FileSendListener(channel->dfileId, msgType, msgData);
450 FileSendListener(channel->dfileId, msgType, &msgData);
453 FileSendListener(channel->dfileId, msgType, &msgData);
456 FileSendListener(channel->dfileId, msgType, &msgData);
459 FileSendListener(channel->dfileId, msgType, &msgData);
462 FileSendListener(channel->dfileId, msgType, &msgData);
467 FileSendListener(channel->dfileId, msgType, &msgData);
608 FileSendListener(channel->dfileId, msgType, msgData);
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/src/
H A Dclient_trans_udp_manager.c207 newChannel->dfileId = -1; in ConvertChannelInfoToUdpChannel()
241 channelNode->dfileId = value; in TransSetdFileIdByChannelId()
312 TransCloseFileChannel(channel->dfileId); in TransDeleteBusinnessChannel()
442 int32_t ret = NSTACKX_DFileSessionGetFileList(channel.dfileId); in CloseUdpChannel()
674 if (!channel.isEnable || channel.dfileId < 0) { in TransUdpChannelSendFile()
678 return TransSendFile(channel.dfileId, sFileList, dFileList, fileCnt); in TransUdpChannelSendFile()
681 int32_t TransGetUdpChannelByFileId(int32_t dfileId, UdpChannel *udpChannel) in TransGetUdpChannelByFileId() argument
695 if (channelNode->dfileId == dfileId) { in TransGetUdpChannelByFileId()
740 ret = NSTACKX_DFileSetSessionOpt(channel.dfileId, &dfileOpt); in TransLimitChange()
766 ret = NSTACKX_DFileSessionGetFileList(channel.dfileId); in ClientEmitFileEvent()
H A Dclient_trans_udp_virtual.c77 int32_t TransGetUdpChannelByFileId(int32_t dfileId, UdpChannel *udpChannel) in TransGetUdpChannelByFileId() argument
79 (void)dfileId; in TransGetUdpChannelByFileId()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/include/
H A Dclient_trans_file.h46 void TransCloseFileChannel(int32_t dfileId);
48 int32_t TransSendFile(int32_t dfileId, const char *sFileList[], const char *dFileList[], uint32_t f…
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/include/
H A Dclient_trans_udp_manager.h56 int32_t dfileId; member
81 int32_t TransGetUdpChannelByFileId(int32_t dfileId, UdpChannel *udpChannel);
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/common/
H A Dclient_trans_udp_manager_static_test.cpp230 channel.dfileId = TEST_CHANNELID;