Home
last modified time | relevance | path

Searched refs:dataFd (Results 1 – 6 of 6) sorted by relevance

/developtools/hdc/src/common/
Ddefine_plus.h415 int dataFd[2]; // data channel socketpair member
466 (void)memset_s(dataFd, sizeof(dataFd), 0, sizeof(dataFd)); in HdcSession()
Dusb.cpp45 uv_tcp_open(&hSession->dataPipe[STREAM_WORK], hSession->dataFd[STREAM_WORK])) { in ReadyForWorkThread()
61 hSession->dataFd[STREAM_WORK]); in ReadyForWorkThread()
Duart.cpp398 unsigned int fd = hSession->dataFd[STREAM_MAIN]; in UartToHdcProtocol()
982 hSession->dataFd[STREAM_WORK])) { in ReadyForWorkThread()
Dsession.cpp467 Base::CreateSocketPair(hSession->dataFd); in MallocSession()
468 uv_tcp_open(&hSession->dataPipe[STREAM_MAIN], hSession->dataFd[STREAM_MAIN]); in MallocSession()
/developtools/hdc/test/unittest/common/
Duart_test.cpp421 session.dataFd[STREAM_WORK] = rnd();
422 auto socket = session.dataFd[STREAM_WORK];
498 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, session.dataFd), 0);
503 read(session.dataFd[STREAM_WORK], recvBuf.data(), recvBuf.size());
507 EXPECT_EQ(close(session.dataFd[STREAM_MAIN]), 0);
511 EXPECT_EQ(close(session.dataFd[STREAM_WORK]), 0);
/developtools/hdc/src/host/
Dhost_usb.cpp464 unsigned int fd = hSession->dataFd[STREAM_MAIN]; in UsbToHdcProtocol()