Home
last modified time | relevance | path

Searched refs:gb2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/ui/tests/
DGraphicBuffer_test.cpp64 sp<GraphicBuffer> gb2(new GraphicBuffer(width, height, format, kTestLayerCount, kTestUsage, in TEST_F() local
66 ASSERT_EQ(BAD_VALUE, gb2->initCheck()); in TEST_F()
/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp163 sp<GraphicBuffer> gb2(new GraphicBuffer(testWidth, in TEST() local
169 EXPECT_NE(nullptr, gb2.get()); in TEST()
170 const AHardwareBuffer* ahb2 = AHardwareBuffer_from_GraphicBuffer(gb2.get()); in TEST()
174 EXPECT_EQ(id2, gb2->getId()); in TEST()