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(InputDevice* device) 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(InputDevice* device);
27 virtual ~SwitchInputMapper();
/frameworks/native/services/inputflinger/reader/
DAndroid.bp43 "mapper/SwitchInputMapper.cpp",
DInputReader.cpp258 device->addMapper(new SwitchInputMapper(device)); in createDeviceLocked()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1913 SwitchInputMapper* mapper = new SwitchInputMapper(mDevice); in TEST_F()
1920 SwitchInputMapper* mapper = new SwitchInputMapper(mDevice); in TEST_F()
1931 SwitchInputMapper* mapper = new SwitchInputMapper(mDevice); in TEST_F()