Home
last modified time | relevance | path

Searched refs:match_rule (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/dbus/
Dobject_proxy.cc294 for (const auto& match_rule : match_rules_) { in Detach() local
296 bus_->RemoveMatch(match_rule, error.get()); in Detach()
299 LOG(ERROR) << "Failed to remove match rule: " << match_rule; in Detach()
465 const std::string match_rule = base::StringPrintf( in ConnectToSignalInternal() local
469 return AddMatchRuleWithCallback(match_rule, in ConnectToSignalInternal()
646 const std::string& match_rule, in AddMatchRuleWithCallback() argument
649 DCHECK(!match_rule.empty()); in AddMatchRuleWithCallback()
653 if (match_rules_.find(match_rule) == match_rules_.end()) { in AddMatchRuleWithCallback()
655 bus_->AddMatch(match_rule, error.get()); in AddMatchRuleWithCallback()
657 LOG(ERROR) << "Failed to add match rule \"" << match_rule << "\". Got " in AddMatchRuleWithCallback()
[all …]
Dbus.cc683 void Bus::AddMatch(const std::string& match_rule, DBusError* error) { in AddMatch() argument
688 match_rules_added_.find(match_rule); in AddMatch()
693 VLOG(1) << "Match rule already exists: " << match_rule; in AddMatch()
697 dbus_bus_add_match(connection_, match_rule.c_str(), error); in AddMatch()
698 match_rules_added_[match_rule] = 1; in AddMatch()
701 bool Bus::RemoveMatch(const std::string& match_rule, DBusError* error) { in RemoveMatch() argument
706 match_rules_added_.find(match_rule); in RemoveMatch()
708 LOG(ERROR) << "Requested to remove an unknown match rule: " << match_rule; in RemoveMatch()
715 dbus_bus_remove_match(connection_, match_rule.c_str(), error); in RemoveMatch()
716 match_rules_added_.erase(match_rule); in RemoveMatch()
Dmock_bus.h57 MOCK_METHOD2(AddMatch, void(const std::string& match_rule,
59 MOCK_METHOD2(RemoveMatch, bool(const std::string& match_rule,
Dobject_manager.cc184 const std::string match_rule = in SetupMatchRuleAndFilter() local
194 bus_->AddMatch(match_rule, error.get()); in SetupMatchRuleAndFilter()
196 LOG(ERROR) << "ObjectManager failed to add match rule \"" << match_rule in SetupMatchRuleAndFilter()
202 match_rule_ = match_rule; in SetupMatchRuleAndFilter()
Dobject_proxy.h309 bool AddMatchRuleWithCallback(const std::string& match_rule,
314 bool AddMatchRuleWithoutCallback(const std::string& match_rule,
Dbus.h497 virtual void AddMatch(const std::string& match_rule, DBusError* error);
504 virtual bool RemoveMatch(const std::string& match_rule, DBusError* error);
/external/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc106 CHECK(TC.match_rule != MR_Next) in CheckCase()
123 if (TC.match_rule == MR_Not) { in CheckCases()
341 match_rule(rule), in TestCase()
Doutput_test.h35 int match_rule; member
/external/google-benchmark/test/
Doutput_test_helper.cc106 CHECK(TC.match_rule != MR_Next) in CheckCase()
123 if (TC.match_rule == MR_Not) { in CheckCases()
341 match_rule(rule), in TestCase()
Doutput_test.h35 int match_rule; member