Searched refs:kTestLayerCount (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/ui/tests/ |
D | GraphicBuffer_test.cpp | 31 constexpr uint32_t kTestLayerCount = 1; variable 40 sp<GraphicBuffer> gb(new GraphicBuffer(kTestWidth, kTestHeight, format, kTestLayerCount, in TEST_F() 49 sp<GraphicBuffer> gb(new GraphicBuffer(width, height, format, kTestLayerCount, kTestUsage, in TEST_F() 56 BufferHubBuffer::create(kTestWidth, kTestHeight, kTestLayerCount, kTestFormat, in TEST_F() 68 EXPECT_EQ(gb->getLayerCount(), kTestLayerCount); in TEST_F() 73 new GraphicBuffer(kTestWidth, kTestHeight, kTestFormat, kTestLayerCount, kTestUsage)); in TEST_F() 80 BufferHubBuffer::create(kTestWidth, kTestHeight, kTestLayerCount, kTestFormat, in TEST_F() 95 BufferHubBuffer::create(kTestWidth, kTestHeight, kTestLayerCount, kTestFormat, in TEST_F() 133 EXPECT_EQ(gb2->getLayerCount(), kTestLayerCount); in TEST_F()
|
D | GraphicBufferAllocator_test.cpp | 36 constexpr uint32_t kTestLayerCount = 1; variable 73 status_t err = mAllocator.allocate(kTestWidth, kTestHeight, format, kTestLayerCount, kTestUsage, in TEST_F() 87 status_t err = mAllocator.allocate(kTestWidth, kTestHeight, format, kTestLayerCount, kTestUsage, in TEST_F() 111 status_t err = mAllocator.allocate(width, height, format, kTestLayerCount, kTestUsage, &handle, in TEST_F()
|