/cts/suite/audio_quality/lib/src/ |
D | RWBuffer.h | 28 explicit 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, 0, capacity); in Buffer()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_fast_d1new.rs | 516 const float capacity = 1.0f - fuzzy_RGBA.a; 517 const float factor = capacity * (float)matte * g_blend_info.matte_normalizer; 569 const float capacity = 1.0f - fuzzy_RGBA.a; 570 const float factor = capacity * (float)matte * g_blend_info.matte_normalizer; 695 float capacity = 1.0f - fuzzy_RGBA.a; 696 fuzzy_RGBA.r += sharp_RGBA.r * capacity; 697 fuzzy_RGBA.g += sharp_RGBA.g * capacity; 698 fuzzy_RGBA.b += sharp_RGBA.b * capacity; 712 float capacity = 1.0f - fuzzy_RGBA.a; 713 fuzzy_RGBA.r += sharp_RGBA.r * capacity; [all …]
|
D | layered_filter_fast_f32.rs | 384 const float capacity = 1.0f - fuzzy->alpha; 385 const float factor = capacity * (float)matte * g_blend_info.matte_normalizer; 461 float capacity = 1.0f - fuzzy->alpha; 462 fuzzy->red += sharp->red * capacity; 463 fuzzy->green += sharp->green * capacity; 464 fuzzy->blue += sharp->blue * capacity;
|
/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 explicit Buffer(size_t capacity, size_t size = 0, bool stereo = true);
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | BlockCipherTestBase.java | 1535 if ((expected.capacity() != actual.capacity()) in assertByteBufferEquals() 1538 || (!equals(expected.array(), expected.arrayOffset(), expected.capacity(), in assertByteBufferEquals() 1539 actual.array(), actual.arrayOffset(), actual.capacity()))) { in assertByteBufferEquals() 1549 + ", capacity: " + buffer.capacity() in bufferToString() 1551 buffer.array(), buffer.arrayOffset(), buffer.capacity()) + "]"; in bufferToString()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 47 int capacity; member in simplevector 51 capacity = 16; in simplevector() 53 storage = new T[capacity]; in simplevector() 60 if (numfilled == capacity) { in add() 62 capacity *= 2; in add() 63 storage = new T[capacity]; in add()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 211 quota.acquire(buffer.capacity()); in getDataFromImage() 217 data = new byte[buffer.capacity()]; in getDataFromImage()
|
D | ItsService.java | 516 mOpenSocket.getOutputStream().write(b.array(), 0, b.capacity()); in run() 518 byte[] barray = new byte[b.capacity()]; in run() 523 Logt.i(TAG, String.format("Wrote to socket: %d bytes", b.capacity())); in run() 525 if (imgBufSize != null && imgBufSize == b.capacity()) { in run() 719 jsonObj.put("bufValueSize", bbuf.capacity()); in sendResponse() 728 mInflightImageSizes.add(bbuf.capacity()); in sendResponse()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 805 assertTrue(size <= buf.capacity()); 961 mInputBuffers[0].capacity() + "] and " + 963 (mOutputBuffers[0] == null ? null : mOutputBuffers[0].capacity()) + "]"); 1377 sampleSize += csd.capacity(); 1389 Log.i(TAG, "csd[" + csd.capacity() + "]"); 1791 return AdaptivePlaybackTest.checksum(mBuf, mBuf.capacity(), mCRC);
|
D | MediaCodecTest.java | 866 for (int i = 0; i < inputBuffer.capacity() / 2; i++) { in feedEncoder() 1628 ByteBuffer source = ByteBuffer.allocate(inputBuffers[0].capacity()); in runAudioEncoding() 1629 for (int i = 0; i < source.capacity()/2; i++) { in runAudioEncoding() 1799 new int[] { buffer.capacity() }, in testCryptoError() 1983 new int[] { buffer.capacity() }, in testCryptoErrorLostSessionState() 2270 return mBuffer.capacity(); in sizeInBytes()
|
D | MediaCasTest.java | 599 ByteBuffer outputBuf = ByteBuffer.allocate(inputBuf.capacity()); in descrambleTestInputBuffer()
|
D | EncodeDecodeTest.java | 689 assertTrue(inputBuf.capacity() >= frameData.length); in doEncodeDecodeVideoFromBuffer()
|
D | DecoderTest.java | 2887 int cap = buf.capacity(); 2909 int cap = buf.capacity();
|
D | VideoEncoderTest.java | 602 mEncInputBufferSize = mEncoder.getInputBuffer(encBuffer).capacity(); in renderDecodedBuffer()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderSpanTest.java | 310 PositionSet(int capacity) { in PositionSet() argument 311 mPositions = new int[capacity]; in PositionSet()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 1736 Log.i(TAG, "got input buffer of size " + inputBuffers[bufidx].capacity()); in doStagefrightTestRawBlob() 1863 byte [] tempBlob = new byte[(int)inputBuffers[0].capacity()]; in doStagefrightTestRawBlob() 1869 inputBuffers[bufidx].capacity()); in doStagefrightTestRawBlob() 1874 inputBuffers[bufidx].put(tempBlob, 0, inputBuffers[bufidx].capacity()); in doStagefrightTestRawBlob()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1177 int writeSize = src.capacity(); in runDecoder()
|