Searched refs:DBusSigFilter (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/base/ |
D | dbus.cc | 68 std::string DBusSigFilter::BuildFilterString(const std::string &path, in BuildFilterString() 91 DBusHandlerResult DBusSigFilter::DBusCallback(DBusConnection *dbus_conn, in DBusCallback() 96 return static_cast<DBusSigFilter *>(instance)->Callback(message); in DBusCallback() 102 DBusHandlerResult DBusSigFilter::Callback(DBusMessage *message) { in Callback() 111 void DBusSigFilter::OnMessage(Message *message) { in OnMessage() 131 std::vector<DBusSigFilter *> *filter_list) in DBusMonitoringThread() 191 for (std::vector<DBusSigFilter *>::iterator it = filter_list_->begin(); in RegisterAllFilters() 193 DBusSigFilter *filter = (*it); in RegisterAllFilters() 205 &DBusSigFilter::DBusCallback, filter, NULL)) { in RegisterAllFilters() 218 for (std::vector<DBusSigFilter *>::iterator it = filter_list_->begin(); in UnRegisterAllFilters() [all …]
|
D | dbus_unittest.cc | 23 class DBusSigFilterTest : public DBusSigFilter { 30 : DBusSigFilter(GetFilter()), in DBusSigFilterTest() 40 return rtc::DBusSigFilter::BuildFilterString("", "", SIG_NAME); in GetFilter() 217 TEST(DBusSigFilter, BuildFilterString) { in TEST() argument 218 EXPECT_EQ(DBusSigFilter::BuildFilterString("", "", ""), in TEST() 220 EXPECT_EQ(DBusSigFilter::BuildFilterString("p", "", ""), in TEST() 222 EXPECT_EQ(DBusSigFilter::BuildFilterString("p","i", ""), in TEST() 225 EXPECT_EQ(DBusSigFilter::BuildFilterString("p","i","m"), in TEST()
|
D | dbus.h | 58 class DBusSigFilter : protected MessageHandler { 63 explicit DBusSigFilter(const std::string &filter) in DBusSigFilter() function 138 bool AddFilter(DBusSigFilter *filter); 161 std::vector<DBusSigFilter *> filter_list_;
|