Searched refs:dataFd (Results 1 – 6 of 6) sorted by relevance
/developtools/hdc/test/unittest/common/ |
D | uart_test.cpp | 421 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/ |
D | usb.cpp | 43 uv_tcp_open(&hSession->dataPipe[STREAM_WORK], hSession->dataFd[STREAM_WORK])) { in ReadyForWorkThread()
|
D | define_plus.h | 382 int dataFd[2]; // data channel socketpair member
|
D | uart.cpp | 391 unsigned int fd = hSession->dataFd[STREAM_MAIN]; in UartToHdcProtocol() 975 hSession->dataFd[STREAM_WORK])) { in ReadyForWorkThread()
|
D | session.cpp | 448 Base::CreateSocketPair(hSession->dataFd); in MallocSession() 449 uv_tcp_open(&hSession->dataPipe[STREAM_MAIN], hSession->dataFd[STREAM_MAIN]); in MallocSession()
|
/developtools/hdc/src/host/ |
D | host_usb.cpp | 420 unsigned int fd = hSession->dataFd[STREAM_MAIN]; in UsbToHdcProtocol()
|