Home
last modified time | relevance | path

Searched refs:AHardwareBuffer (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp120 AHardwareBuffer_Desc GetDescription(AHardwareBuffer* buffer) { in GetDescription()
153 AHardwareBuffer* buffer; in TEST()
158 int res = AHardwareBuffer_allocate(&desc, (AHardwareBuffer * * _Nonnull)NULL); in TEST()
163 (AHardwareBuffer * * _Nonnull)NULL); in TEST()
169 AHardwareBuffer* buffer; in TEST()
190 AHardwareBuffer* buffer = NULL; in TEST()
217 AHardwareBuffer* buffer = NULL; in TEST()
233 AHardwareBuffer* buffer = NULL; in TEST()
247 AHardwareBuffer_describe((AHardwareBuffer* _Nonnull)NULL, &scratch_desc); in TEST()
261 AHardwareBuffer* buffer;
[all …]
DAHardwareBufferGLTest.cpp543 AHardwareBuffer* buffer, in CheckCpuGoldenPixelsRgba()
615 AHardwareBuffer* buffer, in CheckCpuGoldenPixelsYuv()
653 AHardwareBuffer* buffer) { in CheckCpuGoldenPixels()
713 void WriteGoldenPixelsRgba(AHardwareBuffer* buffer, in WriteGoldenPixelsRgba()
778 void WriteGoldenPixelsYuv(AHardwareBuffer* buffer, in WriteGoldenPixelsYuv()
825 void WriteCheckerBoard(AHardwareBuffer* buffer) { in WriteCheckerBoard()
1173 AHardwareBuffer* mBuffer = nullptr;
/cts/tests/sensor/jni/
DSensorTest.h66 int createHardwareBufferDirectChannel(AHardwareBuffer const *buffer, size_t size);
119 AHardwareBuffer const * getHardwareBuffer() const { in getHardwareBuffer()
138 AHardwareBuffer *mHardwareBuffer;
Dandroid_hardware_cts_SensorDirectReportTest.cpp37 AHardwareBuffer *hardwareBuffer = AHardwareBuffer_fromHardwareBuffer(env, hardwareBufferObj); in readHardwareBuffer()
DSensorTestCases.cpp63 AHardwareBuffer *nonNullHardwareBuffer = reinterpret_cast<AHardwareBuffer *>(1); in testInvalidParameter()
DSensorTest.cpp82 AHardwareBuffer const *buffer, size_t size) { in createHardwareBufferDirectChannel()
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp28 AHardwareBuffer* buffer = NULL; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer()
48 AHardwareBuffer* buffer = AHardwareBuffer_fromHardwareBuffer(env, hardwareBufferObj); in android_hardware_HardwareBuffer_nativeReleaseHardwareBuffer()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ASurfaceControlTest.cpp56 static AHardwareBuffer* allocateBuffer(int32_t width, int32_t height) { in allocateBuffer()
57 AHardwareBuffer* buffer = nullptr; in allocateBuffer()
86 AHardwareBuffer** outHardwareBuffer, in getSolidBuffer()
88 AHardwareBuffer* buffer = allocateBuffer(width, height); in getSolidBuffer()
115 AHardwareBuffer** outHardwareBuffer, in getQuadrantBuffer()
117 AHardwareBuffer* buffer = allocateBuffer(width, height); in getQuadrantBuffer()
205 AHardwareBuffer* buffer = nullptr; in SurfaceTransaction_setSolidBuffer()
228 reinterpret_cast<AHardwareBuffer*>(buffer), -1 /* fence */); in SurfaceTransaction_setBuffer()
240 AHardwareBuffer* buffer = nullptr; in SurfaceTransaction_setQuadrantBuffer()
262 AHardwareBuffer_release(reinterpret_cast<AHardwareBuffer*>(buffer)); in SurfaceTransaction_releaseBuffer()
/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp74 int ImageReaderHelper::getBufferFromCurrentImage(AHardwareBuffer **outBuffer) { in getBufferFromCurrentImage()
102 AHardwareBuffer *buffer = nullptr; in getBufferFromCurrentImage()
DImageReaderTestHelpers.h39 int getBufferFromCurrentImage(AHardwareBuffer **outBuffer);
Dandroid_graphics_cts_CameraVulkanGpuTest.cpp69 AHardwareBuffer *buffer; in loadCameraAndVerifyFrameImport()
Dandroid_graphics_cts_BitmapTest.cpp55 AHardwareBuffer* buffer; in validateNdkAccessFails()
61 AHardwareBuffer* hardware_buffer = AHardwareBuffer_fromHardwareBuffer(env, hwBuffer); in fillRgbaHardwareBuffer()
133 AHardwareBuffer* buffer; in testNullBitmap()
165 AHardwareBuffer* buffer; in testInfo()
Dandroid_graphics_cts_FrameRateCtsActivity.cpp113 AHardwareBuffer* getBuffer() const { return mBuffer; } in getBuffer()
116 AHardwareBuffer* mBuffer = nullptr;
Dandroid_graphics_cts_BasicVulkanGpuTest.cpp89 AHardwareBuffer *buffer; in verifyBasicBufferImport()
DVulkanTestHelpers.h64 bool init(AHardwareBuffer *buffer, bool useExternalFormat, int syncFd = -1);
Dandroid_graphics_cts_MediaVulkanGpuTest.cpp93 AHardwareBuffer *buffer; in loadMediaAndVerifyFrameImport()
Dandroid_graphics_cts_CameraGpuCtsActivity.cpp196 AHardwareBuffer* buffer; in drawFrame()
DVulkanTestHelpers.cpp283 bool VkAHardwareBufferImage::init(AHardwareBuffer *buffer, bool useExternalFormat, int syncFd) { in init()
/cts/tests/vr/jni/
DVrExtensionsJni.cpp33 EGLClientBuffer(EGLAPIENTRYP)(const AHardwareBuffer* buffer);
122 AHardwareBuffer* hwbuffer = nullptr; in testEglImageArray()
218 AHardwareBuffer* hwbuffer = nullptr; in testExternalBuffer()
453 AHardwareBuffer* hwbuffer = nullptr; in testLinearMagnification()
541 AHardwareBuffer* hwbuffer = nullptr; in testFramebufferBlending()
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp367 AHardwareBuffer* outBuffer = nullptr; in HandleImageAvailable()
440 onBufferRemoved(void* /*obj*/, AImageReader* /*reader*/, AHardwareBuffer* /*buffer*/) { in onBufferRemoved() argument