Home
last modified time | relevance | path

Searched refs:mapper (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1309 FakeInputMapper* mapper = new FakeInputMapper(device, sources); in addDeviceWithFakeInputMapper() local
1310 device->addMapper(mapper); in addDeviceWithFakeInputMapper()
1313 return mapper; in addDeviceWithFakeInputMapper()
1349 FakeInputMapper* mapper = new FakeInputMapper(device, AINPUT_SOURCE_KEYBOARD); in TEST_F() local
1350 device->addMapper(mapper); in TEST_F()
1385 FakeInputMapper* mapper = nullptr; in TEST_F() local
1386 ASSERT_NO_FATAL_FAILURE(mapper = addDeviceWithFakeInputMapper(1, 0, "fake", in TEST_F()
1388 mapper->setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F()
1412 FakeInputMapper* mapper = nullptr; in TEST_F() local
1413 ASSERT_NO_FATAL_FAILURE(mapper = addDeviceWithFakeInputMapper(1, 0, "fake", in TEST_F()
[all …]
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp108 InputMapper* mapper = mMappers[i]; in dump() local
109 mapper->dump(dump); in dump()
113 void InputDevice::addMapper(InputMapper* mapper) { in addMapper() argument
114 mMappers.push_back(mapper); in addMapper()
166 for (InputMapper* mapper : mMappers) { in configure()
167 mapper->configure(when, config, changes); in configure()
168 mSources |= mapper->getSources(); in configure()
174 for (InputMapper* mapper : mMappers) { in reset()
175 mapper->reset(when); in reset()
211 for (InputMapper* mapper : mMappers) { in process()
[all …]
DAndroid.bp19 "mapper",
20 "mapper/accumulator",
31 "mapper/accumulator/CursorButtonAccumulator.cpp",
32 "mapper/accumulator/CursorScrollAccumulator.cpp",
33 "mapper/accumulator/SingleTouchMotionAccumulator.cpp",
34 "mapper/accumulator/TouchButtonAccumulator.cpp",
35 "mapper/CursorInputMapper.cpp",
36 "mapper/ExternalStylusInputMapper.cpp",
37 "mapper/InputMapper.cpp",
38 "mapper/JoystickInputMapper.cpp",
[all …]
/frameworks/native/libs/ui/include_vndk/ui/
DGralloc2.h70 hardware::graphics::mapper::V2_1::IMapper::BufferDescriptorInfo* descriptorInfo) const;
72 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper;
73 sp<hardware::graphics::mapper::V2_1::IMapper> mMapperV2_1;
80 Gralloc2Allocator(const Gralloc2Mapper& mapper);
/frameworks/native/libs/ui/include/ui/
DGralloc2.h70 hardware::graphics::mapper::V2_1::IMapper::BufferDescriptorInfo* descriptorInfo) const;
72 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper;
73 sp<hardware::graphics::mapper::V2_1::IMapper> mMapperV2_1;
80 Gralloc2Allocator(const Gralloc2Mapper& mapper);
DGralloc3.h69 hardware::graphics::mapper::V3_0::IMapper::BufferDescriptorInfo* descriptorInfo) const;
71 sp<hardware::graphics::mapper::V3_0::IMapper> mMapper;
78 Gralloc3Allocator(const Gralloc3Mapper& mapper);
/frameworks/native/libs/ui/
DGralloc2.cpp33 using android::hardware::graphics::mapper::V2_0::BufferDescriptor;
34 using android::hardware::graphics::mapper::V2_0::Error;
35 using android::hardware::graphics::mapper::V2_0::YCbCrLayout;
36 using android::hardware::graphics::mapper::V2_1::IMapper;
80 android::hardware::preloadPassthroughService<hardware::graphics::mapper::V2_0::IMapper>(); in preload()
84 mMapper = hardware::graphics::mapper::V2_0::IMapper::getService(); in Gralloc2Mapper()
142 const hardware::graphics::mapper::V2_0::IMapper::BufferDescriptorInfo info = { in createDescriptor()
360 Gralloc2Allocator::Gralloc2Allocator(const Gralloc2Mapper& mapper) : mMapper(mapper) { in Gralloc2Allocator() argument
DGralloc3.cpp32 using android::hardware::graphics::mapper::V3_0::BufferDescriptor;
33 using android::hardware::graphics::mapper::V3_0::Error;
34 using android::hardware::graphics::mapper::V3_0::IMapper;
35 using android::hardware::graphics::mapper::V3_0::YCbCrLayout;
343 Gralloc3Allocator::Gralloc3Allocator(const Gralloc3Mapper& mapper) : mMapper(mapper) { in Gralloc3Allocator() argument
DAndroid.bp74 "android.hardware.graphics.mapper@2.0",
75 "android.hardware.graphics.mapper@2.1",
76 "android.hardware.graphics.mapper@3.0",
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DAndroid.bp13 "android.hardware.graphics.mapper@2.0",
14 "android.hardware.graphics.mapper@3.0",
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp75 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in addSupportedProfileLevels() local
143 if (mapper && mapper->mapProfile(pl.profile, &sdkProfile) in addSupportedProfileLevels()
144 && mapper->mapLevel(pl.level, &sdkLevel)) { in addSupportedProfileLevels()
160 } else if (!mapper) { in addSupportedProfileLevels()
178 && mapper in addSupportedProfileLevels()
179 && mapper->mapProfile(pl.profile, &sdkProfile) in addSupportedProfileLevels()
180 && mapper->mapLevel(nextLevel, &sdkLevel)) { in addSupportedProfileLevels()
DCCodecConfig.cpp75 ConfigMapper &withMapper(Mapper mapper) { in withMapper()
78 mMapper = mapper; in withMapper()
83 ConfigMapper &withMappers(Mapper mapper, Mapper reverse) { in withMappers()
86 mMapper = mapper; in withMappers()
168 Mapper mapper() const { return mMapper; } in mapper() function
676 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in initializeStandardParams() local
681 .withMappers([mapper](C2Value v) -> C2Value { in initializeStandardParams()
684 if (mapper && v.get(&sdk) && mapper->mapProfile(sdk, &c2)) { in initializeStandardParams()
688 }, [mapper](C2Value v) -> C2Value { in initializeStandardParams()
692 if (mapper && v.get((C2ValueType*)&c2) && mapper->mapProfile(c2, &sdk)) { in initializeStandardParams()
[all …]
/frameworks/base/services/core/java/com/android/server/signedconfig/
DSignedConfig.java170 Map<String, String> mapper = keyValueMappers.get(key); in parsePerSdkConfig() local
171 if (!mapper.containsKey(value)) { in parsePerSdkConfig()
175 value = mapper.get(value); in parsePerSdkConfig()
/frameworks/base/services/core/java/com/android/server/am/
DSettingsToPropertiesMapper.java155 SettingsToPropertiesMapper mapper = new SettingsToPropertiesMapper( in start() local
157 mapper.updatePropertiesFromSettings(); in start()
158 return mapper; in start()
/frameworks/av/media/codec2/vndk/
DAndroid.bp58 "android.hardware.graphics.mapper@2.0",
59 "android.hardware.graphics.mapper@3.0",
DC2AllocatorGralloc.cpp71 using BufferDescriptor2 = ::android::hardware::graphics::mapper::V2_0::BufferDescriptor;
72 using Error2 = ::android::hardware::graphics::mapper::V2_0::Error;
73 using IMapper2 = ::android::hardware::graphics::mapper::V2_0::IMapper;
76 using BufferDescriptor3 = ::android::hardware::graphics::mapper::V3_0::BufferDescriptor;
77 using Error3 = ::android::hardware::graphics::mapper::V3_0::Error;
78 using IMapper3 = ::android::hardware::graphics::mapper::V3_0::IMapper;
314 const sp<IMapper2> &mapper,
320 const sp<IMapper3> &mapper,
343 const sp<IMapper2> &mapper, in C2AllocationGralloc() argument
349 mMapper2(mapper), in C2AllocationGralloc()
[all …]
DC2AllocatorIon.cpp526 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize) { in setUsageMapper() argument
530 mUsageMapper = mapper; in setUsageMapper()
/frameworks/native/services/bufferhub/tests/
DBufferNode_test.cpp46 GraphicBufferMapper& mapper = GraphicBufferMapper::get(); in TEST_F() local
49 mapper.importBuffer(mBufferNode->bufferHandle(), mBufferNode->bufferDesc().width, in TEST_F()
/frameworks/native/services/vr/hardware_composer/
DAndroid.bp17 "android.hardware.graphics.mapper@2.0",
18 "android.hardware.graphics.mapper@3.0",
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp273 GraphicBufferMapper &mapper = GraphicBufferMapper::get(); in render() local
284 CHECK_EQ(0, mapper.lockYCbCr(buf->handle, in render()
288 CHECK_EQ(0, mapper.lock(buf->handle, in render()
422 CHECK_EQ(0, mapper.unlock(buf->handle)); in render()
/frameworks/av/media/codec2/vndk/include/
DC2AllocatorIon.h76 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize);
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp593 auto& mapper = GraphicBufferMapper::get(); in extractGraphicBuffer() local
599 res = mapper.lockYCbCr( in extractGraphicBuffer()
604 res = mapper.lock( in extractGraphicBuffer()
650 if (mapper.unlock(handle) != OK) { in extractGraphicBuffer()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java222 SensorManager sensorManager, Sensor lightSensor, BrightnessMappingStrategy mapper, in AutomaticBrightnessController() argument
229 this(new Injector(), callbacks, looper, sensorManager, lightSensor, mapper, in AutomaticBrightnessController()
239 SensorManager sensorManager, Sensor lightSensor, BrightnessMappingStrategy mapper, in AutomaticBrightnessController() argument
249 mBrightnessMapper = mapper; in AutomaticBrightnessController()
/frameworks/base/tools/obbtool/
Dmkobb.sh235 loop_dev=/dev/mapper/${unique_dm_name}
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h68 void addMapper(InputMapper* mapper);

12