Home
last modified time | relevance | path

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

/hardware/libhardware/modules/input/evdev/
DSwitchInputMapper.cpp77 if (devNode->hasSwitch(codeMap[i].scancode)) { in configureInputReport()
DInputHub.h87 virtual bool hasSwitch(int32_t sw) const = 0;
DInputDevice.cpp193 if (mDeviceNode->hasSwitch(i)) { in createMappers()
DInputHub.cpp95 virtual bool hasSwitch(int32_t sw) const override;
296 bool EvdevDeviceNode::hasSwitch(int32_t sw) const { in hasSwitch() function in android::EvdevDeviceNode
/hardware/libhardware/tests/input/evdev/
DInputMocks.h59 virtual bool hasSwitch(int32_t sw) const override { return mSwitches.count(sw); } in hasSwitch() function