Searched refs:kTestUsage (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/ui/tests/ |
D | GraphicBuffer_test.cpp | 32 constexpr uint64_t kTestUsage = GraphicBuffer::USAGE_SW_WRITE_OFTEN; variable 41 kTestUsage, std::string("test"))); in TEST_F() 49 sp<GraphicBuffer> gb(new GraphicBuffer(width, height, format, kTestLayerCount, kTestUsage, in TEST_F() 57 kTestUsage, /*userMetadataSize=*/0); in TEST_F() 67 EXPECT_EQ(gb->getUsage(), kTestUsage); in TEST_F() 73 new GraphicBuffer(kTestWidth, kTestHeight, kTestFormat, kTestLayerCount, kTestUsage)); in TEST_F() 81 kTestUsage, /*userMetadataSize=*/0); in TEST_F() 96 kTestUsage, /*userMetadataSize=*/0); in TEST_F() 132 EXPECT_EQ(gb2->getUsage(), kTestUsage); in TEST_F()
|
D | GraphicBufferAllocator_test.cpp | 37 constexpr uint64_t kTestUsage = GraphicBuffer::USAGE_SW_WRITE_OFTEN; 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()
|