Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp273 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)]; // NOLINT in ev_sync_key_state() local
277 memset(key_bits, 0, sizeof(key_bits)); in ev_sync_key_state()
285 if (ioctl(ev_fdinfo[i].fd, EVIOCGKEY(sizeof(key_bits)), key_bits) == -1) { in ev_sync_key_state()
290 if (test_bit(code, key_bits)) { in ev_sync_key_state()
302 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)]; // NOLINT in ev_iterate_available_keys() local
306 memset(key_bits, 0, sizeof(key_bits)); in ev_iterate_available_keys()
316 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(EV_KEY, KEY_MAX), key_bits) == -1) { in ev_iterate_available_keys()
321 if (test_bit(key_code, key_bits)) { in ev_iterate_available_keys()
339 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)] = {}; // NOLINT in ev_iterate_touch_inputs() local
340 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(EV_ABS, KEY_MAX), key_bits) == -1) { in ev_iterate_touch_inputs()
[all …]