Home
last modified time | relevance | path

Searched refs:wake_ts (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/server/
Ddev_io.c368 adev->wake_ts = min_ts; in set_input_dev_wake_ts()
585 adev->dev, hw_level, &adev->wake_ts); in update_dev_wakeup_time()
586 if (!timespec_is_nonzero(&adev->wake_ts)) in update_dev_wakeup_time()
587 adev->wake_ts = now; in update_dev_wakeup_time()
603 add_timespecs(&adev->wake_ts, &sleep_time); in update_dev_wakeup_time()
606 adev->wake_ts.tv_sec, adev->wake_ts.tv_nsec); in update_dev_wakeup_time()
915 adev->wake_ts.tv_sec, adev->wake_ts.tv_nsec); in dev_io_next_input_wake()
916 if (timespec_after(min_ts, &adev->wake_ts)) in dev_io_next_input_wake()
917 *min_ts = adev->wake_ts; in dev_io_next_input_wake()
Ddev_io.h26 struct timespec wake_ts; member
Daudio_thread.c813 if (timespec_after(min_ts, &adev->wake_ts)) in get_next_output_wake()
814 *min_ts = adev->wake_ts; in get_next_output_wake()
/external/adhd/cras/src/tests/
Daudio_thread_unittest.cc417 EXPECT_EQ(ts_wake_1.tv_sec, adev->wake_ts.tv_sec); in TEST_F()
418 EXPECT_EQ(ts_wake_1.tv_nsec, adev->wake_ts.tv_nsec); in TEST_F()