Searched refs:capacity (Results 1 – 13 of 13) sorted by relevance
/cts/suite/audio_quality/lib/src/ |
D | RWBuffer.h | 28 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/ |
D | Buffer.cpp | 24 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/ |
D | AudioProtocol.java | 269 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/ |
D | Buffer.h | 35 Buffer(size_t capacity, size_t size = 0, bool stereo = true);
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 693 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);
|
D | MediaCodecTest.java | 607 ByteBuffer source = ByteBuffer.allocate(inputBuffers[0].capacity()); in runAudioEncoding() 608 for (int i = 0; i < source.capacity()/2; i++) { in runAudioEncoding()
|
D | DecoderTest.java | 980 assertTrue(size <= buf.capacity()); in checksum() 984 for (int i = 0; i < buf.capacity(); i++) { in checksum()
|
D | EncodeDecodeTest.java | 509 assertTrue(inputBuf.capacity() >= frameData.length); in doEncodeDecodeVideoFromBuffer()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderSpanTest.java | 291 PositionSet(int capacity) { in PositionSet() argument 292 mPositions = new int[capacity]; in PositionSet()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 173 data = new byte[buffer.capacity()]; in getDataFromImage()
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | VideoEncoderDecoderTest.java | 371 int writeSize = src.capacity();
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 14140 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
|
D | classes.out.dex | 154137 public int capacity() 154204 public int capacity()
|