Searched refs:key_bits (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/minui/ |
D | events.cpp | 179 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)]; in ev_sync_key_state() local 183 memset(key_bits, 0, sizeof(key_bits)); in ev_sync_key_state() 191 if (ioctl(ev_fdinfo[i].fd, EVIOCGKEY(sizeof(key_bits)), key_bits) == -1) { in ev_sync_key_state() 196 if (test_bit(code, key_bits)) { in ev_sync_key_state() 207 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)]; in ev_iterate_available_keys() local 211 memset(key_bits, 0, sizeof(key_bits)); in ev_iterate_available_keys() 221 int rc = ioctl(ev_fdinfo[i].fd, EVIOCGBIT(EV_KEY, KEY_MAX), key_bits); in ev_iterate_available_keys() 227 if (test_bit(key_code, key_bits)) { in ev_iterate_available_keys()
|