Home
last modified time | relevance | path

Searched refs:dev_wake_ts (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/tests/
Dtiming_unittest.cc79 const timespec* dev_wake_ts, in SingleOutputDevNextWake() argument
91 dev->odev->wake_ts = *dev_wake_ts; in SingleOutputDevNextWake()
997 struct timespec dev_wake_ts = start; in TEST_F() local
998 dev_wake_ts.tv_sec += 2; in TEST_F()
1001 SingleOutputDevNextWake(48000, 0, &start, &format, streams, &dev_wake_ts); in TEST_F()
1022 struct timespec dev_wake_ts = start; in TEST_F() local
1023 dev_wake_ts.tv_sec += 1; in TEST_F()
1026 SingleOutputDevNextWake(48000, 0, &start, &format, streams, &dev_wake_ts); in TEST_F()
1055 struct timespec dev_wake_ts = start; in TEST_F() local
1056 dev_wake_ts.tv_sec += 10; in TEST_F()
[all …]
/external/adhd/cras/src/server/
Ddev_io.c372 struct timespec dev_wake_ts, now; in get_input_dev_max_wake_ts() local
388 cras_frames_to_time(target_frames, dev_rate, &dev_wake_ts); in get_input_dev_max_wake_ts()
390 if (timespec_after(&dev_wake_ts, res_ts)) { in get_input_dev_max_wake_ts()
391 *res_ts = dev_wake_ts; in get_input_dev_max_wake_ts()
428 struct timespec level_tstamp, wake_time_out, min_ts, now, dev_wake_ts; in set_input_dev_wake_ts() local
493 rc = get_input_dev_max_wake_ts(adev, curr_level, &dev_wake_ts); in set_input_dev_wake_ts()
499 } else if (timespec_after(&min_ts, &dev_wake_ts)) { in set_input_dev_wake_ts()
500 min_ts = dev_wake_ts; in set_input_dev_wake_ts()