Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReader.h993 class SwitchInputMapper : public InputMapper {
995 SwitchInputMapper(InputDevice* device);
996 virtual ~SwitchInputMapper();
DInputReader.cpp422 device->addMapper(new SwitchInputMapper(device)); in createDeviceLocked()
1817 SwitchInputMapper::SwitchInputMapper(InputDevice* device) : in SwitchInputMapper() function in android::SwitchInputMapper
1821 SwitchInputMapper::~SwitchInputMapper() { in ~SwitchInputMapper()
1824 uint32_t SwitchInputMapper::getSources() { in getSources()
1828 void SwitchInputMapper::process(const RawEvent* rawEvent) { in process()
1841 void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) { in processSwitch()
1852 void SwitchInputMapper::sync(nsecs_t when) { in sync()
1862 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
1866 void SwitchInputMapper::dump(String8& dump) { in dump()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1494 SwitchInputMapper* mapper = new SwitchInputMapper(mDevice); in TEST_F()
1501 SwitchInputMapper* mapper = new SwitchInputMapper(mDevice); in TEST_F()
1512 SwitchInputMapper* mapper = new SwitchInputMapper(mDevice); in TEST_F()