/external/adhd/cras/src/tests/ |
D | server_metrics_unittest.cc | 180 subtract_timespecs(&clock_gettime_retspec, &stream.start_ts, &diff_ts); in TEST() 189 subtract_timespecs(&clock_gettime_retspec, &stream.first_missed_cb_ts, in TEST() 216 subtract_timespecs(&clock_gettime_retspec, &stream.start_ts, &diff_ts); in TEST() 225 subtract_timespecs(&clock_gettime_retspec, &stream.first_missed_cb_ts, in TEST() 251 subtract_timespecs(&clock_gettime_retspec, &stream.start_ts, &diff_ts); in TEST() 266 subtract_timespecs(&clock_gettime_retspec, &stream.first_missed_cb_ts, in TEST() 292 subtract_timespecs(&clock_gettime_retspec, &stream.start_ts, &diff_ts); in TEST() 307 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 | 373 subtract_timespecs(&now, &iodev->open_ts, &data.device_data.runtime); in cras_server_metrics_device_runtime() 514 subtract_timespecs(&now, &stream->start_ts, &time_since); in cras_server_metrics_missed_cb_frequency() 545 subtract_timespecs(&now, &stream->first_missed_cb_ts, &time_since); in cras_server_metrics_missed_cb_frequency() 585 subtract_timespecs(&stream->first_missed_cb_ts, &stream->start_ts, in cras_server_metrics_missed_cb_first_time() 616 subtract_timespecs(&now, &stream->first_missed_cb_ts, &time_since); in cras_server_metrics_missed_cb_second_time()
|
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 | 108 subtract_timespecs(&now_time, last_snapshot_time, &diff_time); in handle_audio_thread_event_message()
|
D | rate_estimator.c | 89 subtract_timespecs(now, &re->window_start_ts, &td); in rate_estimator_check()
|
D | cras_tm.c | 122 subtract_timespecs(min, &now, ts); in cras_tm_get_next_timeout()
|
D | audio_thread.c | 507 subtract_timespecs(&now, &adev->dev->open_ts, &time_since); in append_dev_dump_info() 555 subtract_timespecs(&now, &stream->stream->start_ts, &time_since); in append_stream_dump_info() 739 subtract_timespecs(&min_ts, &now, ts); in fill_next_sleep_interval() 785 subtract_timespecs(&now, &start_time, &diff); in log_busyloop()
|
D | dev_io.c | 1071 subtract_timespecs(ts, &adev->last_wake, in update_longest_wake() 1413 subtract_timespecs(&stream->longest_fetch_interval, in dev_io_remove_stream()
|
D | cras_rstream.c | 378 subtract_timespecs(now, &rstream->last_fetch_ts, &ts); in cras_rstream_record_fetch_interval()
|
D | cras_dsp_pipeline.c | 876 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/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()
|
D | cras_util.c | 213 subtract_timespecs(&future, &now, timeout); in cras_poll()
|
/external/adhd/cras/src/libcras/ |
D | cras_client.c | 3082 subtract_timespecs(sample_time, &now, delay); in cras_client_calc_playback_latency() 3097 subtract_timespecs(&now, sample_time, delay); in cras_client_calc_capture_latency()
|