Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_clock_model.cpp60 const int64_t markerTime = startTimeNanos + NANOS_PER_MILLISECOND in checkDriftingClock() local
64 model.processTimestamp(startPositionFrames, markerTime); in checkDriftingClock()
65 ASSERT_EQ(startPositionFrames, model.convertTimeToPosition(markerTime)); in checkDriftingClock()
137 int64_t markerTime = startTime + NANOS_PER_MILLISECOND + (200 * NANOS_PER_MICROSECOND); in TEST_F() local
140 model.processTimestamp(position, markerTime); in TEST_F()
141 EXPECT_EQ(position, model.convertTimeToPosition(markerTime)); in TEST_F()
144 EXPECT_EQ(position, model.convertTimeToPosition(markerTime + (73 * NANOS_PER_MICROSECOND))); in TEST_F()
147 EXPECT_EQ(markerTime + NANOS_PER_BURST, model.convertPositionToTime(position + 17)); in TEST_F()