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.cpp58 setPositionAndTime(convertTimeToPosition(nanoTime), nanoTime); in stop()
169 int64_t IsochronousClockModel::convertTimeToPosition(int64_t nanoTime) const { in convertTimeToPosition() function in IsochronousClockModel
DAudioStreamInternalCapture.cpp92 int64_t estimatedRemoteCounter = mClockModel.convertTimeToPosition(currentNanoTime); in processDataNow()
214 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesWritten()
DIsochronousClockModel.h87 int64_t convertTimeToPosition(int64_t nanoTime) const;
DAudioStreamInternalPlay.cpp140 int64_t estimatedReadCounter = mClockModel.convertTimeToPosition(currentNanoTime); in processDataNow()
248 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesRead()