Searched refs:kTestWidth (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/ui/tests/ |
D | GraphicBuffer_test.cpp | 28 constexpr uint32_t kTestWidth = 1024; variable 40 sp<GraphicBuffer> gb(new GraphicBuffer(kTestWidth, kTestHeight, format, kTestLayerCount, in TEST_F() 56 BufferHubBuffer::create(kTestWidth, kTestHeight, kTestLayerCount, kTestFormat, in TEST_F() 64 EXPECT_EQ(gb->getWidth(), kTestWidth); 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() 129 EXPECT_EQ(gb2->getWidth(), kTestWidth); in TEST_F()
|
D | GraphicBufferAllocator_test.cpp | 34 constexpr uint32_t kTestWidth = 1024; variable 69 mAllocator.setUpAllocateExpectations(NO_ERROR, kTestWidth); in TEST_F() 73 status_t err = mAllocator.allocate(kTestWidth, kTestHeight, format, kTestLayerCount, kTestUsage, in TEST_F() 76 ASSERT_EQ(kTestWidth, stride); in TEST_F() 87 status_t err = mAllocator.allocate(kTestWidth, kTestHeight, format, kTestLayerCount, kTestUsage, in TEST_F()
|