Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/fifo/
DFifoControllerBase.cpp37 __builtin_sub_overflow(getWriteCounter(), getReadCounter(), &temp); in getFullFramesAvailable()
58 return (fifo_frames_t) ((uint64_t)getWriteCounter() % mCapacity); in getWriteIndex()
63 __builtin_add_overflow(getWriteCounter(), numFrames, &temp); in advanceWriteIndex()
DFifoBuffer.h89 fifo_counter_t getWriteCounter() { in getWriteCounter() function
90 return mFifo->getWriteCounter(); in getWriteCounter()
DFifoControllerBase.h63 virtual fifo_counter_t getWriteCounter() = 0;
DFifoController.h48 virtual fifo_counter_t getWriteCounter() override { in getWriteCounter() function
DFifoControllerIndirect.h58 virtual fifo_counter_t getWriteCounter() override { in getWriteCounter() function
/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp41 ASSERT_EQ(0, fifoController.getWriteCounter()); in TEST()
51 ASSERT_EQ(advanced, fifoController.getWriteCounter()); in TEST()
60 ASSERT_EQ(advanced, fifoController.getWriteCounter()); in TEST()
71 ASSERT_EQ(advanced, fifoController.getWriteCounter()); in TEST()
94 EXPECT_EQ(i - 10, fifoController.getWriteCounter()); in TEST()
313 ASSERT_GT(mFifoBuffer.getWriteCounter(), 0); in checkHalfWrap()
315 ASSERT_LT(mFifoBuffer.getWriteCounter(), 0); // did we wrap past INT64_MAX? in checkHalfWrap()
323 ASSERT_LT(mFifoBuffer.getWriteCounter(), 0); in checkFullWrap()
325 ASSERT_GT(mFifoBuffer.getWriteCounter(), 0); // did we wrap past zero? in checkFullWrap()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp281 clientFramesWritten = fifo->getWriteCounter(); in writeDataIfRoom()
292 clientFramesWritten = fifo->getWriteCounter(); in writeDataIfRoom()
DSharedRingBuffer.cpp111 int32_t writeCounter = mFifoBuffer->getWriteCounter(); in dump()
/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp227 return mDataQueue->getWriteCounter(); in getDataWriteCounter()