/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | ByteBufferTest.java | 99 IntBuffer textureHandles = IntBuffer.allocate(1); in testArrayBackedTexImage2d() 114 IntBuffer bufferHandles = IntBuffer.allocate(1); in testArrayBackedBufferData() 129 IntBuffer textureHandles = IntBuffer.allocate(1); in testArraybackedFBTextureReadPixels() 130 IntBuffer fboHandles = IntBuffer.allocate(1); in testArraybackedFBTextureReadPixels() 132 ByteBuffer readBuffer = ByteBuffer.allocate(byteArray.length); in testArraybackedFBTextureReadPixels()
|
D | ParamsTest.java | 45 IntBuffer buffer = IntBuffer.allocate(1); in testBufferParam()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | MemoryHogger.java | 27 static native void allocate(); in allocate() method in MemoryHogger
|
D | StatsdCtsBackgroundService.java | 48 new Thread(MemoryHogger::allocate).start(); in onHandleIntent()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3746/ |
D | poc.cpp | 82 memory = dealerIn->allocate(inSize); in fuzzIOMXQcomVpx() 108 memory = dealerOut->allocate(outSize); in fuzzIOMXQcomVpx()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3747/ |
D | poc.cpp | 93 sp<IMemory> memory = dealerIn->allocate(inBufferSize); in fuzzIOMXQcomEnc() 107 sp<IMemory> memory = dealerOut->allocate(outBufferSize); in fuzzIOMXQcomEnc()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | AudioSecurityTest.java | 205 byte command[] = ByteBuffer.allocate(5 * 4 /* capacity */) in testAudioEffectGetParameter2() 273 byte command[] = ByteBuffer.allocate(5 * 4 /* capacity */) in testAudioEffectSetParameter() 330 byte command[] = ByteBuffer.allocate(5 * 4 /* capacity */) in testAudioEffectEqualizerGetParameterName() 413 byte command[] = ByteBuffer.allocate(5 * 4 /* capacity */) in testVisualizerCapture_CVE_2017_0396()
|
/cts/tests/vr/src/android/vr/cts/ |
D | RendererProtectedTexturesTest.java | 66 mTexture = IntBuffer.allocate(1); in onSurfaceCreated()
|
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/ |
D | InMemoryDexClassLoaderFactory.java | 45 ByteBuffer buf = ByteBuffer.allocate(zipEntrySize); in instantiateClassLoader()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 476 ByteBuffer zeroBuffer = ByteBuffer.allocate(1); in receiveZeroSizeRequestLegacy() 520 bufferSent = ByteBuffer.allocate(originalSize); in echoUsbRequestLegacy() 538 bufferReceived = ByteBuffer.allocate(originalSize); in echoUsbRequestLegacy() 613 ByteBuffer zeroBuffer = ByteBuffer.allocate(1); in receiveZeroSizeRequest() 656 bufferSent = ByteBuffer.allocate(originalSize); in echoUsbRequest() 677 bufferReceived = ByteBuffer.allocate(originalSize); in echoUsbRequest() 833 ByteBuffer buffer = ByteBuffer.allocate(1); 865 buffer = ByteBuffer.allocate(0); 892 buffer = ByteBuffer.allocate(0); 941 buffer = ByteBuffer.allocate(0); [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | BlockCipherTestBase.java | 661 assertEquals(0, update(ByteBuffer.allocate(1), ByteBuffer.allocate(getBlockSize()))); in assertUpdateDoesNotProduceOutputWhenInsufficientInput() 671 assertEquals(0, update(ByteBuffer.allocate(1), ByteBuffer.allocate(getBlockSize()))); in assertUpdateDoesNotProduceOutputWhenInsufficientInput() 708 ByteBuffer actualOutputBuffer = ByteBuffer.allocate(expectedOutput.length); in assertKatOneShotTransformUsingDoFinal() 878 mCipher.updateAAD(ByteBuffer.allocate(getBlockSize())); in assertUpdateAADNotSupported() 887 mCipher.updateAAD(ByteBuffer.allocate(getBlockSize())); in assertUpdateAADSupported() 937 update(ByteBuffer.allocate(getBlockSize()), ByteBuffer.allocate(getBlockSize() * 2)); in assertUpdateAndDoFinalThrowIllegalStateExceprtion() 979 doFinal(ByteBuffer.allocate(getBlockSize()), ByteBuffer.allocate(getBlockSize() * 2)); in assertUpdateAndDoFinalThrowIllegalStateExceprtion()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2482/ |
D | poc.cpp | 84 memory = dealerIn->allocate(memSize); in fuzzIOMXSetParameterChangeCount()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | EphemeralKeyTest.java | 184 ByteBuffer iv = ByteBuffer.allocate(12); in encryptMessageToHolder() 207 ByteBuffer iv = ByteBuffer.allocate(12); in decryptMessageFromHolder()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/ |
D | poc.cpp | 111 sp<IMemory> mem = memoryDealer->allocate(4096 * 4); in decrypt()
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
D | AudioProtocol.java | 62 private ByteBuffer mHeaderBuffer = ByteBuffer.allocate(PROTOCOL_HEADER_SIZE); 63 private ByteBuffer mDataBuffer = ByteBuffer.allocate(MAX_NON_DATA_PAYLOAD_SIZE); 64 private ByteBuffer mReplyBuffer = ByteBuffer.allocate(PROTOCOL_SIMPLE_REPLY_SIZE); 225 ByteBuffer data = ByteBuffer.allocate(dataLength); in handleDownload()
|
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/ |
D | LatencyAnalyzer.h | 99 void allocate(int maxFrames) { in allocate() function 379 mAudioRecording.allocate(mFramesToRecord); in PulseLatencyAnalyzer() 385 mPulse.allocate(pulseLength); in generateRandomPulse()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13180/ |
D | poc.cpp | 39 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1Object.java | 92 ByteBuffer buf = ByteBuffer.allocate(getBerLength()); in encodeBer()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | EnrollmentSpecificIdTest.java | 131 final ByteBuffer fixedIdentifiers = ByteBuffer.allocate(totalIdentifiersLength); in calculateEsid() 139 final ByteBuffer info = ByteBuffer.allocate(dpcPackage.length + enterpriseId.length); in calculateEsid()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | SipDialogAttributes.java | 120 byte[] idByteArray = ByteBuffer.allocate(4).putInt(sNextStringCounter++).array(); in getNextString()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-9347/ |
D | poc.cpp | 31 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioMetadataTest.java | 311 ByteBuffer refBuffer = ByteBuffer.allocate(BYTE_BUFFER_REFERENCE.length); in testCompatibilityR() 324 ByteBuffer buffer = ByteBuffer.allocate(BYTE_BUFFER_REFERENCE.length); in testUnpackingInvalidBuffer()
|
D | MediaExtractorTest.java | 495 final ByteBuffer buf = ByteBuffer.allocate(1024*1024); in checkExtractorSamplesAndMetrics() 820 final ByteBuffer inputBuffer = ByteBuffer.allocate((int)size); in read() 906 ByteBuffer buf = ByteBuffer.allocate(2*1024*1024); in SKIP_testFlacMovExtraction() 955 ByteBuffer buf = ByteBuffer.allocate(2*1024*1024); in testProgramStreamExtraction() 1016 ByteBuffer buf = ByteBuffer.allocate(2*1024*1024); in doTestAdvance() 1067 final ByteBuffer buf = ByteBuffer.allocate(1024*1024); in readAllData()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0817/ |
D | poc.cpp | 44 auto transStatus = mAllocator->allocate(BufferSize, [&success, &buffer]( in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0840/ |
D | poc.cpp | 29 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()
|