Home
last modified time | relevance | path

Searched refs:allocate (Results 1 – 25 of 63) sorted by relevance

123

/cts/tests/tests/opengl/src/android/opengl/cts/
DByteBufferTest.java100 IntBuffer textureHandles = IntBuffer.allocate(1); in testArrayBackedTexImage2d()
115 IntBuffer bufferHandles = IntBuffer.allocate(1); in testArrayBackedBufferData()
130 IntBuffer textureHandles = IntBuffer.allocate(1); in testArraybackedFBTextureReadPixels()
131 IntBuffer fboHandles = IntBuffer.allocate(1); in testArraybackedFBTextureReadPixels()
133 ByteBuffer readBuffer = ByteBuffer.allocate(byteArray.length); in testArraybackedFBTextureReadPixels()
DParamsTest.java45 IntBuffer buffer = IntBuffer.allocate(1); in testBufferParam()
/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java205 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/hostsidetests/securitybulletin/securityPatch/CVE-2016-3746/
Dpoc.cpp82 memory = dealerIn->allocate(inSize); in fuzzIOMXQcomVpx()
108 memory = dealerOut->allocate(outSize); in fuzzIOMXQcomVpx()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3747/
Dpoc.cpp93 sp<IMemory> memory = dealerIn->allocate(inBufferSize); in fuzzIOMXQcomEnc()
107 sp<IMemory> memory = dealerOut->allocate(outBufferSize); in fuzzIOMXQcomEnc()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java476 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/
DBlockCipherTestBase.java661 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/tests/vr/src/android/vr/cts/
DRendererProtectedTexturesTest.java66 mTexture = IntBuffer.allocate(1); in onSurfaceCreated()
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DInMemoryDexClassLoaderFactory.java45 ByteBuffer buf = ByteBuffer.allocate(zipEntrySize); in instantiateClassLoader()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DEnrollmentSpecificIdTest.java107 final ByteBuffer fixedIdentifiers = ByteBuffer.allocate(totalIdentifiersLength); in calculateEsid()
115 final ByteBuffer info = ByteBuffer.allocate(dpcPackage.length + enterpriseId.length); in calculateEsid()
/cts/tests/tests/identity/src/android/security/identity/cts/
DEphemeralKeyTest.java184 ByteBuffer iv = ByteBuffer.allocate(12); in encryptMessageToHolder()
207 ByteBuffer iv = ByteBuffer.allocate(12); in decryptMessageFromHolder()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java62 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/
DLatencyAnalyzer.h99 void allocate(int maxFrames) { in allocate() function
379 mAudioRecording.allocate(mFramesToRecord); in PulseLatencyAnalyzer()
385 mPulse.allocate(pulseLength); in generateRandomPulse()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2482/
Dpoc.cpp84 memory = dealerIn->allocate(memSize); in fuzzIOMXSetParameterChangeCount()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/
Dpoc.cpp111 sp<IMemory> mem = memoryDealer->allocate(4096 * 4); in decrypt()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13180/
Dpoc.cpp39 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1Object.java92 ByteBuffer buf = ByteBuffer.allocate(getBerLength()); in encodeBer()
/cts/tests/tests/media/src/android/media/cts/
DAudioMetadataTest.java311 ByteBuffer refBuffer = ByteBuffer.allocate(BYTE_BUFFER_REFERENCE.length); in testCompatibilityR()
324 ByteBuffer buffer = ByteBuffer.allocate(BYTE_BUFFER_REFERENCE.length); in testUnpackingInvalidBuffer()
DMediaExtractorTest.java495 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()
952 ByteBuffer buf = ByteBuffer.allocate(2*1024*1024); in testProgramStreamExtraction()
999 ByteBuffer buf = ByteBuffer.allocate(2*1024*1024); in doTestAdvance()
1050 final ByteBuffer buf = ByteBuffer.allocate(1024*1024); in readAllData()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DSipDialogAttributes.java120 byte[] idByteArray = ByteBuffer.allocate(4).putInt(sNextStringCounter++).array(); in getNextString()
/cts/tests/media/src/android/mediav2/cts/
DExtractorUnitTest.java633 ByteBuffer byteBuffer = ByteBuffer.allocate(MAX_SAMPLE_SIZE); in testReadSampleDataBeforeSetDataSource()
647 ByteBuffer byteBuffer = ByteBuffer.allocate(MAX_SAMPLE_SIZE); in testReadSampleDataBeforeSelectTrack()
663 ByteBuffer byteBuffer = ByteBuffer.allocate(MAX_SAMPLE_SIZE); in testIfInvalidOffsetIsRejectedByReadSampleData()
693 ByteBuffer byteBuffer = ByteBuffer.allocate(MAX_SAMPLE_SIZE); in testReadSampleDataAfterRelease()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-9347/
Dpoc.cpp31 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0817/
Dpoc.cpp44 auto transStatus = mAllocator->allocate(BufferSize, [&success, &buffer]( in allocateHidlPortBuffers()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DEvents.java143 ByteBuffer.allocate(BYTES_PER_INT).putInt(eventBytes.length).array()); in writeEventToFile()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0840/
Dpoc.cpp29 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()

123