Home
last modified time | relevance | path

Searched refs:atlog (Results 1 – 14 of 14) sorted by relevance

/external/adhd/cras/src/server/
Ddev_io.c235 ATLOG(atlog, AUDIO_THREAD_STREAM_FETCH_PENDING, in fetch_streams()
244 ATLOG(atlog, AUDIO_THREAD_STREAM_SKIP_CB, in fetch_streams()
255 ATLOG(atlog, AUDIO_THREAD_FETCH_STREAM, rstream->stream_id, in fetch_streams()
338 ATLOG(atlog, AUDIO_THREAD_READ_OVERRUN, in get_stream_limit()
532 ATLOG(atlog, AUDIO_THREAD_READ_AUDIO_TSTAMP, idev->info.idx, in capture_to_streams()
565 ATLOG(atlog, AUDIO_THREAD_READ_AUDIO, idev->info.idx, hw_level, in capture_to_streams()
628 ATLOG(atlog, AUDIO_THREAD_READ_AUDIO_DONE, remainder, in capture_to_streams()
679 ATLOG(atlog, AUDIO_THREAD_WRITE_STREAMS_STREAM, in write_streams()
699 ATLOG(atlog, AUDIO_THREAD_WRITE_STREAMS_MIX, write_limit, max_offset, in write_streams()
726 ATLOG(atlog, AUDIO_THREAD_WRITE_STREAMS_MIXED, write_limit, 0, 0); in write_streams()
[all …]
Daudio_thread.c118 struct audio_thread_event_log *atlog; variable
284 ATLOG(atlog, AUDIO_THREAD_DEV_ADDED, iodev->info.idx, 0, 0); in thread_add_open_dev()
574 ATLOG(atlog, AUDIO_THREAD_PB_MSG, msg->id, 0, 0); in handle_audio_thread_message()
580 ATLOG(atlog, AUDIO_THREAD_WRITE_STREAMS_WAIT, in handle_audio_thread_message()
665 memcpy(&info->log, atlog, sizeof(info->log)); in handle_audio_thread_message()
894 ATLOG(atlog, AUDIO_THREAD_SLEEP, wait_ts ? wait_ts->tv_sec : 0, in audio_io_thread()
901 atlog->sync_write_pos = atlog->write_pos; in audio_io_thread()
904 ATLOG(atlog, AUDIO_THREAD_WAKE, rc, 0, 0); in audio_io_thread()
909 ATLOG(atlog, AUDIO_THREAD_IODEV_CB, 0, 0, 0); in audio_io_thread()
927 ATLOG(atlog, AUDIO_THREAD_IODEV_CB, in audio_io_thread()
[all …]
Ddev_stream.c231 ATLOG(atlog, AUDIO_THREAD_DEV_STREAM_MIX, fr_written, fr_read, 0); in dev_stream_mix()
308 ATLOG(atlog, AUDIO_THREAD_CONV_COPY, shm->header->write_buf_idx, in capture_copy_converted_to_stream()
337 ATLOG(atlog, AUDIO_THREAD_CAPTURE_WRITE, rstream->stream_id, in capture_copy_converted_to_stream()
384 ATLOG(atlog, AUDIO_THREAD_CAPTURE_WRITE, rstream->stream_id, in dev_stream_capture()
480 ATLOG(atlog, AUDIO_THREAD_STREAM_RESCHEDULE, rstream->stream_id, in check_next_wake_time()
549 ATLOG(atlog, AUDIO_THREAD_CAPTURE_POST, rstream->stream_id, in dev_stream_capture_update_rstream()
748 ATLOG(atlog, AUDIO_THREAD_STREAM_SLEEP_TIME, in get_input_wake_time()
Dcras_loopback_iodev.c90 ATLOG(atlog, AUDIO_THREAD_LOOPBACK_SAMPLE_HOOK, nframes + frames_copied, in sample_hook()
222 ATLOG(atlog, AUDIO_THREAD_LOOPBACK_GET, *frames, avail_frames, 0); in get_record_buffer()
241 ATLOG(atlog, AUDIO_THREAD_LOOPBACK_PUT, nframes, 0, 0); in put_record_buffer()
Dcras_iodev.c97 ATLOG(atlog, AUDIO_THREAD_ODEV_DEFAULT_NO_STREAMS, odev->info.idx, in default_no_stream_playback()
188 ATLOG(atlog, AUDIO_THREAD_ODEV_NO_STREAMS, odev->info.idx, 0, in cras_iodev_no_stream_playback_transition()
191 ATLOG(atlog, AUDIO_THREAD_ODEV_LEAVE_NO_STREAMS, odev->info.idx, in cras_iodev_no_stream_playback_transition()
279 ATLOG(atlog, AUDIO_THREAD_ODEV_START, odev->info.idx, in cras_iodev_output_event_sample_ready()
1336 ATLOG(atlog, AUDIO_THREAD_FILL_ODEV_ZEROS, odev->info.idx, frames, 0); in cras_iodev_fill_odev_zeros()
1361 ATLOG(atlog, AUDIO_THREAD_UNDERRUN, odev->info.idx, hw_level, in cras_iodev_output_underrun()
1635 ATLOG(atlog, AUDIO_THREAD_DEV_OVERRUN, iodev->info.idx, in cras_iodev_update_highest_hw_level()
1690 ATLOG(atlog, AUDIO_THREAD_DEV_DROP_FRAMES, iodev->info.idx, in cras_iodev_drop_frames()
Daudio_thread_log.h28 extern struct audio_thread_event_log *atlog;
Dcras_a2dp_iodev.c422 ATLOG(atlog, AUDIO_THREAD_A2DP_FLUSH, iodev->state, in encode_and_flush()
459 ATLOG(atlog, AUDIO_THREAD_A2DP_THROTTLE_TIME, ts.tv_sec, in encode_and_flush()
470 ATLOG(atlog, AUDIO_THREAD_A2DP_WRITE, written, in encode_and_flush()
/external/adhd/scripts/audio_thread_log_viewer/
DREADME.md15 2019-07-02T15:30:46.539479158 cras atlog SET_DEV_WAKE dev:7 hw_level:216 sleep:1…
16 2019-07-02T15:30:46.539482658 cras atlog DEV_SLEEP_TIME dev:7 wake: 15:30:46.54297…
17 2019-07-02T15:30:46.539492991 cras atlog DEV_SLEEP_TIME dev:8 wake: 15:30:46.53935…
18 2019-07-02T15:30:46.539501241 cras atlog SLEEP sleep:000000000.000000000 …
/external/adhd/cras/src/tests/
Dloopback_iodev_unittest.cc11 struct audio_thread_event_log* atlog; variable
72 atlog = audio_thread_event_log_init(atlog_name); in SetUp()
81 audio_thread_event_log_deinit(atlog, atlog_name); in TearDown()
Ddev_io_unittest.cc22 struct audio_thread_event_log* atlog; variable
46 atlog = static_cast<audio_thread_event_log*>(calloc(1, sizeof(*atlog))); in SetUp()
54 virtual void TearDown() { free(atlog); } in TearDown()
Da2dp_iodev_unittest.cc107 atlog = (audio_thread_event_log*)calloc(1, sizeof(audio_thread_event_log)); in SetUp()
113 free(atlog); in TearDown()
934 struct audio_thread_event_log* atlog; variable
Dtiming_unittest.cc22 struct audio_thread_event_log* atlog; variable
37 atlog = static_cast<audio_thread_event_log*>(calloc(1, sizeof(*atlog))); in SetUp()
42 virtual void TearDown() { free(atlog); } in TearDown()
Ddev_stream_unittest.cc21 struct audio_thread_event_log* atlog; variable
155 atlog = audio_thread_event_log_init(atlog_name); in SetUp()
190 audio_thread_event_log_deinit(atlog, atlog_name); in TearDown()
Diodev_unittest.cc84 struct audio_thread_event_log* atlog; variable
175 if (!atlog) { in ResetStubData()
181 atlog = audio_thread_event_log_init(atlog_name); in ResetStubData()
2798 audio_thread_event_log_deinit(atlog, atlog_name); in main()