Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Ddev_stream.c671 struct timespec *level_tstamp, in get_input_wake_time() argument
738 add_timespecs(&time_for_sample, level_tstamp); in get_input_wake_time()
756 struct timespec *level_tstamp, unsigned int cap_limit, in dev_stream_wake_time() argument
769 return get_input_wake_time(dev_stream, curr_level, level_tstamp, in dev_stream_wake_time()
Ddev_stream.h192 struct timespec *level_tstamp, unsigned int cap_limit,
Ddev_io.c428 struct timespec level_tstamp, wake_time_out, min_ts, now, dev_wake_ts; in set_input_dev_wake_ts() local
441 rc = cras_iodev_frames_queued(adev->dev, &level_tstamp); in set_input_dev_wake_ts()
445 if (!timespec_is_nonzero(&level_tstamp)) in set_input_dev_wake_ts()
446 clock_gettime(CLOCK_MONOTONIC_RAW, &level_tstamp); in set_input_dev_wake_ts()
469 rc = dev_stream_wake_time(stream, curr_level, &level_tstamp, in set_input_dev_wake_ts()
Dcras_iodev.h604 struct timespec *level_tstamp);
Dcras_iodev.c1252 struct timespec *level_tstamp) in cras_iodev_update_rate() argument
1259 return rate_estimator_check(iodev->rate_est, level, level_tstamp); in cras_iodev_update_rate()
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc912 struct timespec level_tstamp = {.tv_sec = 1, .tv_nsec = 0}; in TEST_F() local
927 rc = dev_stream_wake_time(dev_stream, curr_level, &level_tstamp, in TEST_F()
943 struct timespec level_tstamp = {.tv_sec = 1, .tv_nsec = 0}; in TEST_F() local
979 expected_tstamp.tv_sec = level_tstamp.tv_sec; in TEST_F()
980 expected_tstamp.tv_nsec = level_tstamp.tv_nsec; in TEST_F()
988 rc = dev_stream_wake_time(dev_stream, curr_level, &level_tstamp, in TEST_F()
1000 rc = dev_stream_wake_time(dev_stream, curr_level, &level_tstamp, in TEST_F()
Diodev_stub.cc117 struct timespec* level_tstamp) { in cras_iodev_update_rate() argument
Ddev_io_unittest.cc420 struct timespec* level_tstamp, in dev_stream_wake_time() argument
Daudio_thread_unittest.cc1112 struct timespec* level_tstamp) { in cras_iodev_update_rate() argument
1285 struct timespec* level_tstamp, in dev_stream_wake_time() argument