Searched refs:next_cb_ts (Results 1 – 8 of 8) sorted by relevance
/external/adhd/cras/src/tests/ |
D | timing_unittest.cc | 87 stream->rstream->next_cb_ts = start; in TEST_F() 97 EXPECT_EQ(dev_time.tv_sec, streams[0]->rstream->next_cb_ts.tv_sec); in TEST_F() 98 EXPECT_EQ(dev_time.tv_nsec, streams[0]->rstream->next_cb_ts.tv_nsec); in TEST_F() 116 stream->rstream->next_cb_ts = start; in TEST_F() 147 stream->rstream->next_cb_ts = start; in TEST_F() 175 stream->rstream->next_cb_ts = start; in TEST_F() 204 stream1->rstream->next_cb_ts = start; in TEST_F() 210 stream2->rstream->next_cb_ts = start; in TEST_F() 240 stream1->rstream->next_cb_ts = start; in TEST_F() 245 stream2->rstream->next_cb_ts = start; in TEST_F() [all …]
|
D | dev_stream_unittest.cc | 711 rstream_.next_cb_ts.tv_sec = 1; in TEST_F() 712 rstream_.next_cb_ts.tv_nsec = 0; in TEST_F() 762 EXPECT_EQ(expected_next_cb_ts.tv_sec, rstream_.next_cb_ts.tv_sec); in TEST_F() 763 EXPECT_EQ(expected_next_cb_ts.tv_nsec, rstream_.next_cb_ts.tv_nsec); in TEST_F() 768 rstream_.next_cb_ts.tv_sec = 1; in TEST_F() 769 rstream_.next_cb_ts.tv_nsec = 0; in TEST_F() 786 EXPECT_EQ(expected_next_cb_ts.tv_sec, rstream_.next_cb_ts.tv_sec); in TEST_F() 787 EXPECT_EQ(expected_next_cb_ts.tv_nsec, rstream_.next_cb_ts.tv_nsec); in TEST_F() 805 rstream_.next_cb_ts.tv_sec = 1; in TEST_F() 806 rstream_.next_cb_ts.tv_nsec = 0; in TEST_F() [all …]
|
D | dev_io_unittest.cc | 55 stream->rstream->next_cb_ts = start; in TEST_F()
|
/external/adhd/cras/src/server/ |
D | dev_stream.c | 134 stream->next_cb_ts = *cb_ts; in dev_stream_create() 141 add_timespecs(&stream->next_cb_ts, &stream->sleep_interval_ts); in dev_stream_create() 142 add_timespecs(&stream->next_cb_ts, &extra_sleep); in dev_stream_create() 509 if (timespec_after(&now, &rstream->next_cb_ts)) { in check_next_wake_time() 510 rstream->next_cb_ts = now; in check_next_wake_time() 511 add_timespecs(&rstream->next_cb_ts, in check_next_wake_time() 528 return timespec_after(&now, &rstream->next_cb_ts); in late_enough_for_capture_callback() 572 add_timespecs(&rstream->next_cb_ts, in dev_stream_capture_update_rstream() 670 add_timespecs(&rstream->next_cb_ts, in dev_stream_request_playback_samples() 758 *wake_time_out = rstream->next_cb_ts; in get_input_wake_time() [all …]
|
D | audio_thread.c | 773 const struct timespec *next_cb_ts; in get_next_stream_wake_from_list() local 781 next_cb_ts = dev_stream_next_cb_ts(dev_stream); in get_next_stream_wake_from_list() 782 if (!next_cb_ts) in get_next_stream_wake_from_list() 786 dev_stream->stream->stream_id, next_cb_ts->tv_sec, in get_next_stream_wake_from_list() 787 next_cb_ts->tv_nsec); in get_next_stream_wake_from_list() 788 if (timespec_after(min_ts, next_cb_ts)) in get_next_stream_wake_from_list() 789 *min_ts = *next_cb_ts; in get_next_stream_wake_from_list()
|
D | dev_io.c | 117 const struct timespec *next_cb_ts; in fetch_streams() local 134 next_cb_ts = dev_stream_next_cb_ts(dev_stream); in fetch_streams() 135 if (!next_cb_ts) in fetch_streams() 141 if (!timespec_after(&now, next_cb_ts)) in fetch_streams()
|
D | dev_stream.h | 193 return &dev_stream->stream->next_cb_ts; in dev_stream_next_cb_ts()
|
D | cras_rstream.h | 85 struct timespec next_cb_ts; member
|