Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/tests/
DGraphicBuffer_test.cpp124 GraphicBuffer* gb2 = new GraphicBuffer(); in TEST_F() local
125 err = gb2->unflatten(unflattenData, unflattenSize, unflattenFdData, unflattenFdCount); in TEST_F()
127 EXPECT_TRUE(gb2->isBufferHubBuffer()); in TEST_F()
129 EXPECT_EQ(gb2->getWidth(), kTestWidth); in TEST_F()
130 EXPECT_EQ(gb2->getHeight(), kTestHeight); in TEST_F()
131 EXPECT_EQ(static_cast<uint32_t>(gb2->getPixelFormat()), kTestFormat); in TEST_F()
132 EXPECT_EQ(gb2->getUsage(), kTestUsage); in TEST_F()
133 EXPECT_EQ(gb2->getLayerCount(), kTestLayerCount); in TEST_F()
134 EXPECT_EQ(gb1->getBufferId(), gb2->getBufferId()); in TEST_F()
135 EXPECT_EQ(gb2->getGenerationNumber(), 42); in TEST_F()