Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_a2dp_iodev.c63 struct timespec next_flush_time; member
339 clock_gettime(CLOCK_MONOTONIC_RAW, &a2dpio->next_flush_time); in start()
385 frames_until = cras_frames_until_time(&a2dpio->next_flush_time, in frames_to_play_in_sleep()
423 a2dpio->next_flush_time.tv_sec, a2dpio->next_flush_time.tv_nsec); in encode_and_flush()
438 if (!timespec_after(&now, &a2dpio->next_flush_time)) { in encode_and_flush()
457 subtract_timespecs(&now, &a2dpio->next_flush_time, &ts); in encode_and_flush()
494 add_timespecs(&a2dpio->next_flush_time, &a2dpio->flush_period); in encode_and_flush()
/external/adhd/cras/src/tests/
Da2dp_iodev_unittest.cc220 EXPECT_GT(a2dpio->next_flush_time.tv_nsec, 0); in TEST_F()
453 EXPECT_EQ(a2dpio->flush_period.tv_nsec, a2dpio->next_flush_time.tv_nsec); in TEST_F()
586 EXPECT_EQ(a2dpio->flush_period.tv_nsec, a2dpio->next_flush_time.tv_nsec); in TEST_F()
633 EXPECT_EQ(a2dpio->flush_period.tv_nsec, a2dpio->next_flush_time.tv_nsec); in TEST_F()
693 EXPECT_EQ(a2dpio->flush_period.tv_nsec, a2dpio->next_flush_time.tv_nsec); in TEST_F()