Searched refs:createTestBuffer (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 656 try (HardwareBuffer hwBuffer = createTestBuffer(128, 128, false)) { in testWrapHardwareBufferSucceeds() 691 try (HardwareBuffer hwBuffer = createTestBuffer(128, 128, false)) { in testGetHardwareBufferMatchesWrapped() 762 HardwareBuffer hwBuffer = createTestBuffer(128, 128, false); in testGetHardwareBufferClosed() 2008 try (HardwareBuffer hwBufferA = createTestBuffer(512, 512, true); in testSameAs_wrappedHardwareBuffer() 2009 HardwareBuffer hwBufferB = createTestBuffer(512, 512, true); in testSameAs_wrappedHardwareBuffer() 2010 HardwareBuffer hwBufferC = createTestBuffer(512, 512, true);) { in testSameAs_wrappedHardwareBuffer() 2310 try (HardwareBuffer hwBuffer = createTestBuffer(1024, 512, false)) { in testWrappedHardwareBufferBitmapNotLeaking() 2352 try (HardwareBuffer hwBuffer = createTestBuffer(128, 128, true)) { in testWrapHardwareBufferHoldsReference() 2375 try (HardwareBuffer hwBuffer = createTestBuffer(128, 128, true)) { in testWrapHardwareBufferPreservesColors() 2909 private static HardwareBuffer createTestBuffer(int width, int height, boolean cpuAccess) { in createTestBuffer() method
|