/external/libweave/src/ |
D | component_manager_unittest.cc | 83 EXPECT_TRUE(manager->AddComponent("", "comp1", {"t1"}, nullptr)); in CreateTestComponentTree() 89 manager->AddComponent("comp1.comp2[1]", "comp3", {"t4"}, nullptr)); in CreateTestComponentTree() 90 EXPECT_TRUE(manager->AddComponent("comp1.comp2[1].comp3", "comp4", in CreateTestComponentTree() 441 TEST_F(ComponentManagerTest, AddComponent) { in TEST_F() argument 446 manager_.AddComponent("", "comp1", {"trait1", "trait2"}, nullptr)); in TEST_F() 447 EXPECT_TRUE(manager_.AddComponent("", "comp2", {"trait3"}, nullptr)); in TEST_F() 459 EXPECT_FALSE(manager_.AddComponent("", "comp3", {"trait4"}, nullptr)); in TEST_F() 463 EXPECT_TRUE(manager_.AddComponent("", "comp1", {}, nullptr)); in TEST_F() 464 EXPECT_TRUE(manager_.AddComponent("comp1", "comp2", {}, nullptr)); in TEST_F() 465 EXPECT_TRUE(manager_.AddComponent("comp1", "comp3", {}, nullptr)); in TEST_F() [all …]
|
D | base_api_handler_unittest.cc | 44 EXPECT_CALL(device_, AddComponent(_, _, _)) in SetUp() 48 return component_manager_.AddComponent("", name, traits, error); in SetUp()
|
D | access_api_handler_unittest.cc | 57 EXPECT_CALL(device_, AddComponent(_, _, _)) in SetUp() 61 return component_manager_.AddComponent("", name, traits, error); in SetUp()
|
D | device_manager.cc | 109 bool DeviceManager::AddComponent(const std::string& name, in AddComponent() function in weave::DeviceManager 112 return component_manager_->AddComponent("", name, traits, error); in AddComponent()
|
D | device_manager.h | 45 bool AddComponent(const std::string& name,
|
D | mock_component_manager.h | 21 MOCK_METHOD4(AddComponent,
|
D | component_manager.h | 74 virtual bool AddComponent(const std::string& path,
|
D | base_api_handler.cc | 100 CHECK(device_->AddComponent(kBaseComponent, {kBaseTrait}, nullptr));
|
D | component_manager_impl.h | 37 bool AddComponent(const std::string& path,
|
D | access_api_handler.cc | 118 CHECK(device_->AddComponent(kComponent, {kTrait}, nullptr));
|
D | weave_unittest.cc | 316 device_->AddComponent("myComponent", {"trait1", "trait2"}, nullptr)); in StartDevice() 376 device_->AddComponent("myComponent", {"trait1", "trait2"}, nullptr)); in TEST_F()
|
D | device_registration_info_unittest.cc | 406 component_manager_.AddComponent("", "comp", {"base", "robot"}, nullptr)); in TEST_F() 620 component_manager_.AddComponent("", "comp", {"robot"}, nullptr)); in SetUp()
|
D | component_manager_impl.cc | 41 bool ComponentManagerImpl::AddComponent(const std::string& path, in AddComponent() function in weave::ComponentManagerImpl
|
/external/libweave/include/weave/test/ |
D | mock_device.h | 29 MOCK_METHOD3(AddComponent,
|
/external/libweave/examples/daemon/lock/ |
D | lock.cc | 75 CHECK(device->AddComponent(kComponent, {"lock"}, nullptr)); in Register()
|
/external/libweave/examples/daemon/speaker/ |
D | speaker.cc | 77 CHECK(device->AddComponent(kComponent, {"onOff", "volume"}, nullptr)); in Register()
|
/external/libweave/examples/daemon/ledflasher/ |
D | ledflasher.cc | 65 CHECK(device->AddComponent(kComponent, {"_ledflasher"}, nullptr)); in Register()
|
/external/libweave/examples/daemon/sample/ |
D | sample.cc | 65 CHECK(device->AddComponent(kComponent, {"_sample"}, nullptr)); in Register()
|
/external/libweave/include/weave/ |
D | device.h | 61 virtual bool AddComponent(const std::string& name,
|
/external/libweave/examples/daemon/oven/ |
D | oven.cc | 149 CHECK(device->AddComponent( in Register()
|
/external/libweave/examples/daemon/light/ |
D | light.cc | 181 CHECK(device->AddComponent(kComponent, {"onOff", "brightness", "colorXY"}, in Register()
|