Searched refs:ev_bits (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/minui/ |
D | events.cpp | 84 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; // NOLINT in ev_init() local 87 if (ioctl(fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in ev_init() 93 if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits) && !test_bit(EV_SW, ev_bits)) { in ev_init() 94 if (!allow_touch_inputs || !test_bit(EV_ABS, ev_bits)) { in ev_init() 184 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; // NOLINT in ev_sync_key_state() local 188 memset(ev_bits, 0, sizeof(ev_bits)); in ev_sync_key_state() 191 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in ev_sync_key_state() 194 if (!test_bit(EV_KEY, ev_bits)) { in ev_sync_key_state() 213 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; // NOLINT in ev_iterate_available_keys() local 217 memset(ev_bits, 0, sizeof(ev_bits)); in ev_iterate_available_keys() [all …]
|