Home
last modified time | relevance | path

Searched refs:SetStateProperties (Results 1 – 17 of 17) sorted by relevance

/external/libweave/src/
Ddevice_manager.cc134 bool DeviceManager::SetStateProperties(const std::string& component, in SetStateProperties() function in weave::DeviceManager
137 return component_manager_->SetStateProperties(component, dict, error); in SetStateProperties()
212 return dict && SetStateProperties(*dict, error); in SetStatePropertiesFromJson()
215 bool DeviceManager::SetStateProperties(const base::DictionaryValue& dict, in SetStateProperties() function in weave::DeviceManager
230 if (!component_manager_->SetStateProperties(component, trait_state, error)) in SetStateProperties()
Ddevice_manager.h54 bool SetStateProperties(const std::string& component,
89 bool SetStateProperties(const base::DictionaryValue& dict,
Dbase_api_handler_unittest.cc38 EXPECT_CALL(device_, SetStateProperties(_, _, _)) in SetUp()
40 Invoke(&component_manager_, &ComponentManager::SetStateProperties)); in SetUp()
Daccess_api_handler_unittest.cc51 EXPECT_CALL(device_, SetStateProperties(_, _, _)) in SetUp()
53 Invoke(&component_manager_, &ComponentManager::SetStateProperties)); in SetUp()
Dmock_component_manager.h72 MOCK_METHOD3(SetStateProperties,
Dcomponent_manager.h168 virtual bool SetStateProperties(const std::string& component_path,
Dbase_api_handler.cc166 device_->SetStateProperties(kBaseComponent, state, nullptr); in OnConfigChanged()
Dcomponent_manager_impl.h132 bool SetStateProperties(const std::string& component_path,
Dcomponent_manager_impl.cc370 bool ComponentManagerImpl::SetStateProperties(const std::string& component_path, in SetStateProperties() function in weave::ComponentManagerImpl
400 return dict && SetStateProperties(component_path, *dict, error); in SetStatePropertiesFromJson()
449 return SetStateProperties(component_path, dict, error); in SetStateProperty()
Daccess_api_handler.cc224 device_->SetStateProperties(kComponent, state, nullptr); in UpdateState()
Dcomponent_manager_unittest.cc908 TEST_F(ComponentManagerTest, SetStateProperties) { in TEST_F() argument
913 ASSERT_TRUE(manager_.SetStateProperties("comp1", *state1, nullptr)); in TEST_F()
944 ASSERT_TRUE(manager_.SetStateProperties("comp1", *state2, nullptr)); in TEST_F()
976 ASSERT_TRUE(manager_.SetStateProperties("comp1.comp2[1].comp3.comp4", *state3, in TEST_F()
/external/libweave/include/weave/test/
Dmock_device.h41 MOCK_METHOD3(SetStateProperties,
80 MOCK_METHOD2(SetStateProperties,
/external/libweave/include/weave/
Ddevice.h86 virtual bool SetStateProperties(const std::string& component,
213 LIBWEAVE_DEPRECATED virtual bool SetStateProperties(
/external/libweave/examples/daemon/speaker/
Dspeaker.cc155 device_->SetStateProperties(kComponent, state, nullptr); in UpdateSpeakerState()
/external/libweave/src/privet/
Dprivet_handler.cc175 void SetStateProperties(const T& state, base::DictionaryValue* parent) { in SetStateProperties() function
284 SetStateProperties(state, result.get()); in CreateWifiSection()
292 SetStateProperties(cloud.GetConnectionState(), gcd.get()); in CreateGcdSection()
824 SetStateProperties(state, gcd); in ReplyWithSetupStatus()
834 SetStateProperties(state, wifi); in ReplyWithSetupStatus()
/external/libweave/examples/daemon/oven/
Doven.cc240 device_->SetStateProperties(kComponent, state, nullptr); in UpdateOvenState()
/external/libweave/examples/daemon/light/
Dlight.cc292 device_->SetStateProperties(kComponent, state, nullptr); in UpdateLightState()