/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 61 mMapper = std::make_unique<const Gralloc5Mapper>(); in GraphicBufferMapper() 62 if (mMapper->isLoaded()) { in GraphicBufferMapper() 66 mMapper = std::make_unique<const Gralloc4Mapper>(); in GraphicBufferMapper() 67 if (mMapper->isLoaded()) { in GraphicBufferMapper() 71 mMapper = std::make_unique<const Gralloc3Mapper>(); in GraphicBufferMapper() 72 if (mMapper->isLoaded()) { in GraphicBufferMapper() 76 mMapper = std::make_unique<const Gralloc2Mapper>(); in GraphicBufferMapper() 77 if (mMapper->isLoaded()) { in GraphicBufferMapper() 87 result.append(mMapper->dumpBuffer(bufferHandle, less)); in dumpBuffer() 103 status_t error = mMapper->importBuffer(rawHandle, &bufferHandle); in importBuffer() [all …]
|
D | Gralloc5.cpp | 180 Gralloc5Allocator::Gralloc5Allocator(const Gralloc5Mapper &mapper) : mMapper(mapper) { in Gralloc5Allocator() 222 return mMapper.dumpBuffers(less); in dumpDebugInfo() 283 auto error = mMapper.importBuffer(handle, &ret.handle); in allocate() 314 mMapper = getInstance().mapper; in Gralloc5Mapper() 318 return mMapper != nullptr && mMapper->version >= AIMAPPER_VERSION_5; in isLoaded() 451 AIMapper_Error error = mMapper->v5.dumpBuffer(bufferHandle, dumpBuffer, &bufferInfo); in dumpBuffer() 502 AIMapper_Error error = mMapper->v5.dumpAllBuffers(beginCallback, dumpBuffer, &context); in dumpBuffers() 524 return mMapper->v5.importBuffer(rawHandle, outBufferHandle); in importBuffer() 528 mMapper->v5.freeBuffer(bufferHandle); in freeBuffer() 536 auto value = getStandardMetadata<StandardMetadataType::WIDTH>(mMapper, bufferHandle); in validateBufferSize() [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() 136 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor() 144 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() 157 auto ret = mMapper->freeBuffer(buffer); in freeBuffer() 171 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize() 183 auto ret = mMapper->getTransportSize(buffer, in getTransportSize() 216 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() 158 ret = mMapper->createDescriptor(info, hidl_cb); in createDescriptor() 167 auto ret = mMapper->importBuffer(rawHandle, in importBuffer() 183 auto ret = mMapper->freeBuffer(buffer); in freeBuffer() 261 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle, in lock() 301 auto ret = mMapper->lockYCbCr(buffer, usage, accessRegion, in lock() [all …]
|
D | GraphicBufferAllocator.cpp | 51 GraphicBufferAllocator::GraphicBufferAllocator() : mMapper(GraphicBufferMapper::getInstance()) { in GraphicBufferAllocator() 52 switch (mMapper.getMapperVersion()) { in GraphicBufferAllocator() 55 reinterpret_cast<const Gralloc5Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator() 59 reinterpret_cast<const Gralloc4Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator() 63 reinterpret_cast<const Gralloc3Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator() 67 reinterpret_cast<const Gralloc2Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator() 72 mMapper.getMapperVersion()); in GraphicBufferAllocator() 142 (int)mMapper.getMapperVersion()); in allocate() 285 mMapper.freeBuffer(handle); in free()
|
D | Gralloc4.cpp | 162 mMapper = IMapper::getService(); in Gralloc4Mapper() 163 if (mMapper == nullptr) { in Gralloc4Mapper() 167 if (mMapper->isRemote()) { in Gralloc4Mapper() 173 return mMapper != nullptr; in isLoaded() 196 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor() 204 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() 217 auto ret = mMapper->freeBuffer(buffer); in freeBuffer() 234 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize() 246 auto ret = mMapper->getTransportSize(buffer, in getTransportSize() 282 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle, in lock() [all …]
|
/frameworks/av/media/libaudiohal/tests/ |
D | CoreAudioHalAidl_test.cpp | 908 mMapper = std::make_unique<Hal2AidlMapper>("test", mModule); in SetUp() 909 ASSERT_EQ(OK, mMapper->initialize()); in SetUp() 914 ASSERT_EQ(OK, mMapper->setDevicePortConnectedState(mConnectedPort, true /*connected*/)); in SetUp() 917 auto mapperAccessor = std::make_unique<LockedAccessor<Hal2AidlMapper>>(*mMapper, mutex); in SetUp() 926 mMapper->prepareToOpenStream( in SetUp() 934 mMapper->addStream(mStream, mMixPortConfig.id, mPatch.id); in SetUp() 936 ASSERT_EQ(OK, mMapper->findPortConfig(mConnectedPort.ext.get<AudioPortExt::device>().device, in SetUp() 946 mMapper.reset(); in TearDown() 958 ASSERT_EQ(OK, mMapper->setDevicePortConnectedState(mConnectedPort, true /*connected*/)); in ConnectAnotherDevice() 963 auto mapperAccessor = std::make_unique<LockedAccessor<Hal2AidlMapper>>(*mMapper, mutex); in CreateFwkPatch() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | CursorInputMapper_test.cpp | 161 mMapper = createInputMapper<CursorInputMapper>(*mDeviceContext, mReaderConfiguration); in createMapper() 169 mMapper->reconfigure(ARBITRARY_TIME, mReaderConfiguration, in setPointerCapture() 205 ASSERT_EQ(AINPUT_SOURCE_MOUSE, mMapper->getSources()); in TEST_F() 212 ASSERT_EQ(AINPUT_SOURCE_TRACKBALL, mMapper->getSources()); in TEST_F() 341 mMapper->populateDeviceInfo(info); in TEST_F() 540 mMapper = createInputMapper<CursorInputMapper>(deviceContext, mReaderConfiguration); in TEST_F() 558 mMapper = createInputMapper<CursorInputMapper>(deviceContext, mReaderConfiguration); in TEST_F() 571 mMapper->reconfigure(ARBITRARY_TIME, mReaderConfiguration, in TEST_F() 583 args = mMapper->reconfigure(ARBITRARY_TIME, mReaderConfiguration, in TEST_F() 595 args = mMapper->reconfigure(ARBITRARY_TIME, mReaderConfiguration, in TEST_F() [all …]
|
D | TouchpadInputMapper_test.cpp | 116 mMapper = createInputMapper<TouchpadInputMapper>(*mDeviceContext, mReaderConfiguration); in SetUp() 133 args += mMapper->reconfigure(systemTime(SYSTEM_TIME_MONOTONIC), mReaderConfiguration, in TEST_F()
|
D | MultiTouchInputMapper_test.cpp | 116 mMapper = createInputMapper<MultiTouchInputMapper>(*mDeviceContext, in SetUp() 225 args = mMapper->reset(systemTime(SYSTEM_TIME_MONOTONIC)); in TEST_F()
|
D | KeyboardInputMapper_test.cpp | 69 mMapper = createInputMapper<KeyboardInputMapper>(*mDeviceContext, mReaderConfiguration, in SetUp()
|
D | InputMapperTest.cpp | 103 event.deviceId = mMapper->getDeviceContext().getEventHubId(); in process() 107 return mMapper->process(event); in process()
|
D | InputMapperTest.h | 73 std::unique_ptr<InputMapper> mMapper; variable
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalAidl.cpp | 113 mMapper(instance, module), mMapperAccessor(mMapper, mLock) { in DeviceHalAidl() 118 return mMapper.getAudioPorts(ports, ndk2cpp_AudioPort); in getAudioPorts() 123 return mMapper.getAudioRoutes(routes, ndk2cpp_AudioRoute); in getAudioRoutes() 153 return mMapper.initialize(); in initCheck() 297 RETURN_STATUS_IF_ERROR(mMapper.prepareToOpenStream( in getInputBufferSize() 452 RETURN_STATUS_IF_ERROR(mMapper.prepareToOpenStream(aidlHandle, aidlDevice, aidlFlags, in openOutputStream() 493 mMapper.addStream(*outStream, mixPortConfig.id, aidlPatch.id); in openOutputStream() 535 RETURN_STATUS_IF_ERROR(mMapper.prepareToOpenStream( in openInputStream() 565 mMapper.addStream(*inStream, mixPortConfig.id, aidlPatch.id); in openInputStream() 629 if (int32_t aidlHalPatchId = mMapper.findFwkPatch(aidlPatchId); aidlHalPatchId != 0) { in createAudioPatch() [all …]
|
D | DeviceHalAidl.h | 248 Hal2AidlMapper mMapper GUARDED_BY(mLock);
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionProtoParser.h | 45 : mMapper(std::move(provider)) {} in TransactionProtoParser() 57 std::unique_ptr<FlingerDataMapper> 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 | Gralloc2.h | 69 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper; variable 88 const Gralloc2Mapper& mMapper;
|
D | Gralloc5.h | 162 AIMapper *mMapper = nullptr; variable 184 const Gralloc5Mapper &mMapper;
|
D | GraphicBufferMapper.h | 174 return reinterpret_cast<const GrallocMapper&>(*mMapper); in getGrallocMapper() 184 std::unique_ptr<const GrallocMapper> mMapper; variable
|
D | Gralloc4.h | 163 sp<hardware::graphics::mapper::V4_0::IMapper> mMapper; variable 181 const Gralloc4Mapper& mMapper;
|
D | GraphicBufferAllocator.h | 135 GraphicBufferMapper& mMapper; variable
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferMapper.h | 174 return reinterpret_cast<const GrallocMapper&>(*mMapper); in getGrallocMapper() 184 std::unique_ptr<const GrallocMapper> mMapper; variable
|
D | GraphicBufferAllocator.h | 135 GraphicBufferMapper& mMapper; variable
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 107 C2_CHECK(!mMapper); in withMapper() 109 mMapper = mapper; in withMapper() 115 C2_CHECK(!mMapper); in withMappers() 117 mMapper = mapper; in withMappers() 125 C2_CHECK(!mMapper); in withC2Mappers() 127 mMapper = [](C2Value v) -> C2Value { in withC2Mappers() 163 if (value.type() != C2Value::NO_INIT && mMapper) { in mapFromMessage() 164 value = mMapper(value); in mapFromMessage() 182 Mapper mapper() const { return mMapper; } in mapper() 190 Mapper mMapper; ///< optional SDK => Codec 2.0 value mapper member
|