Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_clock_model.cpp65 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()
/frameworks/av/media/libaaudio/src/client/
DIsochronousClockModel.cpp80 setPositionAndTime(convertTimeToPosition(nanoTime), nanoTime); in stop()
237 int64_t IsochronousClockModel::convertTimeToPosition(int64_t nanoTime) const { in convertTimeToPosition() function in IsochronousClockModel
263 return convertTimeToPosition(nanoTime - getLateTimeOffsetNanos()); in convertLatestTimeToPosition()
DAudioStreamInternalPlay.cpp153 int64_t estimatedReadCounter = mClockModel.convertTimeToPosition(currentNanoTime); in processDataNow()
262 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesRead()
DIsochronousClockModel.h100 int64_t convertTimeToPosition(int64_t nanoTime) const;
DAudioStreamInternalCapture.cpp211 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesWritten()