Home
last modified time | relevance | path

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

/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/common/
Dusb.cpp43 uv_tcp_open(&hSession->dataPipe[STREAM_WORK], hSession->dataFd[STREAM_WORK])) { in ReadyForWorkThread()
Ddefine_plus.h382 int dataFd[2]; // data channel socketpair member
Duart.cpp391 unsigned int fd = hSession->dataFd[STREAM_MAIN]; in UartToHdcProtocol()
975 hSession->dataFd[STREAM_WORK])) { in ReadyForWorkThread()
Dsession.cpp448 Base::CreateSocketPair(hSession->dataFd); in MallocSession()
449 uv_tcp_open(&hSession->dataPipe[STREAM_MAIN], hSession->dataFd[STREAM_MAIN]); in MallocSession()
/developtools/hdc/src/host/
Dhost_usb.cpp420 unsigned int fd = hSession->dataFd[STREAM_MAIN]; in UsbToHdcProtocol()