Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp460 if (sc >= 0 && sc <= KEY_MAX && keyBitmask.test(sc)) { in hasKeycodeLocked()
854 if (device != nullptr && device->hasValidFd() && device->keyBitmask.test(scanCode)) { in getScanCodeState()
973 if (device->keyBitmask.test(scanCodes[sc])) { in markSupportedKeyCodes()
1246 return device->keyBitmask.test(scanCode); in hasScanCode()
2054 device->readDeviceBitMask(EVIOCGBIT(EV_KEY, 0), device->keyBitmask); in openDeviceLocked()
2066 device->keyBitmask.any(0, BTN_MISC) || device->keyBitmask.any(BTN_WHEEL, KEY_MAX + 1); in openDeviceLocked()
2067 bool haveGamepadButtons = device->keyBitmask.any(BTN_MISC, BTN_MOUSE) || in openDeviceLocked()
2068 device->keyBitmask.any(BTN_JOYSTICK, BTN_DIGI); in openDeviceLocked()
2074 if (device->keyBitmask.test(BTN_MOUSE) && device->relBitmask.test(REL_X) && in openDeviceLocked()
2094 if (device->keyBitmask.test(BTN_TOUCH) || !haveGamepadButtons) { in openDeviceLocked()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h564 BitArray<KEY_MAX> keyBitmask; member