Home
last modified time | relevance | path

Searched refs:allocator2 (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp227 sp<IAllocator2> allocator2 = IAllocator2::getService(); in GrallocWrapper() local
233 if (allocator2 != nullptr && mapper2 != nullptr) { in GrallocWrapper()
235 new GrallocHalWrapper<IAllocator2, IMapper2>(allocator2, mapper2)); in GrallocWrapper()
238 (allocator2 != nullptr), (mapper2 != nullptr)); in GrallocWrapper()
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp220 sp<android::hardware::graphics::allocator::V2_0::IAllocator> allocator2{}; in allocateGraphicBuffers() local
229 allocator2 = in allocateGraphicBuffers()
231 ASSERT_NE(nullptr, allocator2.get()); in allocateGraphicBuffers()
234 ASSERT_NE(nullptr, allocator2.get()); in allocateGraphicBuffers()
235 grallocVar.emplace<AllocatorV2>(std::move(allocator2), std::move(mapper2)); in allocateGraphicBuffers()