Home
last modified time | relevance | path

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

1234

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DMeshTest.kt177 val vertexBuffer = FloatBuffer.allocate(6) in <lambda>()
196 val vertexBuffer = FloatBuffer.allocate(6) in <lambda>()
215 val vertexBuffer = FloatBuffer.allocate(6) in <lambda>()
234 val vertexBuffer = FloatBuffer.allocate(6) in <lambda>()
252 val vertexBuffer = FloatBuffer.allocate(6) in <lambda>()
273 val vertexBuffer = FloatBuffer.allocate(6) in <lambda>()
290 val vertexBuffer = FloatBuffer.allocate(6) in <lambda>()
298 val indexBuffer = ShortBuffer.allocate(3) in <lambda>()
365 val indexBuffer = ShortBuffer.allocate(numShorts).apply { in <lambda>()
380 val vertexBuffer = FloatBuffer.allocate(numFloats).apply { in <lambda>()
[all …]
/cts/tests/tests/opengl/src/android/opengl/cts/
DByteBufferTest.java99 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()
DParamsTest.java45 IntBuffer buffer = IntBuffer.allocate(1); in testBufferParam()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DMemoryHogger.java27 static native void allocate(); in allocate() method in MemoryHogger
DStatsdCtsBackgroundService.java48 new Thread(MemoryHogger::allocate).start(); in onHandleIntent()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3746/
Dpoc.cpp82 memory = dealerIn->allocate(inSize); in fuzzIOMXQcomVpx()
108 memory = dealerOut->allocate(outSize); in fuzzIOMXQcomVpx()
/cts/tests/tests/media/common/src/android/media/cts/
DStreamUtils.java193 ByteBuffer ret = ByteBuffer.allocate(mInfo.size); in read()
210 return ByteBuffer.allocate(0); in read()
246 mBuffer = ByteBuffer.allocate(0); in ByteBufferInputStream()
273 mBuffer = ByteBuffer.allocate(sizeInBytes); in PcmAudioBufferStream()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3747/
Dpoc.cpp92 sp<IMemory> memory = dealerIn->allocate(inBufferSize); in fuzzIOMXQcomEnc()
106 sp<IMemory> memory = dealerOut->allocate(outBufferSize); in fuzzIOMXQcomEnc()
/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java218 byte command[] = ByteBuffer.allocate(5 * 4 /* capacity */) in testAudioEffectGetParameter2()
286 byte command[] = ByteBuffer.allocate(5 * 4 /* capacity */) in testAudioEffectSetParameter()
343 byte command[] = ByteBuffer.allocate(5 * 4 /* capacity */) in testAudioEffectEqualizerGetParameterName()
430 byte command[] = ByteBuffer.allocate(5 * 4 /* capacity */) in testVisualizerCapture_CVE_2017_0396()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseInputStreamTest.java279 ByteBuffer buffer = ByteBuffer.allocate(bufferSize); in testOffsetCorrectFileChannelReadBuffer()
299 buffers[0] = ByteBuffer.allocate(bufferSize); in testOffsetCorrectFileChannelReadBuffers()
316 ByteBuffer buffer = ByteBuffer.allocate(bufferSize); in testOffsetCorrectFileChannelReadBufferFromPosition()
377 ByteBuffer buffer = ByteBuffer.allocate(1); in testOffsetCorrectFileChannelWriteBuffer()
393 buffers[0] = ByteBuffer.allocate(bufferSize); in testOffsetCorrectFileChannelWriteBuffers()
408 ByteBuffer buffer = ByteBuffer.allocate(bufferSize); in testOffsetCorrectFileChannelWriteBufferFromPosition()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothQualityReportTest.java414 rawData = ByteBuffer.allocate(BQRParameters.mBqrCommonSize - 1).array(); in invalidRawData()
418 ByteBuffer.allocate( in invalidRawData()
426 ByteBuffer.allocate( in invalidRawData()
434 ByteBuffer.allocate( in invalidRawData()
442 ByteBuffer.allocate( in invalidRawData()
900 ba = ByteBuffer.allocate(mBqrCommonSize); in getByteArray()
903 ba = ByteBuffer.allocate(mBqrCommonSize + mBqrVsLstoSize); in getByteArray()
906 ba = ByteBuffer.allocate(mBqrCommonSize + mBqrVsA2dpChoppySize); in getByteArray()
909 ba = ByteBuffer.allocate(mBqrCommonSize + mBqrVsScoChoppySize); in getByteArray()
912 ba = ByteBuffer.allocate(mBqrCommonSize + mBqrConnectFailSize); in getByteArray()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ble/
DBleAdvertisingPacket.java45 return ByteBuffer.allocate(ADVERTISING_PACKET_LENGTH) in toBytes()
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DInMemoryDexClassLoaderFactory.java45 ByteBuffer buf = ByteBuffer.allocate(zipEntrySize); in instantiateClassLoader()
/cts/tests/vr/src/android/vr/cts/
DRendererProtectedTexturesTest.java66 mTexture = IntBuffer.allocate(1); in onSurfaceCreated()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h109 void allocate(int maxFrames) { in allocate() function
439 mAudioRecording.allocate(mFramesToRecord); in setup()
691 mPulse.allocate(pulseLength); in generatePulseRecording()
727 mPulse.allocate(pulseLength); in generatePulseRecording()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java478 ByteBuffer zeroBuffer = ByteBuffer.allocate(1); in receiveZeroSizeRequestLegacy()
522 bufferSent = ByteBuffer.allocate(originalSize); in echoUsbRequestLegacy()
540 bufferReceived = ByteBuffer.allocate(originalSize); in echoUsbRequestLegacy()
615 ByteBuffer zeroBuffer = ByteBuffer.allocate(1); in receiveZeroSizeRequest()
658 bufferSent = ByteBuffer.allocate(originalSize); in echoUsbRequest()
679 bufferReceived = ByteBuffer.allocate(originalSize); in echoUsbRequest()
835 ByteBuffer buffer = ByteBuffer.allocate(1);
867 buffer = ByteBuffer.allocate(0);
894 buffer = ByteBuffer.allocate(0);
943 buffer = ByteBuffer.allocate(0);
[all …]
/cts/tests/tests/identity/src/android/security/identity/cts/
DEphemeralKeyTest.java185 ByteBuffer iv = ByteBuffer.allocate(12); in encryptMessageToHolder()
208 ByteBuffer iv = ByteBuffer.allocate(12); in decryptMessageFromHolder()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2482/
Dpoc.cpp84 memory = dealerIn->allocate(memSize); in fuzzIOMXSetParameterChangeCount()
/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java707 assertEquals(0, update(ByteBuffer.allocate(1), ByteBuffer.allocate(getBlockSize()))); in assertUpdateDoesNotProduceOutputWhenInsufficientInput()
730 assertEquals(0, update(ByteBuffer.allocate(1), ByteBuffer.allocate(getBlockSize()))); in assertUpdateDoesNotProduceOutputWhenInsufficientInput()
769 ByteBuffer actualOutputBuffer = ByteBuffer.allocate(expectedOutput.length); in assertKatOneShotTransformUsingDoFinal()
1010 mCipher.updateAAD(ByteBuffer.allocate(getBlockSize())); in assertUpdateAADNotSupported()
1019 mCipher.updateAAD(ByteBuffer.allocate(getBlockSize())); in assertUpdateAADSupported()
1070 update(ByteBuffer.allocate(getBlockSize()), ByteBuffer.allocate(getBlockSize() * 2)); in assertUpdateAndDoFinalThrowIllegalStateExceprtion()
1112 doFinal(ByteBuffer.allocate(getBlockSize()), ByteBuffer.allocate(getBlockSize() * 2)); in assertUpdateAndDoFinalThrowIllegalStateExceprtion()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/
Dpoc.cpp111 sp<IMemory> mem = memoryDealer->allocate(4096 * 4); in decrypt()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1Object.java92 ByteBuffer buf = ByteBuffer.allocate(getBerLength()); in encodeBer()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13180/
Dpoc.cpp39 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DSipDialogAttributes.java120 byte[] idByteArray = ByteBuffer.allocate(4).putInt(sNextStringCounter++).array(); in getNextString()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DEnrollmentSpecificIdTest.java158 final ByteBuffer fixedIdentifiers = ByteBuffer.allocate(totalIdentifiersLength); in calculateEsid()
166 final ByteBuffer info = ByteBuffer.allocate(dpcPackage.length + enterpriseId.length); in calculateEsid()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioMetadataTest.java315 ByteBuffer refBuffer = ByteBuffer.allocate(BYTE_BUFFER_REFERENCE.length); in testCompatibilityR()
328 ByteBuffer buffer = ByteBuffer.allocate(BYTE_BUFFER_REFERENCE.length); in testUnpackingInvalidBuffer()

1234