Lines Matching refs:mMapper
84 mMapper = hardware::graphics::mapper::V2_0::IMapper::getService(); in Gralloc2Mapper()
85 if (mMapper == nullptr) { in Gralloc2Mapper()
89 if (mMapper->isRemote()) { in Gralloc2Mapper()
94 mMapperV2_1 = IMapper::castFrom(mMapper); in Gralloc2Mapper()
98 return mMapper != nullptr; in isLoaded()
149 ret = mMapper->createDescriptor(info, hidl_cb); in createDescriptor()
158 auto ret = mMapper->importBuffer(rawHandle, in importBuffer()
174 auto ret = mMapper->freeBuffer(buffer); in freeBuffer()
252 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle, in lock()
292 auto ret = mMapper->lockYCbCr(buffer, usage, accessRegion, in lock()
326 auto ret = mMapper->unlock(buffer, in unlock()
360 Gralloc2Allocator::Gralloc2Allocator(const Gralloc2Mapper& mapper) : mMapper(mapper) { in Gralloc2Allocator()
393 status_t error = mMapper.createDescriptor(static_cast<void*>(&descriptorInfo), in allocate()
409 error = mMapper.importBuffer(tmpBuffers[i], in allocate()
413 mMapper.freeBuffer(outBufferHandles[j]); in allocate()