Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp70 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; // NOLINT in should_add_input_device() local
73 if (ioctl(fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in should_add_input_device()
79 if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits) && !test_bit(EV_SW, ev_bits)) { in should_add_input_device()
80 if (!allow_touch_inputs || !test_bit(EV_ABS, ev_bits)) { in should_add_input_device()
270 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; // NOLINT in ev_sync_key_state() local
274 memset(ev_bits, 0, sizeof(ev_bits)); in ev_sync_key_state()
277 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in ev_sync_key_state()
280 if (!test_bit(EV_KEY, ev_bits)) { in ev_sync_key_state()
299 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; // NOLINT in ev_iterate_available_keys() local
303 memset(ev_bits, 0, sizeof(ev_bits)); in ev_iterate_available_keys()
[all …]