Searched defs:hwBuffer (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 656 try (HardwareBuffer hwBuffer = createTestBuffer(128, 128, false)) { in testWrapHardwareBufferSucceeds() 665 try (HardwareBuffer hwBuffer = HardwareBuffer.create(512, 512, HardwareBuffer.RGBA_8888, 1, in testWrapHardwareBufferWithInvalidUsageFails() 673 try (HardwareBuffer hwBuffer = HardwareBuffer.create(512, 512, HardwareBuffer.RGBA_8888, 1, in testWrapHardwareBufferWithRgbBufferButNonRgbColorSpaceFails() 679 private void assertMatches(HardwareBuffer hwBuffer, HardwareBuffer hwBuffer2) { in assertMatches() 691 try (HardwareBuffer hwBuffer = createTestBuffer(128, 128, false)) { in testGetHardwareBufferMatchesWrapped() 715 try (HardwareBuffer hwBuffer = bitmap.getHardwareBuffer()) { in testGetHardwareBufferConfig() 726 try (HardwareBuffer hwBuffer = bitmap.getHardwareBuffer()) { in testGetHardwareBufferTwice() 739 try (HardwareBuffer hwBuffer = bitmap.getHardwareBuffer()) { in testGetHardwareBufferMatches() 762 HardwareBuffer hwBuffer = createTestBuffer(128, 128, false); in testGetHardwareBufferClosed() local 2310 try (HardwareBuffer hwBuffer = createTestBuffer(1024, 512, false)) { in testWrappedHardwareBufferBitmapNotLeaking() [all …]
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_BitmapTest.cpp | 60 static void fillRgbaHardwareBuffer(JNIEnv* env, jclass, jobject hwBuffer) { in fillRgbaHardwareBuffer()
|