/frameworks/av/media/libstagefright/ |
D | SkipCutBuffer.cpp | 31 mCapacity = 0; in SkipCutBuffer() 50 mCapacity = cut + 4096; in SkipCutBuffer() 51 mCutBuffer = new (std::nothrow) char[mCapacity]; in SkipCutBuffer() 52 ALOGV("skipcutbuffer %zu %zu %d", skip, cut, mCapacity); in SkipCutBuffer() 139 if (sizeused < 0) sizeused += mCapacity; in write() 144 size_t available = mCapacity - sizeused - 32; in write() 146 int32_t newcapacity = mCapacity + (num - available); in write() 148 memcpy(newbuffer, mCutBuffer, mCapacity); in write() 150 mCapacity = newcapacity; in write() 155 size_t copyfirst = (mCapacity - mWriteHead); in write() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | RingBufferIndices.java | 24 private final int mCapacity; field in RingBufferIndices 34 mCapacity = capacity; in RingBufferIndices() 43 if (mSize < mCapacity) { in add() 50 if (mStart == mCapacity) { in add() 77 if (index >= mCapacity) { in indexOf() 78 index -= mCapacity; in indexOf()
|
D | TokenBucket.java | 42 private final int mCapacity; // Maximum number of tokens that can be stored. field in TokenBucket 55 mCapacity = checkArgumentPositive(capacity, "capacity must be strictly positive"); in TokenBucket() 56 mAvailable = Math.min(checkArgumentNonnegative(tokens), mCapacity); in TokenBucket() 73 mAvailable = Math.min(tokens, mCapacity); in reset() 79 return mCapacity; in capacity() 121 mAvailable = Math.min(mCapacity, mAvailable + diff); in fill()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ABuffer.cpp | 33 mCapacity = 0; in ABuffer() 36 mCapacity = capacity; in ABuffer() 44 mCapacity(capacity), in ABuffer() 74 CHECK_LE(offset, mCapacity); in setRange() 75 CHECK_LE(offset + size, mCapacity); in setRange()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AutomaticBrightnessController.java | 625 private int mCapacity; field in AutomaticBrightnessController.AmbientLightRingBuffer 634 mCapacity = (int) Math.ceil(ambientLightHorizon * BUFFER_SLACK / lightSensorRate); in AmbientLightRingBuffer() 635 mRingLux = new float[mCapacity]; in AmbientLightRingBuffer() 636 mRingTime = new long[mCapacity]; in AmbientLightRingBuffer() 649 if (mCount == mCapacity) { in push() 650 int newSize = mCapacity * 2; in push() 654 int length = mCapacity - mStart; in push() 664 next = mCapacity; in push() 665 mCapacity = newSize; in push() 671 if (mEnd == mCapacity) { in push() [all …]
|
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoControllerBase.cpp | 27 : mCapacity(capacity) in FifoControllerBase() 41 return (fifo_frames_t) (getReadCounter() % mCapacity); in getReadIndex() 54 return (fifo_frames_t) (getWriteCounter() % mCapacity); in getWriteIndex()
|
D | FifoControllerBase.h | 114 return mCapacity; in getCapacity() 119 fifo_frames_t mCapacity;
|
/frameworks/av/media/libstagefright/include/foundation/ |
D | ABuffer.h | 38 size_t capacity() const { return mCapacity; } in capacity() 64 size_t mCapacity; member
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | IpConnectivityMetrics.java | 87 private int mCapacity; field in IpConnectivityMetrics 127 mCapacity = bufferCapacity(); in initBuffer() 128 mBuffer = new ArrayList<>(mCapacity); in initBuffer() 135 final int left = mCapacity - mBuffer.size(); in append() 222 pw.println("Buffer capacity: " + mCapacity); in cmdStats()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | NetworkDetail.java | 65 private final int mCapacity; field in NetworkDetail 250 mCapacity = bssLoad.capacity; in NetworkDetail() 331 mCapacity = base.mCapacity; in NetworkDetail() 400 return mCapacity; in getCapacity() 497 mChannelUtilization, mCapacity, mAnt, mInternet, in toString()
|
/frameworks/av/media/libstagefright/include/ |
D | SkipCutBuffer.h | 60 int32_t mCapacity; variable
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 831 private int mCapacity; field in WificondScannerImpl.ScanBuffer 834 mCapacity = capacity; in ScanBuffer() 835 mBuffer = new ArrayDeque<>(mCapacity); in ScanBuffer() 843 return mCapacity; in capacity() 847 return size() == mCapacity; in isFull()
|
/frameworks/av/media/libstagefright/codec2/include/ |
D | C2Buffer.h | 252 inline uint32_t capacity() const { return mCapacity; } in capacity() 265 : mCapacity(capacity) { } in _C2LinearCapacityAspect() 268 : mCapacity(parent == nullptr ? 0 : parent->capacity()) { } in _C2LinearCapacityAspect() 271 const uint32_t mCapacity;
|