/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/ |
D | RefocusFilterd1new.java | 50 ImageBuffersForRenderScriptd1new buffers; field in RefocusFilterd1new 58 buffers.destroy(); in destroy() 74 buffers = new ImageBuffersForRenderScriptd1new(inputImage, margin, in initializeScriptAndBuffers() 76 buffers.initializeRenderScript(focalLayer, scriptC); in initializeScriptAndBuffers() 85 scriptC.forEach_PackOutputImage(buffers.outAllocation); in extractResultImage() 89 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage() 90 return buffers.outputImage; in extractResultImage() 98 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(), in extractSharpImage() 99 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractSharpImage() 112 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(), in extractFuzzyImage() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/ |
D | RefocusFilterF32.java | 53 ImageBuffersForRenderScriptF32 buffers; field in RefocusFilterF32 60 buffers.destroy(); in destroy() 74 buffers = new ImageBuffersForRenderScriptF32(inputImage, margin, in initializeScriptAndBuffers() 76 buffers.initializeRenderScript(focalLayer, scriptC); in initializeScriptAndBuffers() 85 scriptC.forEach_PackOutputImage(buffers.outAllocation); in extractResultImage() 89 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage() 90 return buffers.outputImage; in extractResultImage() 98 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(), in extractSharpImage() 99 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractSharpImage() 113 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(), in extractFuzzyImage() [all …]
|
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/ |
D | NativeMidiEchoTest.java | 97 private void generateRandomBufers(byte[][] buffers, long timestamps[], int numMessages) { in generateRandomBufers() argument 102 buffers[buffIndex] = generateRandomMessage(messageLen); in generateRandomBufers() 311 byte[][] buffers = new byte[numMessages][]; in test_D_EchoNMessages() 313 generateRandomBufers(buffers, timestamps, numMessages); in test_D_EchoNMessages() 316 writeMidiWithTimestamp(mTestContext, buffers[msgIndex], 0, buffers[msgIndex].length, in test_D_EchoNMessages() 331 compareMessages(buffers[msgIndex], timestamps[msgIndex], message); in test_D_EchoNMessages() 341 byte[][] buffers = new byte[numMessages][]; in test_E_FlushMessages() 343 generateRandomBufers(buffers, timestamps, numMessages); in test_E_FlushMessages() 346 writeMidiWithTimestamp(mTestContext, buffers[msgIndex], 0, buffers[msgIndex].length, in test_E_FlushMessages() 364 compareMessages(buffers[msgIndex], timestamps[msgIndex], message); in test_E_FlushMessages() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ASurfaceControlBackPressureTest.java | 118 BufferCycler(long surfaceControl, long[] buffers) { in BufferCycler() argument 120 mBuffers = buffers; in BufferCycler() 214 public void addBufferCycler(long surfaceControl, long[] buffers) { in addBufferCycler() argument 216 new BasicSurfaceHolderCallback.BufferCycler(surfaceControl, buffers); in addBufferCycler() 230 long[] buffers = new long[6]; in testSurfaceTransaction_setEnableBackPressure() 231 for (int i = 0; i < buffers.length; i++) { in testSurfaceTransaction_setEnableBackPressure() 232 buffers[i] = setSolidBuffer(surfaceControl, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_setEnableBackPressure() 235 addBufferCycler(surfaceControl, buffers); in testSurfaceTransaction_setEnableBackPressure() 262 long[] buffers = new long[6]; in testSurfaceTransaction_defaultBackPressureDisabled() 263 for (int i = 0; i < buffers.length; i++) { in testSurfaceTransaction_defaultBackPressureDisabled() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13180/ |
D | poc.cpp | 29 int allocateHidlPortBuffers(OMX_U32 portIndex, Vector<Buffer> *buffers) { in allocateHidlPortBuffers() argument 30 buffers->clear(); in allocateHidlPortBuffers() 47 buffers->push(buffer); in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-9347/ |
D | poc.cpp | 22 int allocateHidlPortBuffers(OMX_U32 portIndex, Vector<Buffer> *buffers) { in allocateHidlPortBuffers() argument 23 buffers->clear(); in allocateHidlPortBuffers() 41 buffers->push(buffer); in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0817/ |
D | poc.cpp | 33 int allocateHidlPortBuffers(OMX_U32 portIndex, Vector<Buffer> *buffers, in allocateHidlPortBuffers() argument 35 buffers->clear(); in allocateHidlPortBuffers() 52 buffers->push(buffer); in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0840/ |
D | poc.cpp | 20 int allocateHidlPortBuffers(OMX_U32 portIndex, Vector<Buffer> *buffers) { in allocateHidlPortBuffers() argument 21 buffers->clear(); in allocateHidlPortBuffers() 39 buffers->push(buffer); in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0684/ |
D | poc.cpp | 24 Vector<Buffer> *buffers) { in allocateHidlPortBuffers() argument 25 buffers->clear(); in allocateHidlPortBuffers() 43 buffers->push(buffer); in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13241/ |
D | poc.cpp | 25 int allocateHidlPortBuffers(OMX_U32 portIndex, Vector<Buffer> *buffers, in allocateHidlPortBuffers() argument 27 buffers->clear(); in allocateHidlPortBuffers() 43 buffers->push(buffer); in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2485/ |
D | poc.cpp | 36 int allocateHidlPortBuffers(OMX_U32 portIndex, Vector<Buffer> *buffers, in allocateHidlPortBuffers() argument 38 buffers->clear(); in allocateHidlPortBuffers() 53 buffers->push(buffer); in allocateHidlPortBuffers()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskSave.cpp | 79 std::unique_ptr<std::list<TaskCase::BufferPair> > buffers( in handleFile() local 81 std::list<TaskCase::BufferPair>* buffersp = buffers.get(); in handleFile()
|
D | TaskProcess.cpp | 58 std::unique_ptr<UniqueBuffer[]>& buffers, in prepareParams() argument 76 buffers.reset(new UniqueBuffer[N]); in prepareParams() 77 if (buffers.get() == NULL) { in prepareParams() 84 UniqueBuffer* buffersPtr = buffers.get(); in prepareParams()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/ |
D | local_poc.h | 111 uint64_t buffers; member 132 uint64_t buffers; /* ptr to drm_nouveau_gem_pushbuf_bo */ member
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/ |
D | poc.cpp | 178 ->output.buffers[0] in checkBufferOK() 218 if (!codecConfig && !work->worklets.front()->output.buffers.empty()) { in handleWorkDone() 284 work->input.buffers.clear(); in workDone() 353 work->input.buffers.clear(); in decodeNFrames() 383 work->input.buffers.emplace_back(new LinearBuffer(block, size)); in decodeNFrames()
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskProcess.h | 53 std::unique_ptr<UniqueBuffer[]>& buffers,
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-track-native.cpp | 401 size_t buffers; in Java_android_media_cts_AudioTrackNative_nativeTest() local 402 while ((buffers = track.getBuffersPending()) > 0) { in Java_android_media_cts_AudioTrackNative_nativeTest()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/ |
D | local_poc.h | 137 uint64_t buffers; member
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTest.java | 302 ByteBuffer[] buffers = codec.getInputBuffers(); in verifyException() local 312 ByteBuffer[] buffers = codec.getInputBuffers(); in verifyException() local 313 if (buffers == null) { in verifyException() 316 if (isVideoEncoder && buffers.length > 0) { in verifyException()
|
D | AudioTrackTest.java | 1811 final int buffers = 2; // double buffering mode in playOnceStreamData() local 1813 (track.getBufferSizeInFrames() / buffers) * channelCount; in playOnceStreamData()
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_cve_2019_2213_Test.c | 1533 void set_pipe_buffers(u32 buffers) { in set_pipe_buffers() argument 1534 winfo32(0x48, buffers); in set_pipe_buffers()
|