/external/adhd/cras/src/common/ |
D | cras_util.h | 87 static inline void subtract_timespecs(const struct timespec *end, in subtract_timespecs() function 186 subtract_timespecs(&now, beg, &time_since); in cras_frames_since_time() 200 subtract_timespecs(end, &now, &time_until); in cras_frames_until_time() 211 subtract_timespecs(a, b, &diff); in timespec_diff_shorter_than() 213 subtract_timespecs(b, a, &diff); in timespec_diff_shorter_than()
|
D | cras_util.c | 213 subtract_timespecs(&future, &now, timeout); in cras_poll()
|
/external/adhd/cras/src/tests/ |
D | server_metrics_unittest.cc | 164 subtract_timespecs(&clock_gettime_retspec, &stream.start_ts, &diff_ts); in TEST() 179 subtract_timespecs(&clock_gettime_retspec, &stream.first_missed_cb_ts, in TEST() 205 subtract_timespecs(&clock_gettime_retspec, &stream.start_ts, &diff_ts); in TEST() 220 subtract_timespecs(&clock_gettime_retspec, &stream.first_missed_cb_ts, in TEST() 282 subtract_timespecs(&clock_gettime_retspec, &stream.start_ts, &diff_ts); in TEST() 294 subtract_timespecs(&clock_gettime_retspec, &stream.first_missed_cb_ts, in TEST()
|
D | timing_unittest.cc | 530 subtract_timespecs(&dev_time, &start, &delta); in TEST_F() 561 subtract_timespecs(&dev_time, &start, &delta); in TEST_F() 591 subtract_timespecs(&dev_time, &start, &delta); in TEST_F() 627 subtract_timespecs(&dev_time, &start, &delta2); in TEST_F() 661 subtract_timespecs(&dev_time, &start, &delta2); in TEST_F() 698 subtract_timespecs(&dev_time, &start, &delta2); in TEST_F() 728 subtract_timespecs(&dev_time, &start, &delta); in TEST_F() 764 subtract_timespecs(&dev_time, &start, &delta); in TEST_F() 802 subtract_timespecs(&dev_time, &start, &delta); in TEST_F()
|
/external/adhd/cras/src/server/ |
D | cras_server_metrics.c | 616 subtract_timespecs(&now, &iodev->open_ts, &data.device_data.runtime); in cras_server_metrics_device_runtime() 780 subtract_timespecs(&stream->longest_fetch_interval, in cras_server_metrics_longest_fetch_delay() 827 subtract_timespecs(&now, &stream->start_ts, &time_since); in cras_server_metrics_missed_cb_frequency() 858 subtract_timespecs(&now, &stream->first_missed_cb_ts, &time_since); in cras_server_metrics_missed_cb_frequency() 898 subtract_timespecs(&stream->first_missed_cb_ts, &stream->start_ts, in cras_server_metrics_missed_cb_first_time() 929 subtract_timespecs(&now, &stream->first_missed_cb_ts, &time_since); in cras_server_metrics_missed_cb_second_time() 1011 subtract_timespecs(&now, &stream->start_ts, &data.stream_data.runtime); in cras_server_metrics_stream_runtime()
|
D | polled_interval_checker.c | 20 subtract_timespecs(&now, last_active_ts, &diff); in get_sec_since_last_active()
|
D | cras_audio_thread_monitor.c | 123 subtract_timespecs(&now_time, last_snapshot_time, &diff_time); in handle_audio_thread_event_message()
|
D | cras_tm.c | 122 subtract_timespecs(min, &now, ts); in cras_tm_get_next_timeout()
|
D | audio_thread.c | 506 subtract_timespecs(&now, &adev->dev->open_ts, &time_since); in append_dev_dump_info() 554 subtract_timespecs(&now, &stream->stream->start_ts, &time_since); in append_stream_dump_info() 741 subtract_timespecs(&min_ts, &now, ts); in fill_next_sleep_interval() 784 subtract_timespecs(&now, &start_time, &diff); in log_busyloop()
|
D | cras_rstream.c | 368 subtract_timespecs(now, &rstream->last_fetch_ts, &ts); in cras_rstream_record_fetch_interval()
|
D | cras_a2dp_iodev.c | 457 subtract_timespecs(&now, &a2dpio->next_flush_time, &ts); in encode_and_flush()
|
D | dev_io.c | 1009 subtract_timespecs(&now, &last_io_err_time, &diff); in handle_dev_err() 1166 subtract_timespecs(ts, &adev->last_wake, in update_longest_wake()
|
D | cras_dsp_pipeline.c | 888 subtract_timespecs(&end, &begin, &delta); in cras_dsp_pipeline_apply()
|
D | cras_iodev_list.c | 432 subtract_timespecs(&min_idle_expiration, &now, &timeout); in idle_dev_check()
|
/external/adhd/cras/src/libcras/ |
D | cras_client.c | 3175 subtract_timespecs(sample_time, &now, delay); in cras_client_calc_playback_latency() 3190 subtract_timespecs(&now, sample_time, delay); in cras_client_calc_capture_latency()
|