/hardware/interfaces/graphics/mapper/3.0/utils/vts/ |
D | MapperVts.cpp | 39 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/ |
D | SwitchInputMapper_test.cpp | 39 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()
|
D | MouseInputMapper_test.cpp | 39 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/ |
D | MapperVts.cpp | 34 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/ |
D | GrallocWrapper.cpp | 85 : 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/ |
D | C2AllocatorGralloc.cpp | 299 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/ |
D | MapperVts.h | 82 sp<IMapper> mMapper; variable
|
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/ |
D | MapperVts.h | 94 sp<IMapper> mMapper; variable
|
/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 369 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/ |
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
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 204 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()
|