Home
last modified time | relevance | path

Searched refs:SwitchInputMapper (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DSwitchInputMapper.cpp23 SwitchInputMapper::SwitchInputMapper(InputDeviceContext& deviceContext) in SwitchInputMapper() function in android::SwitchInputMapper
26 SwitchInputMapper::~SwitchInputMapper() {} in ~SwitchInputMapper()
28 uint32_t SwitchInputMapper::getSources() { in getSources()
32 void SwitchInputMapper::process(const RawEvent* rawEvent) { in process()
45 void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) { in processSwitch()
56 void SwitchInputMapper::sync(nsecs_t when) { in sync()
67 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
71 void SwitchInputMapper::dump(std::string& dump) { in dump()
DSwitchInputMapper.h24 class SwitchInputMapper : public InputMapper {
26 explicit SwitchInputMapper(InputDeviceContext& deviceContext);
27 virtual ~SwitchInputMapper();
/frameworks/native/services/inputflinger/reader/
DAndroid.bp53 "mapper/SwitchInputMapper.cpp",
DInputDevice.cpp159 mappers.push_back(std::make_unique<SwitchInputMapper>(*contextPtr)); in addEventHubDevice()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2802 SwitchInputMapper& mapper = addMapperAndConfigure<SwitchInputMapper>(); in TEST_F()
2808 SwitchInputMapper& mapper = addMapperAndConfigure<SwitchInputMapper>(); in TEST_F()
2818 SwitchInputMapper& mapper = addMapperAndConfigure<SwitchInputMapper>(); in TEST_F()