/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 53 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 …]
|
D | Gralloc3.cpp | 81 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 …]
|
D | Gralloc2.cpp | 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() [all …]
|
D | GraphicBufferAllocator.cpp | 49 GraphicBufferAllocator::GraphicBufferAllocator() : mMapper(GraphicBufferMapper::getInstance()) { in GraphicBufferAllocator() 51 reinterpret_cast<const Gralloc3Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator() 54 reinterpret_cast<const Gralloc2Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator() 176 mMapper.freeBuffer(handle); in free()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferMapper.h | 89 return reinterpret_cast<const GrallocMapper&>(*mMapper); in getGrallocMapper() 99 std::unique_ptr<const GrallocMapper> mMapper; variable
|
D | Gralloc2.h | 72 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper; variable 91 const Gralloc2Mapper& mMapper;
|
D | GraphicBufferAllocator.h | 76 GraphicBufferMapper& mMapper; variable
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc3.h | 71 sp<hardware::graphics::mapper::V3_0::IMapper> mMapper; variable 89 const Gralloc3Mapper& mMapper;
|
D | GraphicBufferMapper.h | 89 return reinterpret_cast<const GrallocMapper&>(*mMapper); in getGrallocMapper() 99 std::unique_ptr<const GrallocMapper> mMapper; variable
|
D | Gralloc2.h | 72 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper; variable 91 const Gralloc2Mapper& mMapper;
|
D | GraphicBufferAllocator.h | 76 GraphicBufferMapper& mMapper; variable
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 76 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/ |
D | MtpDatabase.java | 87 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/ |
D | RequestThreadManager.java | 687 private final LegacyResultMapper mMapper = new LegacyResultMapper(); 922 CameraMetadataNative result = mMapper.cachedConvertResultMetadata(
|