HomeSort by relevance Sort by last modified time
    Searched refs:mMaxBufferSize (Results 1 - 4 of 4) sorted by null

  /frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
BufferPool.java 27 private final int mMaxBufferSize;
34 mMaxBufferSize = maxBufferSize;
83 if (capacity > mMaxBufferSize) {
84 if (needed > mMaxBufferSize) {
86 + " is larger than maximum buffer size " + mMaxBufferSize + ".");
88 capacity = mMaxBufferSize;
  /frameworks/av/include/media/
RingBuffer.h 168 size_t mMaxBufferSize;
174 RingBuffer<T>::RingBuffer(size_t length) : mFrontIdx{0}, mMaxBufferSize{length} {}
266 if (mBuffer.size() < mMaxBufferSize) {
268 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
273 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
278 if (mBuffer.size() != mMaxBufferSize) {
280 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
286 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
292 if (mBuffer.size() != mMaxBufferSize) {
294 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
    [all...]
  /frameworks/native/services/sensorservice/
RingBuffer.h 168 size_t mMaxBufferSize;
174 RingBuffer<T>::RingBuffer(size_t length) : mFrontIdx{0}, mMaxBufferSize{length} {}
266 if (mBuffer.size() < mMaxBufferSize) {
268 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
273 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
278 if (mBuffer.size() != mMaxBufferSize) {
280 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
286 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
292 if (mBuffer.size() != mMaxBufferSize) {
294 mFrontIdx = ((mFrontIdx + 1) % mMaxBufferSize);
    [all...]
  /frameworks/av/media/libstagefright/
FLACExtractor.cpp 123 size_t mMaxBufferSize;
493 mMaxBufferSize(0),
637 mMaxBufferSize = getMaxBlockSize() * getChannels() * sizeof(short);
638 mGroup->add_buffer(new MediaBuffer(mMaxBufferSize));
691 CHECK(bufferSize <= mMaxBufferSize);

Completed in 79 milliseconds