Home
last modified time | relevance | path

Searched refs:level_tstamp (Results 1 – 8 of 8) sorted by relevance

/external/adhd/cras/src/server/
Ddev_io.c306 struct timespec level_tstamp, wake_time_out, min_ts, now, dev_wake_ts; in set_input_dev_wake_ts() local
317 rc = cras_iodev_frames_queued(adev->dev, &level_tstamp); in set_input_dev_wake_ts()
321 if (!timespec_is_nonzero(&level_tstamp)) in set_input_dev_wake_ts()
322 clock_gettime(CLOCK_MONOTONIC_RAW, &level_tstamp); in set_input_dev_wake_ts()
336 &level_tstamp, in set_input_dev_wake_ts()
Ddev_stream.c704 struct timespec *level_tstamp, in get_input_wake_time() argument
773 add_timespecs(&time_for_sample, level_tstamp); in get_input_wake_time()
788 struct timespec *level_tstamp, in dev_stream_wake_time() argument
802 return get_input_wake_time(dev_stream, curr_level, level_tstamp, in dev_stream_wake_time()
Ddev_stream.h176 struct timespec *level_tstamp,
Dcras_iodev.h560 struct timespec *level_tstamp);
Dcras_iodev.c1163 struct timespec *level_tstamp) in cras_iodev_update_rate() argument
1170 return rate_estimator_check(iodev->rate_est, level, level_tstamp); in cras_iodev_update_rate()
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc903 struct timespec level_tstamp = {.tv_sec = 1, .tv_nsec = 0}; in TEST_F() local
919 &level_tstamp, rstream_.cb_threshold, 0, in TEST_F()
935 struct timespec level_tstamp = {.tv_sec = 1, .tv_nsec = 0}; in TEST_F() local
971 expected_tstamp.tv_sec = level_tstamp.tv_sec; in TEST_F()
972 expected_tstamp.tv_nsec = level_tstamp.tv_nsec; in TEST_F()
981 &level_tstamp, rstream_.cb_threshold, 0, in TEST_F()
994 &level_tstamp, rstream_.cb_threshold, 0, in TEST_F()
Diodev_stub.cc57 struct timespec *level_tstamp) { in cras_iodev_update_rate() argument
Daudio_thread_unittest.cc833 struct timespec *level_tstamp) in cras_iodev_update_rate() argument
1032 struct timespec *level_tstamp, in dev_stream_wake_time() argument