Searched refs:DBusMonitor (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/base/ |
D | dbus_unittest.cc | 54 rtc::scoped_ptr<rtc::DBusMonitor> monitor; in TEST() 55 monitor.reset(rtc::DBusMonitor::Create(DBUS_BUS_SYSTEM)); in TEST() 60 EXPECT_EQ(monitor->GetStatus(), DBusMonitor::DMS_NOT_INITIALIZED); in TEST() 63 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST() 65 EXPECT_EQ(monitor->GetStatus(), DBusMonitor::DMS_STOPPED); in TEST() 67 EXPECT_EQ(monitor->GetStatus(), DBusMonitor::DMS_STOPPED); in TEST() 70 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST() 72 EXPECT_EQ(monitor->GetStatus(), DBusMonitor::DMS_RUNNING); in TEST() 74 EXPECT_EQ(monitor->GetStatus(), DBusMonitor::DMS_STOPPED); in TEST() 86 rtc::scoped_ptr<rtc::DBusMonitor> monitor; in TEST() [all …]
|
D | dbus.cc | 52 return DBusMonitor::GetDBusGlibSymbolTable(); in GetSymbols() 126 class DBusMonitor::DBusMonitoringThread : public rtc::Thread { 128 explicit DBusMonitoringThread(DBusMonitor *monitor, in DBusMonitoringThread() 294 DBusMonitor *monitor_; 307 LibDBusGlibSymbolTable *DBusMonitor::GetDBusGlibSymbolTable() { in GetDBusGlibSymbolTable() 315 DBusMonitor *DBusMonitor::Create(DBusBusType type) { in Create() 316 if (NULL == DBusMonitor::GetDBusGlibSymbolTable()) { in Create() 319 return new DBusMonitor(type); in Create() 322 DBusMonitor::DBusMonitor(DBusBusType type) in DBusMonitor() function in rtc::DBusMonitor 329 DBusMonitor::~DBusMonitor() { in ~DBusMonitor() [all …]
|
D | dbus.h | 118 class DBusMonitor { 134 static DBusMonitor *Create(DBusBusType type); 135 ~DBusMonitor(); 153 explicit DBusMonitor(DBusBusType type);
|