Searched refs:dataFd (Results 1 – 6 of 6) sorted by relevance
/developtools/hdc/src/common/ |
D | define_plus.h | 415 int dataFd[2]; // data channel socketpair member 466 (void)memset_s(dataFd, sizeof(dataFd), 0, sizeof(dataFd)); in HdcSession()
|
D | usb.cpp | 45 uv_tcp_open(&hSession->dataPipe[STREAM_WORK], hSession->dataFd[STREAM_WORK])) { in ReadyForWorkThread() 61 hSession->dataFd[STREAM_WORK]); in ReadyForWorkThread()
|
D | uart.cpp | 398 unsigned int fd = hSession->dataFd[STREAM_MAIN]; in UartToHdcProtocol() 982 hSession->dataFd[STREAM_WORK])) { in ReadyForWorkThread()
|
D | session.cpp | 467 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/ |
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/host/ |
D | host_usb.cpp | 464 unsigned int fd = hSession->dataFd[STREAM_MAIN]; in UsbToHdcProtocol()
|