Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/tests/
DGraphicBuffer_test.cpp30 constexpr uint64_t kTestUsage = GraphicBuffer::USAGE_SW_WRITE_OFTEN; variable
39 kTestUsage, std::string("test"))); in TEST_F()
52 sp<GraphicBuffer> gb(new GraphicBuffer(width, height, format, kTestLayerCount, kTestUsage, in TEST_F()
64 sp<GraphicBuffer> gb2(new GraphicBuffer(width, height, format, kTestLayerCount, kTestUsage, in TEST_F()
DGraphicBufferAllocator_test.cpp37 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()
DGraphicBufferOverBinder_test.cpp35 constexpr uint64_t kTestUsage = GraphicBuffer::USAGE_SW_WRITE_OFTEN; variable
46 kTestUsage); in GraphicBufferOverBinderTestService()
121 EXPECT_EQ(gb->lock(kTestUsage, &vaddr), OK); in TEST_F()