Searched refs:sleep_interval_ts (Results 1 – 11 of 11) sorted by relevance
/external/adhd/cras/src/server/ |
D | dev_stream.c | 67 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()
|
D | dev_stream.h | 69 const struct timespec *sleep_interval_ts); 224 return &dev_stream->stream->sleep_interval_ts; in dev_stream_sleep_interval_ts()
|
D | cras_rstream.h | 83 struct timespec sleep_interval_ts; member
|
D | cras_server_metrics.c | 776 &stream->sleep_interval_ts)) { in cras_server_metrics_longest_fetch_delay() 781 &stream->sleep_interval_ts, in cras_server_metrics_longest_fetch_delay()
|
D | dev_io.c | 1373 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/ |
D | dev_stream_unittest.cc | 362 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 …]
|
D | timing_unittest.cc | 840 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()
|
D | server_metrics_unittest.cc | 274 stream.sleep_interval_ts.tv_sec = 0; in TEST() 275 stream.sleep_interval_ts.tv_nsec = 5000000; in TEST()
|
D | dev_io_stubs.cc | 64 &rstream->sleep_interval_ts); in create_rstream()
|
D | dev_io_unittest.cc | 455 const struct timespec* sleep_interval_ts) { in dev_stream_create() argument
|
D | audio_thread_unittest.cc | 1230 const struct timespec* sleep_interval_ts) { in dev_stream_create() argument 1234 sleep_interval_ts_ = *sleep_interval_ts; in dev_stream_create()
|