Searched refs:stream_fds (Results 1 – 2 of 2) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_rclient_util.c | 136 int stream_fds[2]; in rclient_handle_client_stream_connect() local 174 stream_fds[0] = header_fd; in rclient_handle_client_stream_connect() 177 stream_fds[1] = samples_fd; in rclient_handle_client_stream_connect() 179 rc = client->ops->send_message_to_client(client, reply, stream_fds, 2); in rclient_handle_client_stream_connect()
|
/external/adhd/cras/src/libcras/ |
D | cras_client.c | 226 int stream_fds[2]; member 973 res = write(stream->client->stream_fds[1], &msg, sizeof(msg)); in send_stream_message() 1383 const int stream_fds[2], const unsigned int num_fds) in stream_connected() 1399 rc = cras_shm_info_init_with_fd(stream_fds[0], cras_shm_header_size(), in stream_connected() 1404 rc = cras_shm_info_init_with_fd(stream_fds[1], msg->samples_shm_size, in stream_connected() 1429 close(stream_fds[0]); in stream_connected() 1430 close(stream_fds[1]); in stream_connected() 1435 close(stream_fds[i]); in stream_connected() 1844 rc = read(client->stream_fds[0], &msg, sizeof(msg)); in handle_stream_message() 1965 if (client->stream_fds[0] >= 0) { in client_thread() [all …]
|