Searched refs:hwBuffer2 (Results 1 – 1 of 1) sorted by relevance
679 private void assertMatches(HardwareBuffer hwBuffer, HardwareBuffer hwBuffer2) { in assertMatches() argument680 assertEquals(hwBuffer, hwBuffer2); in assertMatches()681 assertEquals(hwBuffer.hashCode(), hwBuffer2.hashCode()); in assertMatches()682 assertEquals(hwBuffer.getWidth(), hwBuffer2.getWidth()); in assertMatches()683 assertEquals(hwBuffer.getHeight(), hwBuffer2.getHeight()); in assertMatches()684 assertEquals(hwBuffer.getFormat(), hwBuffer2.getFormat()); in assertMatches()685 assertEquals(hwBuffer.getLayers(), hwBuffer2.getLayers()); in assertMatches()686 assertEquals(hwBuffer.getUsage(), hwBuffer2.getUsage()); in assertMatches()695 try (HardwareBuffer hwBuffer2 = bitmap.getHardwareBuffer()) { in testGetHardwareBufferMatchesWrapped() argument696 assertNotNull(hwBuffer2); in testGetHardwareBufferMatchesWrapped()[all …]