Home
last modified time | relevance | path

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

/external/chromium_org/content/browser/
Dudev_linux.cc15 : udev_(udev_new()), in UdevLinux()
19 CHECK(udev_); in UdevLinux()
21 monitor_ = udev_monitor_new_from_netlink(udev_, "udev"); in UdevLinux()
47 udev_unref(udev_); in ~UdevLinux()
51 return udev_; in udev_handle()
Ddevice_monitor_udev.cc59 udev_.reset(new UdevLinux(filters, in Initialize()
66 udev_.reset(); in WillDestroyCurrentMessageLoop()
Ddevice_monitor_udev.h37 scoped_ptr<UdevLinux> udev_; variable
Dudev_linux.h86 udev* udev_; variable
/external/chromium_org/device/hid/
Ddevice_monitor_linux.cc31 udev_.reset(udev_new()); in DeviceMonitorLinux()
32 if (!udev_) { in DeviceMonitorLinux()
36 monitor_.reset(udev_monitor_new_from_netlink(udev_.get(), kUdevName)); in DeviceMonitorLinux()
92 udev_device_new_from_syspath(udev_.get(), path.c_str())); in GetDeviceFromPath()
98 ScopedUdevEnumeratePtr enumerate(udev_enumerate_new(udev_.get())); in Enumerate()
115 udev_device_new_from_syspath(udev_.get(), udev_list_entry_get_name(i))); in Enumerate()
Ddevice_monitor_linux.h61 ScopedUdevPtr udev_;
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dlinuxdeviceinfo.cc65 udev_ = libudev_->udev_new()(); in ScopedUdev()
68 if (udev_) libudev_->udev_unref()(udev_); in ~ScopedUdev()
71 udev* instance() { return udev_; } in instance()
75 udev* udev_; member in cricket::ScopedUdev
Dlinuxdevicemanager.cc71 struct udev* udev_; member in cricket::LinuxDeviceWatcher
297 udev_(NULL), in LinuxDeviceWatcher()
320 udev_ = libudev_.udev_new()(); in Start()
321 if (!udev_) { in Start()
328 udev_monitor_ = libudev_.udev_monitor_new_from_netlink()(udev_, "udev"); in Start()
364 if (udev_) { in Stop()
365 libudev_.udev_unref()(udev_); in Stop()
366 udev_ = NULL; in Stop()
/external/chromium_org/ui/events/ozone/device/udev/
Ddevice_manager_udev.cc81 DeviceManagerUdev::DeviceManagerUdev() : udev_(UdevCreate()) { in DeviceManagerUdev()
90 monitor_ = UdevCreateMonitor(udev_.get()); in CreateMonitor()
102 device::ScopedUdevEnumeratePtr enumerate(udev_enumerate_new(udev_.get())); in ScanDevices()
116 udev_.get(), udev_list_entry_get_name(entry))); in ScanDevices()
Ddevice_manager_udev.h39 device::ScopedUdevPtr udev_; variable
/external/chromium_org/device/serial/
Dserial_device_enumerator_linux.cc42 udev_.reset(udev_new()); in SerialDeviceEnumeratorLinux()
49 ScopedUdevEnumeratePtr enumerate(udev_enumerate_new(udev_.get())); in GetDevices()
66 udev_.get(), udev_list_entry_get_name(entry))); in GetDevices()
Dserial_device_enumerator_linux.h29 scoped_ptr<udev, UdevDeleter> udev_; variable
/external/chromium_org/content/browser/gamepad/
Dgamepad_platform_data_fetcher_linux.cc77 udev_.reset( in GamepadPlatformDataFetcherLinux()
210 udev_enumerate* enumerate = udev_enumerate_new(udev_->udev_handle()); in EnumerateDevices()
227 udev_device* dev = udev_device_new_from_syspath(udev_->udev_handle(), path); in EnumerateDevices()
Dgamepad_platform_data_fetcher_linux.h49 scoped_ptr<UdevLinux> udev_; variable