Home
last modified time | relevance | path

Searched refs:match_rule (Results 1 – 16 of 16) 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 …]
Dmock_bus.h57 MOCK_METHOD2(AddMatch, void(const std::string& match_rule,
59 MOCK_METHOD2(RemoveMatch, bool(const std::string& match_rule,
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()
Dobject_proxy.h309 bool AddMatchRuleWithCallback(const std::string& match_rule,
314 bool AddMatchRuleWithoutCallback(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()
Dbus.h497 virtual void AddMatch(const std::string& match_rule, DBusError* error);
504 virtual bool RemoveMatch(const std::string& match_rule, DBusError* error);
/external/llvm-project/llvm/utils/benchmark/test/
Doutput_test_helper.cc97 CHECK(TC.match_rule != MR_Next) in CheckCase()
114 if (TC.match_rule == MR_Not) { in CheckCases()
332 match_rule(rule), in TestCase()
Doutput_test.h35 int match_rule; member
/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/llvm-project/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.cc111 CHECK(TC.match_rule != MR_Next) in CheckCase()
128 if (TC.match_rule == MR_Not) { in CheckCases()
346 match_rule(rule), in TestCase()
Doutput_test.h35 int match_rule; member
/external/libchrome/libchrome_tools/patches/
Ddbus-Make-Bus-is_connected-mockable.patch90 for (const auto& match_rule : match_rules_) {
DConnect-to-NameOwnerChanged-signal-when-setting-call.patch70 const std::string match_rule =