HomeSort by relevance Sort by last modified time
    Searched refs:DBusSigFilter (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/third_party/libjingle/source/talk/base/
dbus.h 70 // DBusSigFilter is an abstract class that defines the interface of DBus
75 class DBusSigFilter : protected MessageHandler {
80 explicit DBusSigFilter(const std::string &filter)
96 // Handles callback on DBus messages to each DBusSigFilter instance.
155 bool AddFilter(DBusSigFilter *filter);
178 std::vector<DBusSigFilter *> filter_list_;
dbus.cc 82 // Implementation of class DBusSigFilter
85 std::string DBusSigFilter::BuildFilterString(const std::string &path,
108 DBusHandlerResult DBusSigFilter::DBusCallback(DBusConnection *dbus_conn,
113 return static_cast<DBusSigFilter *>(instance)->Callback(message);
119 DBusHandlerResult DBusSigFilter::Callback(DBusMessage *message) {
128 void DBusSigFilter::OnMessage(Message *message) {
148 std::vector<DBusSigFilter *> *filter_list)
208 for (std::vector<DBusSigFilter *>::iterator it = filter_list_->begin();
210 DBusSigFilter *filter = (*it);
212 LOG(LS_ERROR) << "DBusSigFilter list corrupted."
    [all...]
dbus_unittest.cc 40 class DBusSigFilterTest : public DBusSigFilter {
47 : DBusSigFilter(GetFilter()),
57 return talk_base::DBusSigFilter::BuildFilterString("", "", SIG_NAME);
60 // Implement virtual method of DBusSigFilter. On caller thread.
234 TEST(DBusSigFilter, BuildFilterString) {
235 EXPECT_EQ(DBusSigFilter::BuildFilterString("", "", ""),
237 EXPECT_EQ(DBusSigFilter::BuildFilterString("p", "", ""),
239 EXPECT_EQ(DBusSigFilter::BuildFilterString("p","i", ""),
242 EXPECT_EQ(DBusSigFilter::BuildFilterString("p","i","m"),

Completed in 373 milliseconds