Searched refs:FindComponent (Results 1 - 12 of 12) sorted by relevance

/external/libweave/src/
H A Dcomponent_manager_unittest.cc608 TEST_F(ComponentManagerTest, FindComponent) {
611 const base::DictionaryValue* comp = manager_.FindComponent("comp1", nullptr);
615 comp = manager_.FindComponent("comp1.comp2[0]", nullptr);
619 comp = manager_.FindComponent("comp1.comp2[1]", nullptr);
623 comp = manager_.FindComponent("comp1.comp2[1].comp3", nullptr);
627 comp = manager_.FindComponent("comp1.comp2[1].comp3.comp4", nullptr);
632 comp = manager_.FindComponent(" comp1 . comp2 [ \t 1 ] . comp3.comp4 ",
638 EXPECT_EQ(nullptr, manager_.FindComponent("", &error));
641 EXPECT_EQ(nullptr, manager_.FindComponent("comp2", nullptr));
643 EXPECT_EQ(nullptr, manager_.FindComponent("comp
[all...]
H A Daccess_api_handler_unittest.cc95 const auto* component = component_manager_.FindComponent(path, nullptr);
H A Dbase_api_handler_unittest.cc83 const auto* component = component_manager_.FindComponent(path, nullptr);
H A Dcomponent_manager.h145 virtual const base::DictionaryValue* FindComponent(const std::string& path,
H A Dcomponent_manager_impl.h107 const base::DictionaryValue* FindComponent(const std::string& path,
H A Dmock_component_manager.h58 MOCK_CONST_METHOD2(FindComponent,
H A Dcomponent_manager_impl.cc258 const base::DictionaryValue* component = FindComponent(component_path, error);
321 const base::DictionaryValue* ComponentManagerImpl::FindComponent( function in class:weave::ComponentManagerImpl
407 const base::DictionaryValue* component = FindComponent(component_path, error);
/external/libweave/src/privet/
H A Dcloud_delegate.h108 virtual const base::DictionaryValue* FindComponent(const std::string& path,
H A Dmock_delegates.h191 MOCK_CONST_METHOD2(FindComponent,
230 EXPECT_CALL(*this, FindComponent(_, _)).Times(0);
H A Dcloud_delegate.cc155 const base::DictionaryValue* FindComponent(const std::string& path,
157 return component_manager_->FindComponent(path, error);
H A Dprivet_handler_unittest.cc758 EXPECT_CALL(cloud_, FindComponent(_, _)).WillRepeatedly(Return(nullptr));
836 EXPECT_CALL(cloud_, FindComponent("comp1.comp2", _)).WillOnce(Return(comp2));
860 EXPECT_CALL(cloud_, FindComponent("comp7", _))
H A Dprivet_handler.cc882 component = cloud_->FindComponent(path, &error);

Completed in 359 milliseconds