Searched refs:gb2 (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/ui/tests/ |
D | GraphicBuffer_test.cpp | 108 GraphicBuffer* gb2 = new GraphicBuffer(); in TEST_F() local 109 err = gb2->unflatten(unflattenData, unflattenSize, unflattenFdData, unflattenFdCount); in TEST_F() 111 EXPECT_TRUE(gb2->isBufferHubBuffer()); in TEST_F() 113 EXPECT_EQ(gb2->getWidth(), kTestWidth); in TEST_F() 114 EXPECT_EQ(gb2->getHeight(), kTestHeight); in TEST_F() 115 EXPECT_EQ(static_cast<uint32_t>(gb2->getPixelFormat()), kTestFormat); in TEST_F() 116 EXPECT_EQ(gb2->getUsage(), kTestUsage); in TEST_F() 117 EXPECT_EQ(gb2->getLayerCount(), kTestLayerCount); in TEST_F() 118 EXPECT_EQ(gb1->getBufferId(), gb2->getBufferId()); in TEST_F() 119 EXPECT_EQ(gb2->getGenerationNumber(), 42); in TEST_F()
|