Home
last modified time | relevance | path

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

/system/core/adb/daemon/
Dabb_service.cpp40 unique_fd socket_fd_; member
48 if (socket_fd_ == -1) { in sendCommand()
49 socket_fd_ = startAbbProcess(&error_fd); in sendCommand()
51 if (socket_fd_ == -1) { in sendCommand()
56 if (!SendProtocolString(socket_fd_, command)) { in sendCommand()
58 socket_fd_.reset(); in sendCommand()
64 if (android::base::ReceiveFileDescriptors(socket_fd_, &buf, 1, &fd) != 1) { in sendCommand()
66 socket_fd_.reset(); in sendCommand()
74 socket_fd_.reset(); in sendCommand()
/system/bt/vendor_libs/test_vendor_lib/test/
Dasync_manager_unittest.cc84 socket_fd_ = StartServer(); in SetUp()
86 async_manager_.WatchFdForNonBlockingReads(socket_fd_, [this](int fd) { in SetUp()
94 async_manager_.StopWatchingFileDescriptor(socket_fd_); in TearDown()
95 close(socket_fd_); in TearDown()
132 int socket_fd_; member in test_vendor_lib::AsyncManagerSocketTest
Dlink_layer_socket_device_test.cc123 socket_fd_ = StartServer(); in SetUp()
125 async_manager_.WatchFdForNonBlockingReads(socket_fd_, [this](int fd) { in SetUp()
138 async_manager_.StopWatchingFileDescriptor(socket_fd_); in TearDown()
139 close(socket_fd_); in TearDown()
224 int socket_fd_; member in test_vendor_lib::LinkLayerSocketDeviceTest