Searched refs:mCapacity (Results 1 – 8 of 8) sorted by relevance
/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() 130 if (sizeused < 0) sizeused += mCapacity; in write() 135 size_t available = mCapacity - sizeused - 32; in write() 137 int32_t newcapacity = mCapacity + (num - available); in write() 139 memcpy(newbuffer, mCutBuffer, mCapacity); in write() 141 mCapacity = newcapacity; in write() 146 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()
|
/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 | 643 private int mCapacity; field in AutomaticBrightnessController.AmbientLightRingBuffer 652 mCapacity = (int) Math.ceil(ambientLightHorizon * BUFFER_SLACK / lightSensorRate); in AmbientLightRingBuffer() 653 mRingLux = new float[mCapacity]; in AmbientLightRingBuffer() 654 mRingTime = new long[mCapacity]; in AmbientLightRingBuffer() 667 if (mCount == mCapacity) { in push() 668 int newSize = mCapacity * 2; in push() 672 int length = mCapacity - mStart; in push() 682 next = mCapacity; in push() 683 mCapacity = newSize; in push() 689 if (mEnd == mCapacity) { in push() [all …]
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ABuffer.h | 38 size_t capacity() const { return mCapacity; } in capacity() 64 size_t mCapacity; member
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | NetworkDetail.java | 66 private final int mCapacity; field in NetworkDetail 245 mCapacity = bssLoad.capacity; in NetworkDetail() 325 mCapacity = base.mCapacity; in NetworkDetail() 394 return mCapacity; in getCapacity() 503 mChannelUtilization, mCapacity, mAnt, mInternet, in toString()
|
/frameworks/av/include/media/stagefright/ |
D | SkipCutBuffer.h | 56 int32_t mCapacity; variable
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | SupplicantWifiScannerImpl.java | 831 private int mCapacity; field in SupplicantWifiScannerImpl.ScanBuffer 834 mCapacity = capacity; in ScanBuffer() 835 mBuffer = new ArrayDeque<>(mCapacity); in ScanBuffer() 843 return mCapacity; in capacity() 847 return size() == mCapacity; in isFull()
|