Home
last modified time | relevance | path

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

/external/libbrillo/brillo/udev/
Dudev_monitor.cc17 UdevMonitor::UdevMonitor() : monitor_(nullptr) {} in UdevMonitor() function in brillo::UdevMonitor
19 UdevMonitor::UdevMonitor(udev_monitor* monitor) : monitor_(monitor) { in UdevMonitor() function in brillo::UdevMonitor
25 UdevMonitor::~UdevMonitor() { in ~UdevMonitor()
32 bool UdevMonitor::EnableReceiving() { in EnableReceiving()
42 int UdevMonitor::GetFileDescriptor() const { in GetFileDescriptor()
52 std::unique_ptr<UdevDevice> UdevMonitor::ReceiveDevice() { in ReceiveDevice()
69 bool UdevMonitor::FilterAddMatchSubsystemDeviceType(const char* subsystem, in FilterAddMatchSubsystemDeviceType()
83 bool UdevMonitor::FilterAddMatchTag(const char* tag) { in FilterAddMatchTag()
94 bool UdevMonitor::FilterUpdate() { in FilterUpdate()
104 bool UdevMonitor::FilterRemove() { in FilterRemove()
Dudev_monitor.h21 class BRILLO_EXPORT UdevMonitor {
28 explicit UdevMonitor(udev_monitor* monitor);
32 virtual ~UdevMonitor();
63 UdevMonitor();
67 DISALLOW_COPY_AND_ASSIGN(UdevMonitor);
Dudev.h22 class UdevMonitor; variable
48 virtual std::unique_ptr<UdevMonitor> CreateMonitorFromNetlink(
Dudev.cc107 std::unique_ptr<UdevMonitor> Udev::CreateMonitorFromNetlink(const char* name) { in CreateMonitorFromNetlink()
110 auto monitor_to_return = std::make_unique<UdevMonitor>(monitor); in CreateMonitorFromNetlink()
Dmock_udev_monitor.h16 class BRILLO_EXPORT MockUdevMonitor : public UdevMonitor {
Dmock_udev.h37 MOCK_METHOD(std::unique_ptr<UdevMonitor>,