Home
last modified time | relevance | path

Searched refs:mMapper (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp53 mMapper = std::make_unique<const Gralloc3Mapper>(); in GraphicBufferMapper()
54 if (!mMapper->isLoaded()) { in GraphicBufferMapper()
55 mMapper = std::make_unique<const Gralloc2Mapper>(); in GraphicBufferMapper()
61 if (!mMapper->isLoaded()) { in GraphicBufferMapper()
74 status_t error = mMapper->importBuffer(hardware::hidl_handle(rawHandle), &bufferHandle); in importBuffer()
80 error = mMapper->validateBufferSize(bufferHandle, width, height, format, layerCount, usage, in importBuffer()
96 mMapper->getTransportSize(handle, outTransportNumFds, outTransportNumInts); in getTransportSize()
103 mMapper->freeBuffer(handle); in freeBuffer()
146 return mMapper->lock(handle, usage, bounds, fenceFd, vaddr, outBytesPerPixel, in lockAsync()
155 return mMapper->lock(handle, usage, bounds, fenceFd, ycbcr); in lockAsyncYCbCr()
[all …]
DGralloc3.cpp81 mMapper = IMapper::getService(); in Gralloc3Mapper()
82 if (mMapper == nullptr) { in Gralloc3Mapper()
86 if (mMapper->isRemote()) { in Gralloc3Mapper()
92 return mMapper != nullptr; in isLoaded()
127 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor()
135 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
148 auto ret = mMapper->freeBuffer(buffer); in freeBuffer()
162 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize()
174 auto ret = mMapper->getTransportSize(buffer, in getTransportSize()
207 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle, in lock()
[all …]
DGralloc2.cpp84 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()
[all …]
DGraphicBufferAllocator.cpp48 GraphicBufferAllocator::GraphicBufferAllocator() : mMapper(GraphicBufferMapper::getInstance()) { in GraphicBufferAllocator()
50 reinterpret_cast<const Gralloc3Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator()
53 reinterpret_cast<const Gralloc2Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator()
157 mMapper.freeBuffer(handle); in free()
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h89 return reinterpret_cast<const GrallocMapper&>(*mMapper); in getGrallocMapper()
99 std::unique_ptr<const GrallocMapper> mMapper; variable
DGralloc3.h71 sp<hardware::graphics::mapper::V3_0::IMapper> mMapper; variable
89 const Gralloc3Mapper& mMapper;
DGralloc2.h72 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper; variable
91 const Gralloc2Mapper& mMapper;
DGraphicBufferAllocator.h76 GraphicBufferMapper& mMapper; variable
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h89 return reinterpret_cast<const GrallocMapper&>(*mMapper); in getGrallocMapper()
99 std::unique_ptr<const GrallocMapper> mMapper; variable
DGralloc2.h72 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper; variable
91 const Gralloc2Mapper& mMapper;
DGraphicBufferAllocator.h76 GraphicBufferMapper& mMapper; variable
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp76 C2_CHECK(!mMapper); in withMapper()
78 mMapper = mapper; in withMapper()
84 C2_CHECK(!mMapper); in withMappers()
86 mMapper = mapper; in withMappers()
94 C2_CHECK(!mMapper); in withC2Mappers()
96 mMapper = [](C2Value v) -> C2Value { in withC2Mappers()
132 if (value.type() != C2Value::NO_INIT && mMapper) { in mapFromMessage()
133 value = mMapper(value); in mapFromMessage()
168 Mapper mapper() const { return mMapper; } in mapper()
176 Mapper mMapper; ///< optional SDK => Codec 2.0 value mapper member
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDatabase.java87 private final Mapper mMapper; field in MtpDatabase
96 mMapper = new Mapper(this); in MtpDatabase()
108 return mMapper; in getMapper()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java687 private final LegacyResultMapper mMapper = new LegacyResultMapper();
922 CameraMetadataNative result = mMapper.cachedConvertResultMetadata(