Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp39 mMapper = IMapper::getService(mapperServiceName); in init()
40 ASSERT_NE(nullptr, mMapper.get()) << "failed to get mapper service"; in init()
41 ASSERT_FALSE(mMapper->isRemote()) << "mapper is not in passthrough mode"; in init()
48 mMapper = IMapper::getService(mapperServiceName); in initNoErr()
49 if (mMapper.get()) { in initNoErr()
50 ASSERT_FALSE(mMapper->isRemote()) << "mapper is not in passthrough mode"; in initNoErr()
64 EXPECT_EQ(Error::NONE, mMapper->freeBuffer(buffer)) << "failed to free buffer " << buffer; in ~Gralloc()
138 return mMapper; in getMapper()
143 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor()
153 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
[all …]
/hardware/libhardware/tests/input/evdev/
DSwitchInputMapper_test.cpp39 mMapper = std::make_unique<SwitchInputMapper>(); in SetUp()
43 std::unique_ptr<SwitchInputMapper> mMapper; member in android::tests::SwitchInputMapperTest
57 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()
67 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()
78 mMapper->configureInputReport(&deviceNode, &reportDef); in TEST_F()
100 mMapper->process(e); in TEST_F()
DMouseInputMapper_test.cpp39 mMapper = std::make_unique<MouseInputMapper>(); in SetUp()
43 std::unique_ptr<MouseInputMapper> mMapper; member in android::tests::MouseInputMapperTest
63 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()
74 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()
88 mMapper->configureInputReport(&deviceNode, &reportDef); in TEST_F()
117 mMapper->process(e); in TEST_F()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp34 mMapper = IMapper::getService(mapperServiceName); in init()
35 ASSERT_NE(nullptr, mMapper.get()) << "failed to get mapper service"; in init()
36 ASSERT_FALSE(mMapper->isRemote()) << "mapper is not in passthrough mode"; in init()
49 EXPECT_EQ(Error::NONE, mMapper->freeBuffer(buffer)) << "failed to free buffer " << buffer; in ~Gralloc()
123 return mMapper; in getMapper()
128 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor()
138 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
155 Error error = mMapper->freeBuffer(buffer); in freeBuffer()
177 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
203 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
[all …]
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp85 : mAllocator(allocator), mMapper(mapper) { in GrallocHalWrapper()
102 sp<MapperT> mMapper; member in android::__anon6e7a76650111::GrallocHalWrapper
138 auto error = mMapper->freeBuffer(bufferHandle); in freeBuffer()
163 mMapper->createDescriptor(descriptorInfo, callback); in getDescriptor()
172 mMapper->importBuffer(rawHandle, [&](auto error, void* tmpBuffer) { in importBuffer()
191 mMapper->lock(bufferHandle, kBufferUsage, accessRegion, acquireFenceHandle, in lock()
206 mMapper->unlock(bufferHandle, [&](auto error, const hidl_handle& /*releaseFence*/) { in unlock()
/hardware/google/av/codec2/vndk/
DC2AllocatorGralloc.cpp299 const sp<IMapper> mMapper; member in android::C2AllocationGralloc
317 mMapper(mapper), in C2AllocationGralloc()
333 mMapper->freeBuffer(const_cast<native_handle_t *>(mBuffer)); in ~C2AllocationGralloc()
368 mMapper->importBuffer( in map()
406 mMapper->lockYCbCr( in map()
485 mMapper->lock( in map()
566 mMapper->unlock( in unmap()
618 sp<IMapper> mMapper; member in android::C2AllocatorGralloc::Impl
639 mMapper = IMapper::getService(); in Impl()
640 if (mAllocator == nullptr || mMapper == nullptr) { in Impl()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h82 sp<IMapper> mMapper; variable
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h94 sp<IMapper> mMapper; variable
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp369 sp<IMapper> mMapper; member
370 MapperV2(sp<IMapper>&& mapper): mMapper{std::move(mapper)} {} in MapperV2()
379 return mMapper->lock(buffer, usage, rect, handle, in lock()
387 sp<IMapper> mMapper; member
388 MapperV3(sp<IMapper>&& mapper): mMapper{std::move(mapper)} {} in MapperV3()
397 return mMapper->lock(buffer, usage, rect, handle, in lock()
656 mapper.mMapper->lockYCbCr( in colorFormatConversion()
710 mapper.mMapper->unlock(buff, in colorFormatConversion()
744 mapper.mMapper->unlock( in colorFormatConversion()
773 mapper.mMapper->importBuffer( in fillGraphicBuffer()
[all …]
/hardware/google/av/media/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
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp204 sp<IMapper> mMapper; in allocateGraphicBuffers() member
206 : mAllocator{std::move(allocator)}, mMapper{std::move(mapper)} {} in allocateGraphicBuffers()
211 sp<IMapper> mMapper; in allocateGraphicBuffers() member
213 : mAllocator{std::move(allocator)}, mMapper{std::move(mapper)} {} in allocateGraphicBuffers()
269 gralloc.mMapper->createDescriptor(descriptorInfo, in allocateGraphicBuffers()