Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp457 if (sc >= 0 && sc <= KEY_MAX && keyBitmask.test(sc)) { in hasKeycodeLocked()
826 if (device != nullptr && device->hasValidFd() && device->keyBitmask.test(scanCode)) { in getScanCodeState()
909 if (device->keyBitmask.test(scanCodes[sc])) { in markSupportedKeyCodes()
1182 return device->keyBitmask.test(scanCode); in hasScanCode()
1972 device->readDeviceBitMask(EVIOCGBIT(EV_KEY, 0), device->keyBitmask); in openDeviceLocked()
1984 device->keyBitmask.any(0, BTN_MISC) || device->keyBitmask.any(BTN_WHEEL, KEY_MAX + 1); in openDeviceLocked()
1985 bool haveGamepadButtons = device->keyBitmask.any(BTN_MISC, BTN_MOUSE) || in openDeviceLocked()
1986 device->keyBitmask.any(BTN_JOYSTICK, BTN_DIGI); in openDeviceLocked()
1992 if (device->keyBitmask.test(BTN_MOUSE) && device->relBitmask.test(REL_X) && in openDeviceLocked()
2012 if (device->keyBitmask.test(BTN_TOUCH) || !haveGamepadButtons) { in openDeviceLocked()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h557 BitArray<KEY_MAX> keyBitmask; member