Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/fifo/
DFifoControllerBase.cpp35 __builtin_sub_overflow(getWriteCounter(), getReadCounter(), &temp); in getFullFramesAvailable()
41 return (fifo_frames_t) ((uint64_t)getReadCounter() % mCapacity); in getReadIndex()
46 __builtin_add_overflow(getReadCounter(), numFrames, &temp); in advanceReadIndex()
DFifoBuffer.h81 fifo_counter_t getReadCounter() { in getReadCounter() function
82 return mFifo->getReadCounter(); in getReadCounter()
DFifoControllerBase.h52 virtual fifo_counter_t getReadCounter() = 0;
DFifoController.h42 virtual fifo_counter_t getReadCounter() override { in getReadCounter() function
DFifoControllerIndirect.h50 virtual fifo_counter_t getReadCounter() override { in getReadCounter() function
/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp40 ASSERT_EQ(0, fifoController.getReadCounter()); in TEST()
49 ASSERT_EQ(0, fifoController.getReadCounter()); in TEST()
58 ASSERT_EQ(advanced, fifoController.getReadCounter()); in TEST()
69 ASSERT_EQ(advance1, fifoController.getReadCounter()); in TEST()
86 EXPECT_EQ(i - 10, fifoController.getReadCounter()); in TEST()
/frameworks/av/services/oboeservice/
DAAudioServiceEndpointPlay.cpp111 clientFramesRead = fifo->getReadCounter(); in callbackLoop()
130 clientFramesRead = fifo->getReadCounter(); in callbackLoop()
DSharedRingBuffer.cpp108 int32_t readCounter = mFifoBuffer->getReadCounter(); in dump()
/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp237 return mDataQueue == nullptr ? 0 : mDataQueue->getReadCounter(); in getDataReadCounter()