Home
last modified time | relevance | path

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

/system/bt/vendor_libs/linux/interface/
Dasync_fd_watcher.cc127 fd_set read_fds; in ThreadRoutine() local
128 FD_ZERO(&read_fds); in ThreadRoutine()
129 FD_SET(notification_listen_fd_, &read_fds); in ThreadRoutine()
132 FD_SET(it.first, &read_fds); in ThreadRoutine()
146 int retval = select(nfds + 1, &read_fds, NULL, NULL, timeout_ptr); in ThreadRoutine()
166 if (FD_ISSET(notification_listen_fd_, &read_fds)) { in ThreadRoutine()
177 if (FD_ISSET(it.first, &read_fds)) { in ThreadRoutine()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc187 int setUpFileDescriptorSet(fd_set& read_fds) { in setUpFileDescriptorSet() argument
189 FD_SET(notification_listen_fd_, &read_fds); in setUpFileDescriptorSet()
196 FD_SET(fdp.first, &read_fds); in setUpFileDescriptorSet()
204 bool consumeThreadNotifications(fd_set& read_fds) { in consumeThreadNotifications() argument
205 if (FD_ISSET(notification_listen_fd_, &read_fds)) { in consumeThreadNotifications()
216 void runAppropriateCallbacks(fd_set& read_fds) { in runAppropriateCallbacks() argument
223 if (FD_ISSET(fdc.first, &read_fds)) { in runAppropriateCallbacks()
235 fd_set read_fds; in ThreadRoutine() local
236 FD_ZERO(&read_fds); in ThreadRoutine()
237 int nfds = setUpFileDescriptorSet(read_fds); in ThreadRoutine()
[all …]
/system/core/adb/
Dfdevent_test.cpp139 std::vector<int> read_fds; in TEST_F() local
142 read_fds.push_back(thread_arg.first_read_fd); in TEST_F()
146 read_fds.push_back(fds[0]); in TEST_F()
151 for (size_t i = 0; i < read_fds.size(); ++i) { in TEST_F()
153 std::make_unique<FdHandler>(read_fds[i], write_fds[i], use_new_callback)); in TEST_F()