Home
last modified time | relevance | path

Searched refs:getHardwareBuffer (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecBlockModelHelper.java253 if (mGraphic && frame.getHardwareBuffer() != null) { in onOutputSlot()
254 frame.getHardwareBuffer().close(); in onOutputSlot()
287 if (frame.getHardwareBuffer() != null) { in onOutputSlot()
288 frame.getHardwareBuffer().close(); in onOutputSlot()
/cts/tests/sensor/jni/
DSensorTest.h119 AHardwareBuffer const * getHardwareBuffer() const { in getHardwareBuffer() function
DSensorTest.cpp67 mem.getHardwareBuffer(), mem.getSize()); in createDirectChannel()
DSensorTestCases.cpp168 ASSERT_NOT_NULL(mem->getHardwareBuffer()); in testDirectReport()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java111 image.getHardwareBuffer(), null)
/cts/tests/tests/graphics/src/android/graphics/cts/
DGainmapTest.java119 assertEquals(HardwareBuffer.RGBA_8888, bitmap.getHardwareBuffer().getFormat()); in checkGainmap()
129 assertEquals(HardwareBuffer.RGBA_8888, gainmapData.getHardwareBuffer().getFormat()); in checkGainmap()
148 assertEquals(HardwareBuffer.RGBA_8888, bitmap.getHardwareBuffer().getFormat()); in checkFountainGainmap()
158 final int gainmapFormat = gainmapData.getHardwareBuffer().getFormat(); in checkFountainGainmap()
DBitmapTest.java733 try (HardwareBuffer hwBuffer2 = bitmap.getHardwareBuffer()) { in testGetHardwareBufferMatchesWrapped()
779 try (HardwareBuffer hwBuffer = bitmap.getHardwareBuffer()) { in testGetHardwareBufferConfig()
790 try (HardwareBuffer hwBuffer = bitmap.getHardwareBuffer()) { in testGetHardwareBufferTwice()
792 try (HardwareBuffer hwBuffer2 = bitmap.getHardwareBuffer()) { in testGetHardwareBufferTwice()
803 try (HardwareBuffer hwBuffer = bitmap.getHardwareBuffer()) { in testGetHardwareBufferMatches()
806 assertTrue(set.contains(bitmap.getHardwareBuffer())); in testGetHardwareBufferMatches()
813 bitmap.getHardwareBuffer(); in testGetHardwareBufferNonHardware()
821 bitmap.getHardwareBuffer(); in testGetHardwareBufferRecycled()
832 try (HardwareBuffer hwBuffer2 = bitmap.getHardwareBuffer()) { in testGetHardwareBufferClosed()
2560 HardwareBuffer buffer = hwBitmap.getHardwareBuffer(); in testNdkInfo()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTakeScreenshotTest.java390 final Bitmap bitmap = Bitmap.wrapHardwareBuffer(screenshot.getHardwareBuffer(), in doesScreenshotContainColor()
421 final HardwareBuffer hardwareBuffer = screenshot.getHardwareBuffer(); in verifyScreenshotResult()
/cts/tests/tests/display/src/android/display/cts/
DDisplayManagerTest.java141 image.getHardwareBuffer(), null) in testCreateVirtualDisplayFromShell()
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiResolutionImageReaderTest.java548 HardwareBuffer hwb = img.getHardwareBuffer(); in validateImage()
DImageReaderTest.java1326 HardwareBuffer buffer = image.getHardwareBuffer(); in testUsageRespected()
2056 HardwareBuffer hwb = img.getHardwareBuffer(); in validateImage()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlTest.java2153 HardwareBuffer queuedBuffer = acquiredImage.getHardwareBuffer(); in testDefaultDataSpaceForRGBBufferIssRGB()
2237 HardwareBuffer queuedBuffer = acquiredImage.getHardwareBuffer(); in testDefaultDataSpaceForYUVBufferIssRGB()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java102 HardwareBufferRenderer renderer = new HardwareBufferRenderer(image.getHardwareBuffer()); in makeHardwareBufferRendererCallback()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3491 usage = img.getHardwareBuffer().getUsage(); in getSurfaceUsage()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt3502 method @NonNull public android.hardware.HardwareBuffer getHardwareBuffer();
15492 method @NonNull public android.hardware.HardwareBuffer getHardwareBuffer();
22338 method @Nullable public android.hardware.HardwareBuffer getHardwareBuffer();
22745 method @Nullable public android.hardware.HardwareBuffer getHardwareBuffer();