Searched refs:mMapper (Results 1 - 11 of 11) sorted by relevance

/hardware/interfaces/camera/common/1.0/default/
H A DHandleImporter.cpp37 mMapper = IMapper::getService();
38 if (mMapper == nullptr) {
48 mMapper.clear();
66 if (mMapper == nullptr) {
67 ALOGE("%s: mMapper is null!", __FUNCTION__);
73 auto ret = mMapper->importBuffer(
101 if (mMapper == nullptr) {
102 ALOGE("%s: mMapper is null!", __FUNCTION__);
106 auto ret = mMapper->freeBuffer(const_cast<native_handle_t*>(handle));
147 if (mMapper
[all...]
/hardware/libhardware/tests/input/evdev/
H A DSwitchInputMapper_test.cpp39 mMapper = std::make_unique<SwitchInputMapper>();
43 std::unique_ptr<SwitchInputMapper> mMapper; member in class:android::tests::SwitchInputMapperTest
57 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef));
67 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef));
78 mMapper->configureInputReport(&deviceNode, &reportDef);
100 mMapper->process(e);
H A DMouseInputMapper_test.cpp39 mMapper = std::make_unique<MouseInputMapper>();
43 std::unique_ptr<MouseInputMapper> mMapper; member in class:android::tests::MouseInputMapperTest
63 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef));
74 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef));
88 mMapper->configureInputReport(&deviceNode, &reportDef);
117 mMapper->process(e);
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
H A DMapperVts.cpp36 mMapper = ::testing::VtsHalHidlTargetTestBase::getService<IMapper>(mapperServiceName);
37 ASSERT_NE(nullptr, mMapper.get()) << "failed to get mapper service";
38 ASSERT_FALSE(mMapper->isRemote()) << "mapper is not in passthrough mode";
51 EXPECT_EQ(Error::NONE, mMapper->freeBuffer(buffer)) << "failed to free buffer " << buffer;
125 return mMapper;
130 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) {
140 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) {
157 Error error = mMapper->freeBuffer(buffer);
179 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle,
205 mMapper
[all...]
/hardware/interfaces/sensors/1.0/vts/functional/
H A DGrallocWrapper.cpp33 mMapper = mapper2::IMapper::getService();
34 if (mMapper == nullptr) {
37 if (mMapper->isRemote()) {
52 if (mMapper->freeBuffer(buffer) != mapper2::Error::NONE) {
122 sp<mapper2::IMapper> GrallocWrapper::getMapper() const { return mMapper; }
127 mMapper->createDescriptor(
141 mMapper->importBuffer(
160 mapper2::Error error = mMapper->freeBuffer(buffer);
186 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle,
205 mMapper
[all...]
H A DGrallocWrapper.h71 sp<mapper2::IMapper> mMapper; member in class:android::GrallocWrapper
/hardware/interfaces/camera/common/1.0/default/include/
H A DHandleImporter.h62 sp<IMapper> mMapper; member in class:android::hardware::camera::common::V1_0::helper::HandleImporter
/hardware/google/av/codec2/vndk/
H A DC2AllocatorGralloc.cpp270 const sp<IMapper> mMapper; member in class:android::__anon223::C2AllocationGralloc
287 mMapper(mapper),
305 mMapper->freeBuffer(const_cast<native_handle_t *>(mBuffer));
331 mMapper->importBuffer(
360 mMapper->lockYCbCr(
439 mMapper->lock(
518 mMapper->unlock(
570 sp<IMapper> mMapper; member in class:android::__anon223::C2AllocatorGralloc::Impl
590 mMapper = IMapper::getService();
591 if (mAllocator == nullptr || mMapper
[all...]
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
H A DMapperVts.h81 sp<IMapper> mMapper; member in class:android::hardware::graphics::mapper::V2_0::vts::Gralloc
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
H A DComposerResources.h42 mMapper = mapper::V2_0::IMapper::getService();
43 ALOGE_IF(!mMapper, "failed to get mapper service");
44 return mMapper != nullptr;
55 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) {
69 mMapper->freeBuffer(static_cast<void*>(const_cast<native_handle_t*>(bufferHandle)));
94 sp<mapper::V2_0::IMapper> mMapper; member in class:android::hardware::graphics::composer::V2_1::hal::ComposerHandleImporter
/hardware/google/av/media/sfplugin/
H A DCCodecConfig.cpp61 C2_CHECK(!mMapper);
63 mMapper = mapper;
69 C2_CHECK(!mMapper);
71 mMapper = mapper;
92 if (value.type() != C2Value::NO_INIT && mMapper) {
93 value = mMapper(value);
128 Mapper mapper() const { return mMapper; }
136 Mapper mMapper; ///< optional SDK => Codec 2.0 value mapper member in struct:android::__anon278::ConfigMapper

Completed in 700 milliseconds