Home
last modified time | relevance | path

Searched defs:capacity (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/native/services/inputflinger/tests/
DBlockingQueue_test.cpp32 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/
Dtest_atomic_fifo.cpp33 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/
DABuffer.cpp25 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/
DTokenBucket.java53 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
DRingBufferIndices.java33 public RingBufferIndices(int capacity) { in RingBufferIndices()
DRingBuffer.java38 public RingBuffer(Class<T> c, int capacity) { in RingBuffer()
/frameworks/base/core/java/com/google/android/collect/
DSets.java70 int capacity = elements.length * 4 / 3 + 1; in newHashSet() local
112 int capacity = elements.length * 4 / 3 + 1; in newArraySet() local
DLists.java63 int capacity = (elements.length * 110) / 100 + 5; in newArrayList() local
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dthread_local_buffer.h51 static void Reserve(std::size_t capacity) { in Reserve()
102 static void InitializeBuffer(std::size_t capacity) { in InitializeBuffer()
Darray_wrapper.h32 ArrayWrapper(pointer buffer, size_type capacity, size_type size) in ArrayWrapper()
81 size_type capacity() const { return capacity_; } in capacity() function
Dstring_wrapper.h34 StringWrapper(pointer buffer, size_type capacity, size_type size) in StringWrapper()
87 size_type capacity() const { return capacity_; } in capacity() function
Dbuffer_wrapper.h32 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/
DBufferPool.java68 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/
Dring_buffer.h23 explicit RingBuffer(size_t capacity) { Reset(capacity); } in RingBuffer()
83 void Reset(size_t capacity) { in Reset()
/frameworks/base/core/java/android/util/apk/
DByteBufferFactory.java27 ByteBuffer create(int capacity); in create()
/frameworks/base/tests/net/java/com/android/internal/util/
DRingBufferTest.java91 int capacity = 100; in testRingBufferWithWrapping() local
132 int capacity = 100; in testGetNextSlot() local
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DBuffer.cpp27 Buffer::Buffer(size_t capacity) in Buffer()
/frameworks/base/libs/hwui/utils/
DRingBuffer.h34 constexpr size_t capacity() const { return SIZE; } in capacity() function
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue_internal.h38 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/
DBlockingQueue.h37 BlockingQueue(size_t capacity) : mCapacity(capacity) { in BlockingQueue()
/frameworks/av/media/libaaudio/src/fifo/
DFifoControllerIndirect.h36 FifoControllerIndirect(fifo_frames_t capacity, in FifoControllerIndirect()
DFifoControllerBase.cpp26 FifoControllerBase::FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold) in FifoControllerBase()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp55 [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/
DMediaCodecBuffer.cpp42 size_t MediaCodecBuffer::capacity() const { in capacity() function in android::MediaCodecBuffer
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DBuffer.h38 size_t capacity() const { return mCapacity; } in capacity() function

1234