Home
last modified time | relevance | path

Searched refs:SystemMonitor (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/system_monitor/
Dsystem_monitor.cc14 static SystemMonitor* g_system_monitor = nullptr;
16 SystemMonitor::SystemMonitor() in SystemMonitor() function in base::SystemMonitor
23 SystemMonitor::~SystemMonitor() { in ~SystemMonitor()
29 SystemMonitor* SystemMonitor::Get() { in Get()
33 void SystemMonitor::ProcessDevicesChanged(DeviceType device_type) { in ProcessDevicesChanged()
37 void SystemMonitor::AddDevicesChangedObserver(DevicesChangedObserver* obs) { in AddDevicesChangedObserver()
41 void SystemMonitor::RemoveDevicesChangedObserver(DevicesChangedObserver* obs) { in RemoveDevicesChangedObserver()
45 void SystemMonitor::NotifyDevicesChanged(DeviceType device_type) { in NotifyDevicesChanged()
Dsystem_monitor_unittest.cc21 system_monitor_.reset(new SystemMonitor); in SystemMonitorTest()
25 std::unique_ptr<SystemMonitor> system_monitor_;
40 OnDevicesChanged(SystemMonitor::DEVTYPE_UNKNOWN)) in TEST_F()
45 system_monitor_->ProcessDevicesChanged(SystemMonitor::DEVTYPE_UNKNOWN); in TEST_F()
48 system_monitor_->ProcessDevicesChanged(SystemMonitor::DEVTYPE_UNKNOWN); in TEST_F()
49 system_monitor_->ProcessDevicesChanged(SystemMonitor::DEVTYPE_UNKNOWN); in TEST_F()
Dsystem_monitor.h19 class BASE_EXPORT SystemMonitor {
30 SystemMonitor();
31 ~SystemMonitor();
34 static SystemMonitor* Get();
70 DISALLOW_COPY_AND_ASSIGN(SystemMonitor);
/external/libchrome/base/test/
Dmock_devices_changed_observer.h17 : public base::SystemMonitor::DevicesChangedObserver {
23 void(base::SystemMonitor::DeviceType device_type));