Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp185 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)]; // NOLINT in ev_sync_key_state() local
189 memset(key_bits, 0, sizeof(key_bits)); in ev_sync_key_state()
197 if (ioctl(ev_fdinfo[i].fd, EVIOCGKEY(sizeof(key_bits)), key_bits) == -1) { in ev_sync_key_state()
202 if (test_bit(code, key_bits)) { in ev_sync_key_state()
214 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)]; // NOLINT in ev_iterate_available_keys() local
218 memset(key_bits, 0, sizeof(key_bits)); in ev_iterate_available_keys()
228 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(EV_KEY, KEY_MAX), key_bits) == -1) { in ev_iterate_available_keys()
233 if (test_bit(key_code, key_bits)) { in ev_iterate_available_keys()
251 unsigned long key_bits[BITS_TO_LONGS(KEY_MAX)] = {}; // NOLINT in ev_iterate_touch_inputs() local
252 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(EV_ABS, KEY_MAX), key_bits) == -1) { in ev_iterate_touch_inputs()
[all …]