Searched refs:allocator2 (Results 1 – 2 of 2) sorted by relevance
227 sp<IAllocator2> allocator2 = IAllocator2::getService(); in GrallocWrapper() local233 if (allocator2 != nullptr && mapper2 != nullptr) { in GrallocWrapper()235 new GrallocHalWrapper<IAllocator2, IMapper2>(allocator2, mapper2)); in GrallocWrapper()238 (allocator2 != nullptr), (mapper2 != nullptr)); in GrallocWrapper()
220 sp<android::hardware::graphics::allocator::V2_0::IAllocator> allocator2{}; in allocateGraphicBuffers() local229 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()