Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/1.0/default/
Dasync_fd_watcher.cc132 fd_set read_fds; in ThreadRoutine() local
133 FD_ZERO(&read_fds); in ThreadRoutine()
134 FD_SET(notification_listen_fd_, &read_fds); in ThreadRoutine()
137 FD_SET(it.first, &read_fds); in ThreadRoutine()
151 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()
/hardware/interfaces/bluetooth/1.0/default/test/
Dmct_protocol_unittest.cc105 fd_set read_fds; in SendAndReadUartOutbound() local
106 FD_ZERO(&read_fds); in SendAndReadUartOutbound()
107 FD_SET(outbound_fd, &read_fds); in SendAndReadUartOutbound()
108 TEMP_FAILURE_RETRY(select(outbound_fd + 1, &read_fds, NULL, NULL, NULL)); in SendAndReadUartOutbound()
Dh4_protocol_unittest.cc104 fd_set read_fds; in SendAndReadUartOutbound() local
105 FD_ZERO(&read_fds); in SendAndReadUartOutbound()
106 FD_SET(fake_uart_, &read_fds); in SendAndReadUartOutbound()
107 TEMP_FAILURE_RETRY(select(fake_uart_ + 1, &read_fds, NULL, NULL, NULL)); in SendAndReadUartOutbound()