Lines Matching defs:device
74 "/91-litest-test-device-REMOVEME-XXXXXXX.rules"
76 "/80-libinput-device-groups-litest-XXXXXX.rules"
269 grab_device(struct litest_device *device, bool mode)
271 struct libinput *li = libinput_device_get_context(device->libinput_device);
277 udev_device = libinput_device_get_udev_device(device->libinput_device);
283 * This will only grab the first device in the list but we're using
284 * list_insert() so the first device is the latest that was
295 litest_abort_msg("Failed to find device %s to %sgrab\n",
300 litest_grab_device(struct litest_device *device)
302 grab_device(device, true);
306 litest_ungrab_device(struct litest_device *device)
308 grab_device(device, false);
311 void litest_set_current_device(struct litest_device *device)
313 current_device = device;
391 t->devname = safe_strdup("no device");
660 litest_abort_msg("Invalid test device type\n");
765 * device's udev properties for any EVDEV_ABS properties and where
767 * the evdev device correctly.
830 * we have multiple test devices with the same device path,
831 * the fd of the most recent device is the first one to get
1425 /* Only install the litest device rule when we're running as system
1615 * Creates a uinput device but does not add it to a libinput context
1643 ck_abort_msg("Invalid device type %d\n", which);
1648 /* device has custom create method */
2079 /* If the test device overrides touch_down and says it didn't
2480 /* If the test device overrides proximity_in and says it didn't
2508 /* If the test device overrides proximity_out and says it didn't
2539 /* If the test device overrides proximity_out and says it didn't
2559 /* If the test device overrides tip_down and says it didn't
2574 /* If the test device overrides tip_down and says it didn't
3238 "device %s (%s) type %s ",
3457 litest_assert_msg(rc == 0, "Failed to create uinput device: %s\n", strerror(-rc));
3471 * by the time libinput uses the device, we're finished here.
4631 { "filter-device", 1, 0, OPT_FILTER_DEVICE },
4681 " --filter-device=.... \n"
4682 " Glob to filter on device names\n"
4802 list_append(&devices, &t->device->node);
4833 "uinput device is missing, skipping tests.\n");