Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp113 : mFifoBuffer(sizeof(int16_t), capacity, in TestFifoBuffer()
124 mFifoBuffer.setThreshold(threshold); in TestFifoBuffer()
133 ASSERT_EQ((int32_t)(2 * sizeof(int16_t)), mFifoBuffer.convertFramesToBytes(2)); in checkMisc()
134 ASSERT_EQ(mThreshold, mFifoBuffer.getThreshold()); in checkMisc()
148 fifo_frames_t firstFrameAfter = kFifoDataOffset + mFifoBuffer.getBufferCapacityInFrames(); in verifyStorageIntegrity()
162 mFifoBuffer.getEmptyFramesAvailable(); in verifyWrappingBuffer()
163 fifo_frames_t wrapAvailable = mFifoBuffer.getEmptyRoomAvailable(&wrappingBuffer); in verifyWrappingBuffer()
169 mFifoBuffer.getFullFramesAvailable(); in verifyWrappingBuffer()
170 wrapAvailable = mFifoBuffer.getFullDataAvailable(&wrappingBuffer); in verifyWrappingBuffer()
176 fifo_frames_t capacity = mFifoBuffer.getBufferCapacityInFrames(); in verifyWrappingBuffer()
[all …]
/frameworks/av/services/oboeservice/
DSharedRingBuffer.cpp35 mFifoBuffer.reset(); // uses mSharedMemory in ~SharedRingBuffer()
81 mFifoBuffer = std::make_shared<FifoBufferIndirect>(bytesPerFrame, capacityInFrames, in allocate()
95 ringBufferParcelable.setBytesPerFrame(mFifoBuffer->getBytesPerFrame()); in fillParcelable()
101 int32_t framesAvailable = mFifoBuffer->getFullFramesAvailable(); in getFractionalFullness()
102 int32_t capacity = mFifoBuffer->getBufferCapacityInFrames(); in getFractionalFullness()
108 int32_t readCounter = mFifoBuffer->getReadCounter(); in dump()
109 int32_t writeCounter = mFifoBuffer->getWriteCounter(); in dump()
DSharedRingBuffer.h61 return mFifoBuffer; in getFifoBuffer()
66 std::shared_ptr<android::FifoBufferIndirect> mFifoBuffer; variable
DSharedMemoryWrapper.h72 return mFifoBuffer; in getFifoBuffer()
81 std::shared_ptr<android::FifoBufferIndirect> mFifoBuffer; variable
DSharedMemoryWrapper.cpp89 mFifoBuffer = std::make_shared<android::FifoBufferIndirect>( in setupFifoBuffer()
96 mFifoBuffer.reset(); in reset()