Searched refs:ev_bits (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/minui/ |
D | events.cpp | 68 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; in ev_init() local 76 if (ioctl(fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in ev_init() 82 … if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits) && !test_bit(EV_SW, ev_bits)) { in ev_init() 178 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; in ev_sync_key_state() local 182 memset(ev_bits, 0, sizeof(ev_bits)); in ev_sync_key_state() 185 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in ev_sync_key_state() 188 if (!test_bit(EV_KEY, ev_bits)) { in ev_sync_key_state() 206 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; in ev_iterate_available_keys() local 210 memset(ev_bits, 0, sizeof(ev_bits)); in ev_iterate_available_keys() 214 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in ev_iterate_available_keys() [all …]
|