Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 17 of 17) sorted by relevance

/cts/suite/audio_quality/lib/src/
DRWBuffer.h28 RWBuffer(int capacity) in RWBuffer() argument
29 : mCapacity(capacity), in RWBuffer()
32 mBuffer = new char[capacity]; in RWBuffer()
/cts/suite/audio_quality/lib/src/audio/
DBuffer.cpp24 Buffer::Buffer(size_t capacity, size_t size, bool stereo) in Buffer() argument
25 : mCapacity(capacity), in Buffer()
30 mData = new char[capacity]; in Buffer()
36 memset(mData, capacity, 0); in Buffer()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java269 if (bufferSize > data.capacity()) { in handleStartPlayback()
270 bufferSize = data.capacity(); in handleStartPlayback()
283 int dataToWrite = (bufferSize < data.capacity())? bufferSize : data.capacity(); in handleStartPlayback()
288 int endMarker = data.capacity()/(stereo ? 4 : 2); in handleStartPlayback()
290 Log.d(TAG, "start playback id " + id + " len " + data.capacity() + in handleStartPlayback()
294 while (dataWritten < data.capacity()) { in handleStartPlayback()
295 int dataLeft = data.capacity() - dataWritten; in handleStartPlayback()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp42 int capacity; member in simplevector
46 capacity = 16; in simplevector()
48 storage = new T[capacity]; in simplevector()
55 if (numfilled == capacity) { in add()
57 capacity *= 2; in add()
58 storage = new T[capacity]; in add()
/cts/suite/audio_quality/lib/include/audio/
DBuffer.h35 Buffer(size_t capacity, size_t size = 0, bool stereo = true);
/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java1511 if ((expected.capacity() != actual.capacity()) in assertByteBufferEquals()
1514 || (!equals(expected.array(), expected.arrayOffset(), expected.capacity(), in assertByteBufferEquals()
1515 actual.array(), actual.arrayOffset(), actual.capacity()))) { in assertByteBufferEquals()
1525 + ", capacity: " + buffer.capacity() in bufferToString()
1527 buffer.array(), buffer.arrayOffset(), buffer.capacity()) + "]"; in bufferToString()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderSpanTest.java291 PositionSet(int capacity) { in PositionSet() argument
292 mPositions = new int[capacity]; in PositionSet()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java753 assertTrue(size <= buf.capacity());
922 mInputBuffers[0].capacity() + "] and " +
924 (mOutputBuffers[0] == null ? null : mOutputBuffers[0].capacity()) + "]");
1326 sampleSize += csd.capacity();
1333 Log.i(TAG, "csd[" + csd.capacity() + "]");
1745 return AdaptivePlaybackTest.checksum(mBuf, mBuf.capacity(), mCRC);
DMediaCodecTest.java1311 ByteBuffer source = ByteBuffer.allocate(inputBuffers[0].capacity()); in runAudioEncoding()
1312 for (int i = 0; i < source.capacity()/2; i++) { in runAudioEncoding()
DDecoderTest.java1697 int cap = buf.capacity(); in checksum()
1719 int cap = buf.capacity(); in checksum()
DEncodeDecodeTest.java619 assertTrue(inputBuf.capacity() >= frameData.length); in doEncodeDecodeVideoFromBuffer()
DVideoEncoderTest.java499 mEncInputBufferSize = mEncoder.getInputBuffer(encBuffer).capacity(); in renderDecodedBuffer()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java183 data = new byte[buffer.capacity()]; in getDataFromImage()
DItsService.java409 byte[] barray = new byte[b.capacity()]; in run()
414 Logt.i(TAG, String.format("Wrote to socket: %d bytes", b.capacity())); in run()
579 jsonObj.put("bufValueSize", bbuf.capacity()); in sendResponse()
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
DVideoEncoderDecoderTest.java952 int writeSize = src.capacity(); in runDecoder()
/cts/tools/signature-tools/lib/
Dantlr-2.7.7.jarMETA-INF/ META-INF/MANIFEST.MF antlr/ antlr/ActionElement.class ActionElement ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex14140 public int capacity()
18563 public volatile int capacity()
18779 public volatile int capacity()
26405 final int capacity
26421 public final int capacity()
47923 public int capacity()
52292 private final int capacity
74772 private final int capacity