/frameworks/native/services/inputflinger/tests/ |
D | BlockingQueue_test.cpp | 32 constexpr size_t capacity = 10; in TEST() local 43 constexpr size_t capacity = 3; in TEST() local 58 constexpr size_t capacity = 10; in TEST() local 70 constexpr size_t capacity = 2; in TEST() local 82 constexpr size_t capacity = 4; in TEST() local 99 constexpr size_t capacity = 100; // large capacity to increase likelihood that threads overlap in TEST() local 124 constexpr size_t capacity = 1; in TEST() local
|
/frameworks/av/media/libaaudio/tests/ |
D | test_atomic_fifo.cpp | 33 constexpr int capacity = 83; in TEST() local 77 constexpr int capacity = 7; // arbitrary prime in TEST() local 111 explicit TestFifoBuffer(fifo_frames_t capacity, fifo_frames_t threshold = 0) in TestFifoBuffer() 175 fifo_frames_t capacity = mFifoBuffer.getBufferCapacityInFrames(); in verifyWrappingBuffer() local 255 const fifo_frames_t capacity = mFifoBuffer.getBufferCapacityInFrames(); in checkWriteRead() local 269 const fifo_frames_t capacity = mFifoBuffer.getBufferCapacityInFrames(); in checkWriteReadSmallLarge() local 341 constexpr int capacity = 51; // arbitrary in TEST() local 348 constexpr int capacity = 59; // arbitrary, a little bigger this time in TEST() local 354 constexpr int capacity = 51; // arbitrary in TEST() local 360 constexpr int capacity = 51; // arbitrary in TEST() local [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | ABuffer.cpp | 25 ABuffer::ABuffer(size_t capacity) in ABuffer() 39 ABuffer::ABuffer(void *data, size_t capacity) in ABuffer() 49 sp<ABuffer> ABuffer::CreateAsCopy(const void *data, size_t capacity) in CreateAsCopy()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TokenBucket.java | 53 public TokenBucket(int deltaMs, int capacity, int tokens) { in TokenBucket() 66 public TokenBucket(int deltaMs, int capacity) { in TokenBucket() 78 public int capacity() { in capacity() method in TokenBucket
|
D | RingBufferIndices.java | 33 public RingBufferIndices(int capacity) { in RingBufferIndices()
|
D | RingBuffer.java | 38 public RingBuffer(Class<T> c, int capacity) { in RingBuffer()
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Sets.java | 70 int capacity = elements.length * 4 / 3 + 1; in newHashSet() local 112 int capacity = elements.length * 4 / 3 + 1; in newArraySet() local
|
D | Lists.java | 63 int capacity = (elements.length * 110) / 100 + 5; in newArrayList() local
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | thread_local_buffer.h | 51 static void Reserve(std::size_t capacity) { in Reserve() 102 static void InitializeBuffer(std::size_t capacity) { in InitializeBuffer()
|
D | array_wrapper.h | 32 ArrayWrapper(pointer buffer, size_type capacity, size_type size) in ArrayWrapper() 81 size_type capacity() const { return capacity_; } in capacity() function
|
D | string_wrapper.h | 34 StringWrapper(pointer buffer, size_type capacity, size_type size) in StringWrapper() 87 size_type capacity() const { return capacity_; } in capacity() function
|
D | buffer_wrapper.h | 32 BufferWrapper(pointer buffer, size_type capacity, size_type size) in BufferWrapper() 81 size_type capacity() const { return capacity_; } in capacity() function 134 size_type capacity() const { return buffer_.capacity(); } in capacity() function
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
D | BufferPool.java | 68 int capacity = buffer.capacity(); in grow() local 79 private int chooseCapacity(int capacity, int needed) { in chooseCapacity()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | ring_buffer.h | 23 explicit RingBuffer(size_t capacity) { Reset(capacity); } in RingBuffer() 83 void Reset(size_t capacity) { in Reset()
|
/frameworks/base/core/java/android/util/apk/ |
D | ByteBufferFactory.java | 27 ByteBuffer create(int capacity); in create()
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
D | RingBufferTest.java | 91 int capacity = 100; in testRingBufferWithWrapping() local 132 int capacity = 100; in testGetNextSlot() local
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | Buffer.cpp | 27 Buffer::Buffer(size_t capacity) in Buffer()
|
/frameworks/base/libs/hwui/utils/ |
D | RingBuffer.h | 34 constexpr size_t capacity() const { return SIZE; } in capacity() function
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer_queue_internal.h | 38 size_t capacity() const { return producer_queue_->capacity(); } in capacity() function 74 size_t capacity() const { return consumer_queue_->capacity(); } in capacity() function
|
/frameworks/native/services/inputflinger/ |
D | BlockingQueue.h | 37 BlockingQueue(size_t capacity) : mCapacity(capacity) { in BlockingQueue()
|
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoControllerIndirect.h | 36 FifoControllerIndirect(fifo_frames_t capacity, in FifoControllerIndirect()
|
D | FifoControllerBase.cpp | 26 FifoControllerBase::FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold) in FifoControllerBase()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 55 [localBufferPool](size_t capacity) { in AllocateGraphicBuffer() 171 sp<ABuffer> LocalBufferPool::newBuffer(size_t capacity) { in newBuffer() 547 int32_t capacity = kLinearBufferSize; in Alloc() local 577 size_t capacity, in EncryptedLinearInputBuffers() 625 int32_t capacity = kLinearBufferSize; in Alloc() local 901 [lbp](size_t capacity) { in realloc() 1044 [lbp = mLocalBufferPool](size_t capacity) { in wrap() 1057 [lbp = mLocalBufferPool](size_t capacity) { in wrap() 1067 [lbp](size_t capacity) { in getAlloc()
|
/frameworks/av/media/libmedia/ |
D | MediaCodecBuffer.cpp | 42 size_t MediaCodecBuffer::capacity() const { in capacity() function in android::MediaCodecBuffer
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | Buffer.h | 38 size_t capacity() const { return mCapacity; } in capacity() function
|