Home
last modified time | relevance | path

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

/external/adhd/cras/src/libcras/
Dcras_client.c158 int wake_fds[2]; /* Pipe to wake the thread */ member
1263 num_read = read_with_wake_fd(stream->wake_fds[0], in audio_thread()
1296 rc = write(stream->wake_fds[1], &rc, 1); in wake_aud_thread()
1317 if (stream->wake_fds[0] >= 0) { in stop_aud_thread()
1318 close(stream->wake_fds[0]); in stop_aud_thread()
1319 close(stream->wake_fds[1]); in stop_aud_thread()
1320 stream->wake_fds[0] = -1; in stop_aud_thread()
1336 rc = pipe(stream->wake_fds); in start_aud_thread()
2405 stream->wake_fds[0] = -1; in cras_client_send_add_stream_command_message()
2406 stream->wake_fds[1] = -1; in cras_client_send_add_stream_command_message()
/external/adhd/cras/src/tests/
Dcras_client_unittest.cc239 rc = pipe(stream_.wake_fds); in StreamConnectedFail()