Home
last modified time | relevance | path

Searched refs:write_fd_ (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/
Dshell_service_protocol_test.cpp46 write_fd_ = fds[1]; in SetUp()
48 write_protocol_ = new ShellProtocol(write_fd_); in SetUp()
58 for (int fd : {read_fd_, write_fd_}) { in TearDown()
79 int read_fd_ = -1, write_fd_ = -1; member in ShellProtocolTest
158 adb_close(write_fd_); in TEST_F()
159 write_fd_ = -1; in TEST_F()
166 adb_close(write_fd_); in TEST_F()
167 write_fd_ = -1; in TEST_F()
189 adb_close(write_fd_); in TEST_F()
190 write_fd_ = -1; in TEST_F()
Dfdevent_test.cpp37 : read_fd_(read_fd), write_fd_(write_fd) { in FdHandler()
40 write_fde_ = fdevent_create(write_fd_, FdEventNewCallback, this); in FdHandler()
43 write_fde_ = fdevent_create(write_fd_, FdEventCallback, this); in FdHandler()
65 ASSERT_EQ(fd, handler->write_fd_); in FdEventCallback()
88 ASSERT_EQ(fd, handler->write_fd_); in FdEventNewCallback()
101 const int write_fd_; member in FdHandler
/system/core/adb/daemon/
Dusb.cpp179 write_fd_(std::move(write)) { in UsbFfsConnection()
204 write_fd_.reset(); in ~UsbFfsConnection()
616 block->control.aio_fildes = write_fd_.get(); in CreateWriteBlock()
687 unique_fd write_fd_; member