Home
last modified time | relevance | path

Searched refs:wake_time_out (Results 1 – 5 of 5) sorted by relevance

/external/adhd/cras/src/server/
Ddev_stream.c673 struct timespec *wake_time_out) in get_input_wake_time() argument
724 *wake_time_out = rstream->next_cb_ts; in get_input_wake_time()
743 *wake_time_out = time_for_sample; in get_input_wake_time()
746 *wake_time_out = time_for_sample; in get_input_wake_time()
749 dev_stream->stream->stream_id, wake_time_out->tv_sec, in get_input_wake_time()
750 wake_time_out->tv_nsec); in get_input_wake_time()
758 struct timespec *wake_time_out) in dev_stream_wake_time() argument
771 wake_time_out); in dev_stream_wake_time()
Ddev_stream.h194 struct timespec *wake_time_out);
Ddev_io.c428 struct timespec level_tstamp, wake_time_out, min_ts, now, dev_wake_ts; in set_input_dev_wake_ts() local
468 wake_time_out = min_ts; in set_input_dev_wake_ts()
471 &wake_time_out); in set_input_dev_wake_ts()
483 if (timespec_after(&min_ts, &wake_time_out)) { in set_input_dev_wake_ts()
484 min_ts = wake_time_out; in set_input_dev_wake_ts()
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc913 struct timespec wake_time_out = {.tv_sec = 0, .tv_nsec = 0}; in TEST_F() local
928 rstream_.cb_threshold, 0, &wake_time_out); in TEST_F()
931 EXPECT_EQ(rstream_.next_cb_ts.tv_sec, wake_time_out.tv_sec); in TEST_F()
932 EXPECT_EQ(rstream_.next_cb_ts.tv_nsec, wake_time_out.tv_nsec); in TEST_F()
944 struct timespec wake_time_out = {.tv_sec = 0, .tv_nsec = 0}; in TEST_F() local
989 rstream_.cb_threshold, 0, &wake_time_out); in TEST_F()
993 EXPECT_EQ(expected_tstamp.tv_sec, wake_time_out.tv_sec); in TEST_F()
994 EXPECT_EQ(expected_tstamp.tv_nsec, wake_time_out.tv_nsec); in TEST_F()
1001 rstream_.cb_threshold, 0, &wake_time_out); in TEST_F()
1002 EXPECT_EQ(rstream_.next_cb_ts.tv_sec, wake_time_out.tv_sec); in TEST_F()
[all …]
Ddev_io_unittest.cc423 struct timespec* wake_time_out) { in dev_stream_wake_time() argument