Lines Matching refs:libinput_device_switch_has_switch
36 return libinput_device_switch_has_switch(dev->libinput_device, in switch_has_lid()
43 return libinput_device_switch_has_switch(dev->libinput_device, in switch_has_tablet_mode()
72 ck_assert_int_eq(libinput_device_switch_has_switch(dev->libinput_device, in START_TEST()
98 has_switch = libinput_device_switch_has_switch(dev->libinput_device, in START_TEST()
121 if (libinput_device_switch_has_switch(dev->libinput_device, sw) > 0) { in START_TEST()
132 if (libinput_device_switch_has_switch(dev->libinput_device, sw) > 0) { in START_TEST()
150 if (libinput_device_switch_has_switch(dev->libinput_device, sw) <= 0) in START_TEST()
196 if (libinput_device_switch_has_switch(dev->libinput_device, sw) <= 0) in START_TEST()
241 if (libinput_device_switch_has_switch(dev->libinput_device, sw) <= 0) in START_TEST()
284 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0) in START_TEST()
323 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0) in START_TEST()
354 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0) in START_TEST()
394 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0) in START_TEST()
435 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0) in START_TEST()
469 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0) in START_TEST()
509 if (libinput_device_switch_has_switch(sw->libinput_device, which) <= 0) in START_TEST()