/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 120 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 …]
|
D | AHardwareBufferGLTest.cpp | 543 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/ |
D | SensorTest.h | 66 int createHardwareBufferDirectChannel(AHardwareBuffer const *buffer, size_t size); 119 AHardwareBuffer const * getHardwareBuffer() const { in getHardwareBuffer() 138 AHardwareBuffer *mHardwareBuffer;
|
D | android_hardware_cts_SensorDirectReportTest.cpp | 37 AHardwareBuffer *hardwareBuffer = AHardwareBuffer_fromHardwareBuffer(env, hardwareBufferObj); in readHardwareBuffer()
|
D | SensorTestCases.cpp | 63 AHardwareBuffer *nonNullHardwareBuffer = reinterpret_cast<AHardwareBuffer *>(1); in testInvalidParameter()
|
D | SensorTest.cpp | 82 AHardwareBuffer const *buffer, size_t size) { in createHardwareBufferDirectChannel()
|
/cts/tests/tests/hardware/jni/ |
D | android_hardware_cts_HardwareBufferTest.cpp | 28 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/ |
D | android_view_cts_ASurfaceControlTest.cpp | 56 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/ |
D | ImageReaderTestHelpers.cpp | 74 int ImageReaderHelper::getBufferFromCurrentImage(AHardwareBuffer **outBuffer) { in getBufferFromCurrentImage() 102 AHardwareBuffer *buffer = nullptr; in getBufferFromCurrentImage()
|
D | ImageReaderTestHelpers.h | 39 int getBufferFromCurrentImage(AHardwareBuffer **outBuffer);
|
D | android_graphics_cts_CameraVulkanGpuTest.cpp | 69 AHardwareBuffer *buffer; in loadCameraAndVerifyFrameImport()
|
D | android_graphics_cts_BitmapTest.cpp | 55 AHardwareBuffer* buffer; in validateNdkAccessFails() 61 AHardwareBuffer* hardware_buffer = AHardwareBuffer_fromHardwareBuffer(env, hwBuffer); in fillRgbaHardwareBuffer() 133 AHardwareBuffer* buffer; in testNullBitmap() 165 AHardwareBuffer* buffer; in testInfo()
|
D | android_graphics_cts_FrameRateCtsActivity.cpp | 113 AHardwareBuffer* getBuffer() const { return mBuffer; } in getBuffer() 116 AHardwareBuffer* mBuffer = nullptr;
|
D | android_graphics_cts_BasicVulkanGpuTest.cpp | 89 AHardwareBuffer *buffer; in verifyBasicBufferImport()
|
D | VulkanTestHelpers.h | 64 bool init(AHardwareBuffer *buffer, bool useExternalFormat, int syncFd = -1);
|
D | android_graphics_cts_MediaVulkanGpuTest.cpp | 93 AHardwareBuffer *buffer; in loadMediaAndVerifyFrameImport()
|
D | android_graphics_cts_CameraGpuCtsActivity.cpp | 196 AHardwareBuffer* buffer; in drawFrame()
|
D | VulkanTestHelpers.cpp | 283 bool VkAHardwareBufferImage::init(AHardwareBuffer *buffer, bool useExternalFormat, int syncFd) { in init()
|
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 33 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/ |
D | AImageReaderCts.cpp | 367 AHardwareBuffer* outBuffer = nullptr; in HandleImageAvailable() 440 onBufferRemoved(void* /*obj*/, AImageReader* /*reader*/, AHardwareBuffer* /*buffer*/) { in onBufferRemoved() argument
|