Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 13 of 13) 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/suite/audio_quality/lib/include/audio/
DBuffer.h35 Buffer(size_t capacity, size_t size = 0, bool stereo = true);
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java693 assertTrue(size <= buf.capacity());
832 mInputBuffers[0].capacity() + "] and " +
834 (mOutputBuffers[0] == null ? null : mOutputBuffers[0].capacity()) + "]");
1176 sampleSize += csd.capacity();
1183 Log.i(TAG, "csd[" + csd.capacity() + "]");
1577 return AdaptivePlaybackTest.checksum(mBuf, mBuf.capacity(), mCRC);
DMediaCodecTest.java607 ByteBuffer source = ByteBuffer.allocate(inputBuffers[0].capacity()); in runAudioEncoding()
608 for (int i = 0; i < source.capacity()/2; i++) { in runAudioEncoding()
DDecoderTest.java980 assertTrue(size <= buf.capacity()); in checksum()
984 for (int i = 0; i < buf.capacity(); i++) { in checksum()
DEncodeDecodeTest.java509 assertTrue(inputBuf.capacity() >= frameData.length); in doEncodeDecodeVideoFromBuffer()
/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/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java173 data = new byte[buffer.capacity()]; in getDataFromImage()
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
DVideoEncoderDecoderTest.java371 int writeSize = src.capacity();
/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
Dclasses.out.dex154137 public int capacity()
154204 public int capacity()