Home
last modified time | relevance | path

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

/external/strace/xlat/
Devdev_ev.h41 #if defined(EV_SW) || (defined(HAVE_DECL_EV_SW) && HAVE_DECL_EV_SW)
43 static_assert((EV_SW) == (0x05), "EV_SW != 0x05");
46 # define EV_SW 0x05
101 XLAT(EV_SW),
Devdev_ev.in6 EV_SW 0x05
/external/autotest/client/bin/input/
Dinput_device.py281 elif ev_type == EV_SW:
518 return self._get_value(EV_SW, SW_MICROPHONE_INSERT)
521 return self._get_value(EV_SW, SW_HEADPHONE_INSERT)
524 return self._get_value(EV_SW, SW_LINEOUT_INSERT)
548 return ((EV_SW in self.events) and
549 (SW_LID in self.events[EV_SW]))
562 return (EV_SW in self.events and
563 SW_HEADPHONE_INSERT in self.events[EV_SW])
566 return (EV_SW in self.events and
567 SW_MICROPHONE_INSERT in self.events[EV_SW])
[all …]
Dlinux_input.py172 EV_SW = 0x05 variable
1138 EV_SW : 'EV_SW',
1152 EV_SW : SW_CNT,
1286 EV_SW: {
/external/strace/tests/
Dioctl_evdev.c42 # ifndef EV_SW
43 # define EV_SW 5 macro
147 TEST_NULL_ARG(EVIOCGBIT(EV_SW, 5)); in main()
/external/strace/tests-mx32/
Dioctl_evdev.c42 # ifndef EV_SW
43 # define EV_SW 5 macro
147 TEST_NULL_ARG(EVIOCGBIT(EV_SW, 5)); in main()
/external/strace/tests-m32/
Dioctl_evdev.c42 # ifndef EV_SW
43 # define EV_SW 5 macro
147 TEST_NULL_ARG(EVIOCGBIT(EV_SW, 5)); in main()
/external/crosvm/devices/src/virtio/input/
Ddefaults.rs302 EV_SW, in default_switch_events()
337 assert_eq!(events.contains_key(&EV_SW), true); in test_new_switches_config()
345 assert_eq!(events[&EV_SW].bitmap, expected_bitmap); in test_new_switches_config()
Dconstants.rs22 pub const EV_SW: u16 = 0x05; constant
/external/autotest/client/site_tests/hardware_Keyboard/src/
Devtest.c49 [EV_FF_STATUS] = "ForceFeedbackStatus", [EV_SW] = "Switch",
299 [EV_SW] = switches,
426 if (i == EV_SW) { in do_evtest_dumpall()
/external/strace/
Devdev.c276 case EV_SW: in bit_ioctl()
DChangeLog4647 evdev: decode EV_SW unconditionally.
4648 * evdev.c (bit_ioctl): Remove [EV_SW] check.
4649 * tests/ioctl_evdev.c [!EV_SW] (EV_SW): Define.
4650 (main): Remove [EV_SW] check.
39855 (evdev_read_ioctl): Wrap in #ifdef checks the code that uses EV_SW,
/external/kernel-headers/original/uapi/linux/
Dinput-event-codes.h43 #define EV_SW 0x05 macro