Home
last modified time | relevance | path

Searched refs:LoadTraits (Results 1 – 9 of 9) sorted by relevance

/external/libweave/src/
Dcomponent_manager_unittest.cc82 ASSERT_TRUE(manager->LoadTraits(*json, nullptr)); in CreateTestComponentTree()
106 TEST_F(ComponentManagerTest, LoadTraits) { in TEST_F() argument
126 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F()
151 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F()
171 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F()
218 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F()
238 EXPECT_FALSE(manager_.LoadTraits(*json, nullptr)); in TEST_F()
262 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F()
273 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F()
284 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F()
[all …]
Dcomponent_manager.h59 virtual bool LoadTraits(const base::DictionaryValue& dict,
64 virtual bool LoadTraits(const std::string& json, ErrorPtr* error) = 0;
Dmock_component_manager.h17 MOCK_METHOD2(LoadTraits,
19 MOCK_METHOD2(LoadTraits, bool(const std::string& json, ErrorPtr* error));
Dcomponent_manager_impl.h23 bool LoadTraits(const base::DictionaryValue& dict, ErrorPtr* error) override;
27 bool LoadTraits(const std::string& json, ErrorPtr* error) override;
Ddevice_manager.cc94 CHECK(component_manager_->LoadTraits(json, nullptr)); in AddTraitDefinitionsFromJson()
98 CHECK(component_manager_->LoadTraits(dict, nullptr)); in AddTraitDefinitions()
Dcomponent_manager_impl.cc159 bool ComponentManagerImpl::LoadTraits(const base::DictionaryValue& dict, in LoadTraits() function in weave::ComponentManagerImpl
193 bool ComponentManagerImpl::LoadTraits(const std::string& json, in LoadTraits() function in weave::ComponentManagerImpl
198 return LoadTraits(*dict, error); in LoadTraits()
Dbase_api_handler_unittest.cc36 EXPECT_TRUE(component_manager_.LoadTraits(json, nullptr)); in SetUp()
Daccess_api_handler_unittest.cc49 EXPECT_TRUE(component_manager_.LoadTraits(json, nullptr)); in SetUp()
Ddevice_registration_info_unittest.cc404 EXPECT_TRUE(component_manager_.LoadTraits(*json_traits, nullptr)); in TEST_F()
618 EXPECT_TRUE(component_manager_.LoadTraits(*json_traits, nullptr)); in SetUp()