Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libusb/src/libusb/os/
Dlinux_udev.c50 static struct udev_monitor *udev_monitor = NULL; variable
67 udev_monitor = udev_monitor_new_from_netlink(udev_ctx, "udev"); in linux_udev_start_event_monitor()
68 if (!udev_monitor) { in linux_udev_start_event_monitor()
73 r = udev_monitor_filter_add_match_subsystem_devtype(udev_monitor, "usb", 0); in linux_udev_start_event_monitor()
79 if (udev_monitor_enable_receiving(udev_monitor)) { in linux_udev_start_event_monitor()
84 udev_monitor_fd = udev_monitor_get_fd(udev_monitor); in linux_udev_start_event_monitor()
117 udev_monitor_unref(udev_monitor); in linux_udev_start_event_monitor()
118 udev_monitor = NULL; in linux_udev_start_event_monitor()
132 assert(udev_monitor != NULL); in linux_udev_stop_event_monitor()
144 udev_monitor_unref(udev_monitor); in linux_udev_stop_event_monitor()
[all …]
/external/chromium_org/device/udev_linux/
Dudev.h28 void operator()(udev_monitor* monitor) const;
34 typedef scoped_ptr<udev_monitor, UdevMonitorDeleter> ScopedUdevMonitorPtr;
Dudev.cc23 void UdevMonitorDeleter::operator()(udev_monitor* monitor) const { in operator ()()
/external/chromium_org/content/browser/
Dudev_linux.h49 struct udev_monitor;
87 udev_monitor* monitor_;
/external/chromium_org/ui/events/ozone/device/udev/
Ddevice_manager_udev.cc64 struct udev_monitor* monitor = udev_monitor_new_from_netlink(udev, "udev"); in UdevCreateMonitor()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dlinuxdevicemanager.cc72 struct udev_monitor* udev_monitor_;