Searched refs:getWriteCounter (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoControllerBase.cpp | 37 __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()
|
D | FifoBuffer.h | 89 fifo_counter_t getWriteCounter() { in getWriteCounter() function 90 return mFifo->getWriteCounter(); in getWriteCounter()
|
D | FifoControllerBase.h | 63 virtual fifo_counter_t getWriteCounter() = 0;
|
D | FifoController.h | 48 virtual fifo_counter_t getWriteCounter() override { in getWriteCounter() function
|
D | FifoControllerIndirect.h | 58 virtual fifo_counter_t getWriteCounter() override { in getWriteCounter() function
|
/frameworks/av/media/libaaudio/tests/ |
D | test_atomic_fifo.cpp | 41 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/ |
D | AAudioServiceStreamShared.cpp | 281 clientFramesWritten = fifo->getWriteCounter(); in writeDataIfRoom() 292 clientFramesWritten = fifo->getWriteCounter(); in writeDataIfRoom()
|
D | SharedRingBuffer.cpp | 111 int32_t writeCounter = mFifoBuffer->getWriteCounter(); in dump()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioEndpoint.cpp | 227 return mDataQueue->getWriteCounter(); in getDataWriteCounter()
|