Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp72 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; // NOLINT in should_add_input_device() local
75 if (ioctl(fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in should_add_input_device()
81 if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits) && !test_bit(EV_SW, ev_bits)) { in should_add_input_device()
82 if (!allow_touch_inputs || !test_bit(EV_ABS, ev_bits)) { in should_add_input_device()
272 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; // NOLINT in ev_sync_sw_state() local
276 memset(ev_bits, 0, sizeof(ev_bits)); in ev_sync_sw_state()
279 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in ev_sync_sw_state()
282 if (!test_bit(EV_SW, ev_bits)) { in ev_sync_sw_state()
301 unsigned long ev_bits[BITS_TO_LONGS(EV_MAX)]; // NOLINT in ev_sync_key_state() local
305 memset(ev_bits, 0, sizeof(ev_bits)); in ev_sync_key_state()
[all …]