Home
last modified time | relevance | path

Searched refs:audio_thread (Results 1 – 16 of 16) sorted by relevance

/external/adhd/cras/src/server/
Daudio_thread.h35 struct audio_thread { struct
72 struct audio_thread *audio_thread_create();
79 int audio_thread_add_open_dev(struct audio_thread *thread,
87 int audio_thread_rm_open_dev(struct audio_thread *thread,
96 int audio_thread_is_dev_open(struct audio_thread *thread,
122 int audio_thread_rm_callback_sync(struct audio_thread *thread, int fd);
138 int audio_thread_start(struct audio_thread *thread);
141 void audio_thread_destroy(struct audio_thread *thread);
158 int audio_thread_add_stream(struct audio_thread *thread,
171 int audio_thread_drain_stream(struct audio_thread *thread,
[all …]
Daudio_thread.c190 static int audio_thread_send_response(struct audio_thread *thread, int rc) in audio_thread_send_response()
235 static int audio_thread_read_command(struct audio_thread *thread, uint8_t *buf, in audio_thread_read_command()
265 static int thread_add_open_dev(struct audio_thread *thread, in thread_add_open_dev()
292 static int thread_rm_open_dev(struct audio_thread *thread, in thread_rm_open_dev()
309 static int thread_is_dev_open(struct audio_thread *thread, in thread_is_dev_open()
330 static int thread_dev_start_ramp(struct audio_thread *thread, in thread_dev_start_ramp()
363 static int thread_find_stream(struct audio_thread *thread, in thread_find_stream()
379 static int thread_disconnect_stream(struct audio_thread *thread, in thread_disconnect_stream()
399 static int thread_drain_stream_ms_remaining(struct audio_thread *thread, in thread_drain_stream_ms_remaining()
422 static int thread_drain_stream(struct audio_thread *thread, in thread_drain_stream()
[all …]
Dcras_iodev_list.c83 static struct audio_thread *audio_thread; variable
334 audio_thread, dev->info.idx, in sys_mute_change()
346 audio_thread_rm_open_dev(audio_thread, dev->direction, dev->info.idx); in remove_all_streams_from_dev()
477 rc = audio_thread_add_open_dev(audio_thread, dev); in init_device()
507 audio_thread_disconnect_stream(audio_thread, in suspend_devs()
513 audio_thread_disconnect_stream(audio_thread, rstream, in suspend_devs()
658 return audio_thread_add_stream(audio_thread, stream, iodevs, in add_stream_to_open_devs()
767 if (audio_thread_is_dev_open(audio_thread, dev)) in init_pinned_device()
969 rc = audio_thread_drain_stream(audio_thread, rstream); in stream_removed_cb()
1040 audio_thread_disconnect_stream(audio_thread, stream, in disable_device()
[all …]
Dcras_iodev_list.h234 struct audio_thread *cras_iodev_list_get_audio_thread();
Dcras_iodev.h30 struct audio_thread;
/external/adhd/cras/src/tests/
Daudio_thread_monitor_unittest.cc101 struct audio_thread* cras_iodev_list_get_audio_thread() { in cras_iodev_list_get_audio_thread()
102 return reinterpret_cast<struct audio_thread*>(0xff); in cras_iodev_list_get_audio_thread()
105 int audio_thread_dump_thread_info(struct audio_thread* thread, in audio_thread_dump_thread_info()
Dcontrol_rclient_unittest.cc44 static audio_thread* iodev_get_thread_return;
85 iodev_get_thread_return = reinterpret_cast<audio_thread*>(0xad); in ResetStubData()
718 struct audio_thread* cras_iodev_list_get_audio_thread() { in cras_iodev_list_get_audio_thread()
728 int audio_thread_rm_stream(audio_thread* thread, cras_rstream* stream) { in audio_thread_rm_stream()
732 void audio_thread_add_output_dev(struct audio_thread* thread, in audio_thread_add_output_dev()
735 int audio_thread_dump_thread_info(struct audio_thread* thread, in audio_thread_dump_thread_info()
740 int audio_thread_suspend(struct audio_thread* thread) { in audio_thread_suspend()
744 int audio_thread_resume(struct audio_thread* thread) { in audio_thread_resume()
748 int audio_thread_config_global_remix(struct audio_thread* thread, in audio_thread_config_global_remix()
757 int audio_thread_set_aec_dump(struct audio_thread* thread, in audio_thread_set_aec_dump()
Diodev_list_unittest.cc43 static struct audio_thread thread;
2072 struct audio_thread* audio_thread_create() { in audio_thread_create()
2076 int audio_thread_start(struct audio_thread* thread) { in audio_thread_start()
2080 void audio_thread_destroy(struct audio_thread* thread) {} in audio_thread_destroy()
2082 int audio_thread_set_active_dev(struct audio_thread* thread, in audio_thread_set_active_dev()
2089 void audio_thread_remove_streams(struct audio_thread* thread, in audio_thread_remove_streams()
2094 int audio_thread_add_open_dev(struct audio_thread* thread, in audio_thread_add_open_dev()
2101 int audio_thread_rm_open_dev(struct audio_thread* thread, in audio_thread_rm_open_dev()
2108 int audio_thread_is_dev_open(struct audio_thread* thread, in audio_thread_is_dev_open()
2113 int audio_thread_add_stream(struct audio_thread* thread, in audio_thread_add_stream()
[all …]
Daudio_thread_unittest_obsolete.cc229 struct audio_thread* thread; in TEST_F()
254 struct audio_thread* thread; in TEST_F()
285 struct audio_thread* thread; in TEST_F()
317 struct audio_thread* thread; in TEST_F()
355 struct audio_thread* thread; in TEST_F()
396 struct audio_thread* thread; in TEST_F()
444 struct audio_thread* thread; in TEST_F()
643 struct audio_thread* thread_;
1177 struct audio_thread* thread; in add_rm_two_streams()
1288 struct audio_thread* thread; in TEST_F()
[all …]
Dhfp_info_unittest.cc536 struct audio_thread* cras_iodev_list_get_audio_thread() { in cras_iodev_list_get_audio_thread()
549 int audio_thread_rm_callback_sync(struct audio_thread* thread, int fd) { in audio_thread_rm_callback_sync()
Da2dp_iodev_unittest.cc927 struct audio_thread* cras_iodev_list_get_audio_thread() { in cras_iodev_list_get_audio_thread()
944 int audio_thread_rm_callback_sync(struct audio_thread* thread, int fd) { in audio_thread_rm_callback_sync()
Dalsa_io_unittest.cc2407 struct audio_thread* cras_iodev_list_get_audio_thread() { in cras_iodev_list_get_audio_thread()
2853 struct audio_thread* audio_thread_create() { in audio_thread_create()
2854 return reinterpret_cast<audio_thread*>(0x323); in audio_thread_create()
2857 void audio_thread_destroy(audio_thread* thread) {} in audio_thread_destroy()
2973 int audio_thread_rm_callback_sync(struct audio_thread* thread, int fd) { in audio_thread_rm_callback_sync()
Daudio_thread_unittest.cc236 struct audio_thread* thread_;
990 struct audio_thread thread; in TEST()
Diodev_unittest.cc2562 int audio_thread_post_message(struct audio_thread* thread, in audio_thread_post_message()
/external/autotest/server/site_tests/bluetooth_AdapterMTBF/
Dbluetooth_AdapterMTBF.py108 audio_thread = threading.Thread(
113 audio_thread.start()
117 audio_thread.join()
142 audio_thread = threading.Thread(
149 audio_thread.start()
154 audio_thread.join()
/external/adhd/cras/src/libcras/
Dcras_client.c1324 static void *audio_thread(void *arg) in audio_thread() function
1428 rc = pthread_create(&stream->thread.tid, NULL, audio_thread, stream); in start_aud_thread()