Home
last modified time | relevance | path

Searched refs:switchCode (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/input/evdev/
DSwitchInputMapper.cpp93 void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) { in processSwitch() argument
94 ALOGV("processing switch event. code=%" PRId32 ", value=%" PRId32, switchCode, switchValue); in processSwitch()
95 if (switchCode >= 0 && switchCode < SW_CNT) { in processSwitch()
97 mSwitchValues.markBit(switchCode); in processSwitch()
99 mSwitchValues.clearBit(switchCode); in processSwitch()
101 mUpdatedSwitchMask.markBit(switchCode); in processSwitch()
DSwitchInputMapper.h39 void processSwitch(int32_t switchCode, int32_t switchValue);