Home | History | Annotate | Download | only in input

Lines Matching refs:sw

332 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const {
333 if (sw >= 0 && sw <= SW_MAX) {
337 if (device && test_bit(sw, device->swBitmask)) {
341 return test_bit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP;