/frameworks/base/media/libstagefright/foundation/ |
D | ABuffer.cpp | 25 ABuffer::ABuffer(size_t capacity) in ABuffer() argument 26 : mData(malloc(capacity)), in ABuffer() 27 mCapacity(capacity), in ABuffer() 29 mRangeLength(capacity), in ABuffer() 34 ABuffer::ABuffer(void *data, size_t capacity) in ABuffer() argument 36 mCapacity(capacity), in ABuffer() 38 mRangeLength(capacity), in ABuffer()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | VectorTest.java | 353 int capacity; in testVectorCapacity() local 356 capacity = vector.capacity(); in testVectorCapacity() 357 capacity = vector.capacity(); in testVectorCapacity() 358 capacity = vector.capacity(); in testVectorCapacity() 359 capacity = vector.capacity(); in testVectorCapacity() 360 capacity = vector.capacity(); in testVectorCapacity() 361 capacity = vector.capacity(); in testVectorCapacity() 362 capacity = vector.capacity(); in testVectorCapacity() 363 capacity = vector.capacity(); in testVectorCapacity() 364 capacity = vector.capacity(); in testVectorCapacity() [all …]
|
D | NIOTest.java | 39 assertTrue(b.limit() <= b.capacity()); in checkBuffer() 120 for (int i = 0; i < b.capacity(); i++) { in byteBufferTest() 199 assertEquals(4, bb.capacity()); in byteBufferTest() 214 b.limit(b.capacity()); in byteBufferTest() 335 assertEquals(4, bb.capacity()); in byteBufferTest() 342 assertEquals(2, sb.capacity()); in byteBufferTest() 350 assertEquals(2, sb.capacity()); in byteBufferTest() 358 assertEquals(1, ib.capacity()); in byteBufferTest() 365 assertEquals(1, ib.capacity()); in byteBufferTest() 372 assertEquals(1, fb.capacity()); in byteBufferTest() [all …]
|
/frameworks/base/include/media/stagefright/foundation/ |
D | ABuffer.h | 32 ABuffer(size_t capacity); 33 ABuffer(void *data, size_t capacity); 39 size_t capacity() const { return mCapacity; } in capacity() function
|
/frameworks/base/core/java/com/google/android/collect/ |
D | Lists.java | 59 int capacity = (elements.length * 110) / 100 + 5; in newArrayList() local 60 ArrayList<E> list = new ArrayList<E>(capacity); in newArrayList()
|
D | Sets.java | 65 int capacity = elements.length * 4 / 3 + 1; in newHashSet() local 66 HashSet<E> set = new HashSet<E>(capacity); in newHashSet()
|
/frameworks/base/libs/utils/ |
D | VectorImpl.cpp | 90 sb = SharedBuffer::alloc(capacity() * mItemSize); in editArrayImpl() 101 size_t VectorImpl::capacity() const in capacity() function in android::VectorImpl 292 LOG_ASSERT(index<capacity(), in editItemLocation() 294 this, (int)index, (int)capacity(), (int)mCount); in editItemLocation() 304 LOG_ASSERT(index<capacity(), in itemLocation() 306 this, (int)index, (int)capacity(), (int)mCount); in itemLocation() 316 size_t current_capacity = capacity(); in setCapacity() 354 if (capacity() < new_size) { in _grow() 407 if (new_size*3 < capacity()) { in _shrink()
|
/frameworks/base/core/java/android/content/ |
D | ContentQueryMap.java | 140 int capacity = mValues != null ? mValues.size() : 0; in readCursorIntoCache() local 141 mValues = new HashMap<String, ContentValues>(capacity); in readCursorIntoCache()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Group.java | 110 numTriangles += indexBuffer.capacity()/3; in getNumTriangles() 144 indexBuffer.capacity(), in draw()
|
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 359 long capacity = env->GetDirectBufferCapacity(jBuffer); in android_media_AudioRecord_readInDirectBuffer() local 360 if(capacity == -1) { in android_media_AudioRecord_readInDirectBuffer() 374 capacity < sizeInBytes ? capacity : sizeInBytes); in android_media_AudioRecord_readInDirectBuffer()
|
/frameworks/base/media/libstagefright/rtsp/ |
D | ARTPWriter.cpp | 583 if (mediaBuf->range_length() + 12 <= buffer->capacity()) { in sendAVCData() 619 if (size + 12 + 2 > buffer->capacity()) { in sendAVCData() 621 size = buffer->capacity() - 12 - 2; in sendAVCData() 690 bool lastPacket = (remaining + 14 <= buffer->capacity()); in sendH263Data() 692 remaining = buffer->capacity() - 14; in sendH263Data() 774 CHECK_LE(mediaLength + 12 + 1, buffer->capacity()); in sendAMRData()
|
D | ARTPSource.cpp | 208 if (buffer->size() + 20 > buffer->capacity()) { in addFIR() 246 if (buffer->size() + 32 > buffer->capacity()) { in addReceiverReport()
|
D | ARTPConnection.cpp | 362 buffer->capacity(), in receive()
|
/frameworks/base/include/utils/ |
D | KeyedVector.h | 56 inline size_t capacity() const { return mVector.capacity(); } in capacity() function
|
D | SortedVector.h | 65 inline size_t capacity() const { return VectorImpl::capacity(); } in capacity() function
|
D | Vector.h | 71 inline size_t capacity() const { return VectorImpl::capacity(); } in capacity() function
|
D | VectorImpl.h | 65 size_t capacity() const;
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 1038 int capacity = request.dataSize() + 4 * (1 + allow.size() + 1 + block.size()); in setMetadataFilter() local 1040 if (request.dataCapacity() < capacity) { in setMetadataFilter() 1041 request.setDataCapacity(capacity); in setMetadataFilter()
|
/frameworks/base/media/libstagefright/ |
D | MPEG2TSWriter.cpp | 198 CHECK_LE(out->size() + 4 + length, out->capacity()); in extractCodecSpecificData() 221 CHECK_LE(out->size() + 4 + length, out->capacity()); in extractCodecSpecificData() 266 > mAACBuffer->capacity()) { in appendAACFrames()
|
/frameworks/base/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 78 if (mBuffer == NULL || neededSize > mBuffer->capacity()) { in appendData()
|
D | ATSParser.cpp | 303 CHECK_LE(mBuffer->size() + payloadSizeBits / 8, mBuffer->capacity()); in parse()
|
/frameworks/base/media/libstagefright/httplive/ |
D | LiveSource.cpp | 328 size_t bufferRemaining = buffer->capacity() - buffer->size(); in fetchM3U()
|
/frameworks/base/core/java/android/os/ |
D | Bundle.java | 103 public Bundle(int capacity) { in Bundle() argument 104 mMap = new HashMap<String, Object>(capacity); in Bundle()
|
/frameworks/base/docs/html/guide/developing/tools/ |
D | emulator.jd | 1341 <pre>power <display|ac|status|present|health|capacity></pre> 1380 <td>Set remaining battery capacity state (0-100).</td>
|