/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/av/media/codec2/sfplugin/ |
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 …]
|
D | SkipCutBuffer.h | 60 int32_t mCapacity; variable
|
/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/libaaudio/src/fifo/ |
D | FifoControllerBase.cpp | 27 : mCapacity(capacity) in FifoControllerBase() 41 return (fifo_frames_t) ((uint64_t)getReadCounter() % mCapacity); in getReadIndex() 54 return (fifo_frames_t) ((uint64_t)getWriteCounter() % mCapacity); in getWriteIndex() 62 if (threshold > mCapacity) { in setThreshold() 63 threshold = mCapacity; in setThreshold()
|
D | FifoControllerBase.h | 117 return mCapacity; in getCapacity() 122 fifo_frames_t mCapacity;
|
/frameworks/av/media/libstagefright/foundation/ |
D | ABuffer.cpp | 31 mCapacity = 0; in ABuffer() 34 mCapacity = capacity; in ABuffer() 41 mCapacity(capacity), in ABuffer() 69 CHECK_LE(offset, mCapacity); in setRange() 70 CHECK_LE(offset + size, mCapacity); in setRange()
|
/frameworks/native/services/inputflinger/ |
D | BlockingQueue.h | 37 BlockingQueue(size_t capacity) : mCapacity(capacity) { in BlockingQueue() 38 mQueue.reserve(mCapacity); in BlockingQueue() 66 if (mQueue.size() == mCapacity) { in push() 101 const size_t mCapacity;
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AutomaticBrightnessController.java | 980 private int mCapacity; field in AutomaticBrightnessController.AmbientLightRingBuffer 992 mCapacity = (int) Math.ceil(ambientLightHorizon * BUFFER_SLACK / lightSensorRate); in AmbientLightRingBuffer() 993 mRingLux = new float[mCapacity]; in AmbientLightRingBuffer() 994 mRingTime = new long[mCapacity]; in AmbientLightRingBuffer() 1007 if (mCount == mCapacity) { in push() 1008 int newSize = mCapacity * 2; in push() 1012 int length = mCapacity - mStart; in push() 1022 next = mCapacity; in push() 1023 mCapacity = newSize; in push() 1029 if (mEnd == mCapacity) { in push() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | Buffer.cpp | 32 mCapacity = 0; in Buffer() 35 mCapacity = capacity; in Buffer()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | Buffer.h | 38 size_t capacity() const { return mCapacity; } in capacity() 47 size_t mCapacity; member
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ABuffer.h | 37 size_t capacity() const { return mCapacity; } in capacity() 58 size_t mCapacity; member
|
/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() 330 mCapacity = base.mCapacity; in NetworkDetail() 399 return mCapacity; in getCapacity() 496 mChannelUtilization, mCapacity, mAnt, mInternet, in toString()
|
/frameworks/compile/slang/ |
D | slang_rs_reflection_state.h | 508 …ArrayWithCursor() : mState(S_Initial), mMembers(nullptr), mCapacity(0), mSize(0), mCursor(~size_t(… in ArrayWithCursor() 519 mCapacity = Size; in BeginCollecting() 524 slangAssert((mState == S_Collecting) && (mCursor + 1 == mSize) && (mSize < mCapacity)); in CollectNext() 530 slangAssert((mState == S_Collecting) && (mCursor + 1 == mSize) && (mSize == mCapacity)); in BeginUsing() 582 size_t mCapacity; variable
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | IpConnectivityMetrics.java | 110 private int mCapacity; field in IpConnectivityMetrics 157 mCapacity = bufferCapacity(); in initBuffer() 158 mBuffer = new ArrayList<>(mCapacity); in initBuffer() 166 final int left = mCapacity - mBuffer.size(); in append()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | SkipCutBuffer.h | 60 int32_t mCapacity; variable
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 343 inline constexpr uint32_t capacity() const { return mCapacity; } in capacity() 346 return C2Segment(0, mCapacity); in C2Segment() 360 : mCapacity(capacity) { } in _C2LinearCapacityAspect() 363 : mCapacity(parent == nullptr ? 0 : parent->capacity()) { } in _C2LinearCapacityAspect() 366 uint32_t mCapacity;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 99774 Lcom/android/internal/util/TokenBucket;->mCapacity:I
|