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

/hardware/libhardware/modules/input/evdev/
H A DSwitchInputMapper.h29 class SwitchInputMapper : public InputMapper { class in namespace:android
31 SwitchInputMapper();
32 virtual ~SwitchInputMapper() = default;
H A DSwitchInputMapper.cpp17 #define LOG_TAG "SwitchInputMapper"
20 #include "SwitchInputMapper.h"
54 SwitchInputMapper::SwitchInputMapper() function in class:android::SwitchInputMapper
59 bool SwitchInputMapper::configureInputReport(InputDeviceNode* devNode,
69 ALOGE("SwitchInputMapper found no switches for %s!", devNode->getPath().c_str());
78 void SwitchInputMapper::process(const InputEvent& event) {
93 void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) {
105 void SwitchInputMapper::sync(nsecs_t when) {
H A DAndroid.mk28 SwitchInputMapper.cpp
H A DInputDevice.cpp38 #include "SwitchInputMapper.h"
210 mMappers.push_back(std::make_unique<SwitchInputMapper>());
/hardware/libhardware/tests/input/evdev/
H A DSwitchInputMapper_test.cpp25 #include "SwitchInputMapper.h"
39 mMapper = std::make_unique<SwitchInputMapper>();
43 std::unique_ptr<SwitchInputMapper> mMapper;

Completed in 43 milliseconds