Searched refs:libudev_ (Results 1 – 2 of 2) sorted by relevance
46 libudev_.Unload(); in ~ScopedLibUdev()49 LibUDevSymbolTable* instance() { return &libudev_; } in instance()55 return libudev_.Load() && in Init()56 !IsWrongLibUDevAbiVersion(libudev_.GetDllHandle()); in Init()59 LibUDevSymbolTable libudev_; member in cricket::ScopedLibUdev64 explicit ScopedUdev(LibUDevSymbolTable* libudev) : libudev_(libudev) { in ScopedUdev()65 udev_ = libudev_->udev_new()(); in ScopedUdev()68 if (udev_) libudev_->udev_unref()(udev_); in ~ScopedUdev()74 LibUDevSymbolTable* libudev_; member in cricket::ScopedUdev81 : libudev_(libudev) { in ScopedUdevEnumerate()[all …]
70 LibUDevSymbolTable libudev_; member in cricket::LinuxDeviceWatcher315 if (!libudev_.Load() || IsWrongLibUDevAbiVersion(libudev_.GetDllHandle())) { in Start()320 udev_ = libudev_.udev_new()(); in Start()328 udev_monitor_ = libudev_.udev_monitor_new_from_netlink()(udev_, "udev"); in Start()341 if (libudev_.udev_monitor_filter_add_match_subsystem_devtype()( in Start()346 if (libudev_.udev_monitor_enable_receiving()(udev_monitor_) < 0) { in Start()361 libudev_.udev_monitor_unref()(udev_monitor_); in Stop()365 libudev_.udev_unref()(udev_); in Stop()368 libudev_.Unload(); in Stop()380 udev_device* device = libudev_.udev_monitor_receive_device()(udev_monitor_); in OnEvent()[all …]