Searched refs:key_bits (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/minui/ |
D | events.cpp | 271 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)]; // NOLINT in ev_sync_key_state() local 275 memset(key_bits, 0, sizeof(key_bits)); in ev_sync_key_state() 283 if (ioctl(ev_fdinfo[i].fd, EVIOCGKEY(sizeof(key_bits)), key_bits) == -1) { in ev_sync_key_state() 288 if (test_bit(code, key_bits)) { in ev_sync_key_state() 300 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)]; // NOLINT in ev_iterate_available_keys() local 304 memset(key_bits, 0, sizeof(key_bits)); in ev_iterate_available_keys() 314 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(EV_KEY, KEY_MAX), key_bits) == -1) { in ev_iterate_available_keys() 319 if (test_bit(key_code, key_bits)) { in ev_iterate_available_keys() 337 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)] = {}; // NOLINT in ev_iterate_touch_inputs() local 338 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(EV_ABS, KEY_MAX), key_bits) == -1) { in ev_iterate_touch_inputs() [all …]
|