Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp197 memset(keyBitmask, 0, sizeof(keyBitmask)); in Device()
445 if (device && device->hasValidFd() && test_bit(scanCode, device->keyBitmask)) { in getScanCodeState()
534 if (test_bit(scanCodes[sc], device->keyBitmask)) { in markSupportedKeyCodes()
611 if (test_bit(scanCode, device->keyBitmask)) { in hasScanCode()
1309 ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(device->keyBitmask)), device->keyBitmask); in openDeviceLocked()
1320 containsNonZeroByte(device->keyBitmask, 0, sizeof_bit_array(BTN_MISC)) || in openDeviceLocked()
1321 containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_WHEEL), in openDeviceLocked()
1323 bool haveGamepadButtons = containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_MISC), in openDeviceLocked()
1325 containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_JOYSTICK), in openDeviceLocked()
1332 if (test_bit(BTN_MOUSE, device->keyBitmask) && test_bit(REL_X, device->relBitmask) && in openDeviceLocked()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h335 uint8_t keyBitmask[(KEY_MAX + 1) / 8]; member