Home
last modified time | relevance | path

Searched refs:sleep_interval_ts (Results 1 – 11 of 11) sorted by relevance

/external/adhd/cras/src/server/
Ddev_stream.c67 const struct timespec *sleep_interval_ts) in dev_stream_create() argument
127 if (sleep_interval_ts) { in dev_stream_create()
128 stream->sleep_interval_ts = *sleep_interval_ts; in dev_stream_create()
132 &stream->sleep_interval_ts); in dev_stream_create()
168 &dev_stream->stream->sleep_interval_ts); in dev_stream_set_dev_rate()
479 &rstream->sleep_interval_ts); in check_next_wake_time()
498 &rstream->sleep_interval_ts); in dev_stream_update_next_wake_time()
502 add_timespecs(&rstream->next_cb_ts, &rstream->sleep_interval_ts); in dev_stream_update_next_wake_time()
Ddev_stream.h69 const struct timespec *sleep_interval_ts);
224 return &dev_stream->stream->sleep_interval_ts; in dev_stream_sleep_interval_ts()
Dcras_rstream.h83 struct timespec sleep_interval_ts; member
Dcras_server_metrics.c776 &stream->sleep_interval_ts)) { in cras_server_metrics_longest_fetch_delay()
781 &stream->sleep_interval_ts, in cras_server_metrics_longest_fetch_delay()
Ddev_io.c1373 const struct timespec **sleep_interval_ts) in find_matched_input_stream_next_cb_ts() argument
1379 *sleep_interval_ts = dev_stream_sleep_interval_ts(dev_stream); in find_matched_input_stream_next_cb_ts()
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc362 EXPECT_EQ(init_sleep_ts.tv_sec, rstream_.sleep_interval_ts.tv_sec); in TEST_F()
363 EXPECT_EQ(init_sleep_ts.tv_nsec, rstream_.sleep_interval_ts.tv_nsec); in TEST_F()
595 EXPECT_EQ(0, rstream_.sleep_interval_ts.tv_sec); in TEST_F()
596 EXPECT_EQ(expected_ts_nsec, rstream_.sleep_interval_ts.tv_nsec); in TEST_F()
603 EXPECT_EQ(0, rstream_.sleep_interval_ts.tv_sec); in TEST_F()
604 EXPECT_EQ(expected_ts_nsec, rstream_.sleep_interval_ts.tv_nsec); in TEST_F()
611 EXPECT_EQ(0, rstream_.sleep_interval_ts.tv_sec); in TEST_F()
612 EXPECT_EQ(expected_ts_nsec, rstream_.sleep_interval_ts.tv_nsec); in TEST_F()
771 add_timespecs(&expected_next_cb_ts, &rstream_.sleep_interval_ts); in TEST_F()
795 add_timespecs(&expected_next_cb_ts, &rstream_.sleep_interval_ts); in TEST_F()
[all …]
Dtiming_unittest.cc840 in_stream->rstream->sleep_interval_ts.tv_sec = 321; in TEST_F()
841 in_stream->rstream->sleep_interval_ts.tv_nsec = 123; in TEST_F()
852 EXPECT_EQ(in_stream->rstream->sleep_interval_ts.tv_sec, in TEST_F()
853 rstream->sleep_interval_ts.tv_sec); in TEST_F()
854 EXPECT_EQ(in_stream->rstream->sleep_interval_ts.tv_nsec, in TEST_F()
855 rstream->sleep_interval_ts.tv_nsec); in TEST_F()
Dserver_metrics_unittest.cc274 stream.sleep_interval_ts.tv_sec = 0; in TEST()
275 stream.sleep_interval_ts.tv_nsec = 5000000; in TEST()
Ddev_io_stubs.cc64 &rstream->sleep_interval_ts); in create_rstream()
Ddev_io_unittest.cc455 const struct timespec* sleep_interval_ts) { in dev_stream_create() argument
Daudio_thread_unittest.cc1230 const struct timespec* sleep_interval_ts) { in dev_stream_create() argument
1234 sleep_interval_ts_ = *sleep_interval_ts; in dev_stream_create()