Home
last modified time | relevance | path

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

/system/bt/vendor_libs/linux/interface/
Dasync_fd_watcher.cc130 fd_set read_fds; in ThreadRoutine() local
131 FD_ZERO(&read_fds); in ThreadRoutine()
132 FD_SET(notification_listen_fd_, &read_fds); in ThreadRoutine()
135 FD_SET(it.first, &read_fds); in ThreadRoutine()
149 int retval = select(nfds + 1, &read_fds, NULL, NULL, timeout_ptr); in ThreadRoutine()
169 if (FD_ISSET(notification_listen_fd_, &read_fds)) { in ThreadRoutine()
180 if (FD_ISSET(it.first, &read_fds)) { in ThreadRoutine()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc184 int setUpFileDescriptorSet(fd_set& read_fds) { in setUpFileDescriptorSet() argument
186 FD_SET(notification_listen_fd_, &read_fds); in setUpFileDescriptorSet()
193 FD_SET(fdp.first, &read_fds); in setUpFileDescriptorSet()
201 bool consumeThreadNotifications(fd_set& read_fds) { in consumeThreadNotifications() argument
202 if (FD_ISSET(notification_listen_fd_, &read_fds)) { in consumeThreadNotifications()
213 void runAppropriateCallbacks(fd_set& read_fds) { in runAppropriateCallbacks() argument
220 if (FD_ISSET(fdc.first, &read_fds)) { in runAppropriateCallbacks()
232 fd_set read_fds; in ThreadRoutine() local
233 FD_ZERO(&read_fds); in ThreadRoutine()
234 int nfds = setUpFileDescriptorSet(read_fds); in ThreadRoutine()
[all …]