Home
last modified time | relevance | path

Searched refs:outBuffer (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_ASurfaceTextureTest.cpp60 ANativeWindow_Buffer outBuffer; in basicTests() local
61 int err = ANativeWindow_lock(win, &outBuffer, &bounds); in basicTests()
63 ASSERT(outBuffer.width == 640, "locked buffer width is wrong") in basicTests()
64 ASSERT(outBuffer.height == 480, "locked buffer height is wrong") in basicTests()
DImageReaderTestHelpers.cpp74 int ImageReaderHelper::getBufferFromCurrentImage(AHardwareBuffer **outBuffer) { in getBufferFromCurrentImage() argument
109 *outBuffer = buffer; in getBufferFromCurrentImage()
DImageReaderTestHelpers.h39 int getBufferFromCurrentImage(AHardwareBuffer **outBuffer);
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java240 HardwareBuffer outBuffer = nativeReadHardwareBuffer(parcel); in testWriteJavaReadNativeParcel() local
241 assertNotNull(outBuffer); in testWriteJavaReadNativeParcel()
244 assertEquals(2, outBuffer.getWidth()); in testWriteJavaReadNativeParcel()
245 assertNotEquals(0, outBuffer.getId()); in testWriteJavaReadNativeParcel()
246 assertEquals(beforeId, outBuffer.getId()); in testWriteJavaReadNativeParcel()
264 final HardwareBuffer outBuffer = HardwareBuffer.CREATOR.createFromParcel(parcel); in testWriteNativeReadJavaParcel() local
265 assertNotNull(outBuffer); in testWriteNativeReadJavaParcel()
268 assertEquals(2, outBuffer.getWidth()); in testWriteNativeReadJavaParcel()
269 assertNotEquals(0, outBuffer.getId()); in testWriteNativeReadJavaParcel()
270 assertEquals(beforeId, outBuffer.getId()); in testWriteNativeReadJavaParcel()
/cts/tests/tests/hardware/jni/
DHardwareBufferTestService.cpp48 HardwareBuffer* outBuffer) override { in createBuffer() argument
60 outBuffer->reset(buffer); in createBuffer()
/cts/tests/tests/media/misc/jni/
DAImageReaderCts.cpp362 AHardwareBuffer* outBuffer = nullptr; in HandleImageAvailable() local
363 ret = AImage_getHardwareBuffer(img.get(), &outBuffer); in HandleImageAvailable()
364 if (ret != AMEDIA_OK || outBuffer == nullptr) { in HandleImageAvailable()
365 ALOGE("Faild to get hardware buffer, ret=%d, outBuffer=%p.", ret, outBuffer); in HandleImageAvailable()
372 AHardwareBuffer_describe(outBuffer, &outDesc); in HandleImageAvailable()
/cts/tests/tests/security/testeffect/
DCTSTestEffect.cpp97 effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in CTSEffects_process() argument