/external/adhd/cras/src/tests/ |
timing_unittest.cc | 87 stream->rstream->next_cb_ts = start; 97 EXPECT_EQ(dev_time.tv_sec, streams[0]->rstream->next_cb_ts.tv_sec); 98 EXPECT_EQ(dev_time.tv_nsec, streams[0]->rstream->next_cb_ts.tv_nsec); 116 stream->rstream->next_cb_ts = start; 147 stream->rstream->next_cb_ts = start; 175 stream->rstream->next_cb_ts = start; 204 stream1->rstream->next_cb_ts = start; 210 stream2->rstream->next_cb_ts = start; 240 stream1->rstream->next_cb_ts = start; 245 stream2->rstream->next_cb_ts = start [all...] |
dev_stream_unittest.cc | 710 // Assume there is a next_cb_ts on rstream. 711 rstream_.next_cb_ts.tv_sec = 1; 712 rstream_.next_cb_ts.tv_nsec = 0; 725 // Assume time is greater than next_cb_ts. 737 // Assume time is less than next_cb_ts. 757 // Check next_cb_ts is increased by one sleep interval. 762 EXPECT_EQ(expected_next_cb_ts.tv_sec, rstream_.next_cb_ts.tv_sec); 763 EXPECT_EQ(expected_next_cb_ts.tv_nsec, rstream_.next_cb_ts.tv_nsec); 768 rstream_.next_cb_ts.tv_sec = 1; 769 rstream_.next_cb_ts.tv_nsec = 0 [all...] |
dev_io_unittest.cc | 55 stream->rstream->next_cb_ts = start;
|
/external/adhd/cras/src/server/ |
dev_stream.c | 28 * next_cb_ts to avoid an extra wake of audio thread. 134 stream->next_cb_ts = *cb_ts; 141 add_timespecs(&stream->next_cb_ts, &stream->sleep_interval_ts); 142 add_timespecs(&stream->next_cb_ts, &extra_sleep); 509 if (timespec_after(&now, &rstream->next_cb_ts)) { 510 rstream->next_cb_ts = now; 511 add_timespecs(&rstream->next_cb_ts, 528 return timespec_after(&now, &rstream->next_cb_ts); 572 add_timespecs(&rstream->next_cb_ts, 670 add_timespecs(&rstream->next_cb_ts, [all...] |
dev_stream.h | 193 return &dev_stream->stream->next_cb_ts;
|
audio_thread.c | 773 const struct timespec *next_cb_ts; local 781 next_cb_ts = dev_stream_next_cb_ts(dev_stream); 782 if (!next_cb_ts) 786 dev_stream->stream->stream_id, next_cb_ts->tv_sec, 787 next_cb_ts->tv_nsec); 788 if (timespec_after(min_ts, next_cb_ts)) 789 *min_ts = *next_cb_ts; [all...] |
cras_rstream.h | 58 * next_cb_ts - Next callback time for this stream. 85 struct timespec next_cb_ts; member in struct:cras_rstream
|
dev_io.c | 117 const struct timespec *next_cb_ts; local 134 next_cb_ts = dev_stream_next_cb_ts(dev_stream); 135 if (!next_cb_ts) 141 if (!timespec_after(&now, next_cb_ts))
|