Searched refs:convertTimeToPosition (Results 1 – 5 of 5) sorted by relevance
65 ASSERT_EQ(startPositionFrames, model.convertTimeToPosition(markerTime)); in checkDriftingClock()83 ASSERT_EQ(alignedPosition, model.convertTimeToPosition(currentTimeNanos)); in checkDriftingClock()120 int64_t position = model.convertTimeToPosition(startTime); in TEST_F()127 position = model.convertTimeToPosition(time); 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()
80 setPositionAndTime(convertTimeToPosition(nanoTime), nanoTime); in stop()237 int64_t IsochronousClockModel::convertTimeToPosition(int64_t nanoTime) const { in convertTimeToPosition() function in IsochronousClockModel263 return convertTimeToPosition(nanoTime - getLateTimeOffsetNanos()); in convertLatestTimeToPosition()
153 int64_t estimatedReadCounter = mClockModel.convertTimeToPosition(currentNanoTime); in processDataNow()262 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesRead()
100 int64_t convertTimeToPosition(int64_t nanoTime) const;
211 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesWritten()