/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0441/src/android/security/cts/CVE_2021_0441/ |
D | PocActivity.java | 38 ArrayList<Uri> getUriList(int capacity) { in getUriList() argument 40 for (int i = 0; i < capacity; ++i) { in getUriList()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-21127/ |
D | poc.cpp | 57 size_t updatedSize = buffer->capacity() - offset; in main()
|
/cts/tests/tests/media/decoder/jni/ |
D | native-media-jni.cpp | 41 int capacity; member in simplevector 45 capacity = 16; in simplevector() 47 storage = new T[capacity]; in simplevector() 54 if (numfilled == capacity) { in add() 56 capacity *= 2; in add() 57 storage = new T[capacity]; in add()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecBlockModelHelper.java | 175 if (input.buffer.capacity() < size) { in onInputSlot() 183 } else if (input.buffer.capacity() - input.offset < size) { in onInputSlot() 184 long capacity = input.buffer.capacity(); in onInputSlot() local 187 Math.toIntExact(capacity), codecNames); in onInputSlot()
|
D | StreamUtils.java | 299 return mBuffer.capacity(); in sizeInBytes()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmCodecTest.java | 123 new int[] { buffer.capacity() }, in testCryptoError() 175 new int[] { buffer.capacity() }, in testCryptoErrorLostSessionState()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecDecoderMultiAccessUnitDrmTestBase.java | 127 if (offset + size <= inputBuffer.capacity()) { in enqueueInput() 133 + "queue input", size, inputBuffer.capacity())); in enqueueInput()
|
D | CodecDecoderMultiAccessUnitTestBase.java | 108 if (offset + size <= inputBuffer.capacity()) { in enqueueInput() 114 + "queue input", size, inputBuffer.capacity())); in enqueueInput()
|
D | CodecDecoderBlockModelTestBase.java | 61 return mBuffer == null ? 0 : mBuffer.capacity(); in getBufferCapacity()
|
D | CodecEncoderTestBase.java | 468 size = Math.min(inputBuffer.capacity(), mInputData.length - mInputBufferReadOffset); in enqueueInput()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_fast_d1new.rscript | 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.rscript | 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/tests/media/src/android/mediav2/cts/ |
D | CodecUnitTest.java | 1948 mCodec.queueInputBuffer(bufferIndex, 0, buffer.capacity() + 100, 0, in testQueueInputBufferWithBadSize() 1950 fail("queueInputBuffer succeeds with bad size param :: " + buffer.capacity() + in testQueueInputBufferWithBadSize() 1976 mCodec.queueInputBuffer(bufferIndex, 16, buffer.capacity(), 0, in testQueueInputBufferWithBadBuffInfo() 2004 mCodec.queueInputBuffer(bufferIndex, -1, buffer.capacity(), 0, in testQueueInputBufferWithBadOffset() 2170 info1.set(0, buffer.capacity() / 2, 0, 0); in testQueueInputBuffersWithNullInfo() 2173 info2.set(0, buffer.capacity() / 2, 2000, 0); in testQueueInputBuffersWithNullInfo() 2177 info3.set(0, buffer.capacity() / 2, 3000, 0); in testQueueInputBuffersWithNullInfo() 2237 info1.set(0, buffer.capacity() / 2, 0, MediaCodec.BUFFER_FLAG_KEY_FRAME); in testQueueInputBuffersWithBadSize() 2240 info2.set(buffer.capacity() / 4, buffer.capacity() / 2, 250, in testQueueInputBuffersWithBadSize() 2244 info3.set(buffer.capacity() / 2, buffer.capacity() / 2 + 120, 500, in testQueueInputBuffersWithBadSize() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputHidTestCase.java | 400 final float capacity = batteryState.getCapacity(); in testInputBatteryEvents() local 402 + " got capacity " + capacity in testInputBatteryEvents() 404 Floats.contains(testData.capacities, capacity)); in testInputBatteryEvents()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 263 final int capacity = sharesUidWith.length * 20; in sharesUidWithInstallerPackage() local 264 final List<String> sharedPermissions = new ArrayList<>(capacity); in sharesUidWithInstallerPackage()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | BlockCipherTestBase.java | 1709 if ((expected.capacity() != actual.capacity()) in assertByteBufferEquals() 1712 || (!equals(expected.array(), expected.arrayOffset(), expected.capacity(), in assertByteBufferEquals() 1713 actual.array(), actual.arrayOffset(), actual.capacity()))) { in assertByteBufferEquals() 1723 + ", capacity: " + buffer.capacity() in bufferToString() 1725 buffer.array(), buffer.arrayOffset(), buffer.capacity()) + "]"; in bufferToString()
|
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/ |
D | VirtualAudioTest.java | 378 CHANNEL_OUT_MONO, ENCODING_PCM_16BIT, audioData.capacity(), in playAudio() 380 audioTrack.write(audioData, audioData.capacity(), WRITE_BLOCKING); in playAudio()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | AdaptivePlaybackTest.java | 835 assertTrue(size <= buf.capacity()); 1005 mInputBuffers[0].capacity() + "] and " + 1007 (mOutputBuffers[0] == null ? null : mOutputBuffers[0].capacity()) + "]"); 1455 csdSize += csd.capacity(); 1465 Log.i(TAG, "csd[" + csd.capacity() + "]"); 1883 return AdaptivePlaybackTest.checksum(mBuf, mBuf.capacity(), mCRC);
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 241 quota.acquire(buffer.capacity()); in getDataFromImage() 247 data = new byte[buffer.capacity()]; in getDataFromImage()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainVisualQueryDetectionService.java | 381 assertThat(buffer.capacity()).isGreaterThan(0); in onReceiveImage()
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | IRadioSimImpl.java | 405 android.hardware.radio.sim.PhonebookCapacity capacity = in getSimPhonebookCapacity() local 410 mRadioSimResponse.getSimPhonebookCapacityResponse(rsp, capacity); in getSimPhonebookCapacity()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 2885 Log.i(TAG, "got input buffer of size " + inputBuffers[bufidx].capacity()); in doStagefrightTestRawBlob() 3039 byte [] tempBlob = new byte[(int)inputBuffers[0].capacity()]; in doStagefrightTestRawBlob() 3056 inputBuffers[bufidx].capacity()); in doStagefrightTestRawBlob() 3058 inputBuffers[bufidx].put(tempBlob, 0, inputBuffers[bufidx].capacity()); in doStagefrightTestRawBlob() 3190 + inputBuffers[bufidx].capacity()); in doStagefrightTestRawBlob()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/ |
D | poc.cpp | 371 if ((size_t)alignedSize != view.capacity()) { in decodeNFrames()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaCasTest.java | 826 ByteBuffer outputBuf = ByteBuffer.allocate(inputBuf.capacity()); in descrambleTestInputBuffer()
|