Home
last modified time | relevance | path

Searched refs:SetStateProperty (Results 1 – 16 of 16) sorted by relevance

/external/libweave/src/
Ddevice_manager.cc146 bool DeviceManager::SetStateProperty(const std::string& component, in SetStateProperty() function in weave::DeviceManager
150 return component_manager_->SetStateProperty(component, name, value, error); in SetStateProperty()
245 bool DeviceManager::SetStateProperty(const std::string& name, in SetStateProperty() function in weave::DeviceManager
258 return component_manager_->SetStateProperty(component, name, value, error); in SetStateProperty()
Dcomponent_manager_unittest.cc1069 ASSERT_TRUE(manager_.SetStateProperty("comp1", "trait1.prop1", p1, nullptr)); in TEST_F()
1082 ASSERT_TRUE(manager_.SetStateProperty("comp1", "trait2.prop3", p2, nullptr)); in TEST_F()
1095 EXPECT_FALSE(manager_.SetStateProperty("comp1", "trait2", p2, nullptr)); in TEST_F()
1135 ASSERT_TRUE(manager_.SetStateProperty("comp1", "trait1.prop1", p1, nullptr)); in TEST_F()
1140 ASSERT_TRUE(manager_.SetStateProperty("comp1", "trait1.prop2", p1, nullptr)); in TEST_F()
1146 ASSERT_FALSE(manager_.SetStateProperty("comp2", "trait1.prop2", p1, nullptr)); in TEST_F()
1190 ASSERT_TRUE(manager_.SetStateProperty("comp1", "trait1.prop1", foo, nullptr)); in TEST_F()
1191 ASSERT_TRUE(manager_.SetStateProperty("comp2", "trait2.prop3", foo, nullptr)); in TEST_F()
1192 ASSERT_TRUE(manager_.SetStateProperty("comp1", "trait1.prop2", foo, nullptr)); in TEST_F()
1206 ASSERT_TRUE(manager_.SetStateProperty("comp1", "trait1.prop1", bar, nullptr)); in TEST_F()
[all …]
Ddevice_manager.h60 bool SetStateProperty(const std::string& component,
92 bool SetStateProperty(const std::string& name,
Dbase_api_handler_unittest.cc41 EXPECT_CALL(device_, SetStateProperty(_, _, _, _)) in SetUp()
43 Invoke(&component_manager_, &ComponentManager::SetStateProperty)); in SetUp()
Daccess_api_handler_unittest.cc54 EXPECT_CALL(device_, SetStateProperty(_, _, _, _)) in SetUp()
56 Invoke(&component_manager_, &ComponentManager::SetStateProperty)); in SetUp()
Dcomponent_manager.h177 virtual bool SetStateProperty(const std::string& component_path,
Dmock_component_manager.h84 MOCK_METHOD4(SetStateProperty,
Dbase_api_handler.cc106 CHECK(device_->SetStateProperty(kBaseComponent, kBaseStateFirmwareVersion,
Dcomponent_manager_impl.h141 bool SetStateProperty(const std::string& component_path,
Ddevice_registration_info_unittest.cc408 EXPECT_TRUE(component_manager_.SetStateProperty( in TEST_F()
Dcomponent_manager_impl.cc432 bool ComponentManagerImpl::SetStateProperty(const std::string& component_path, in SetStateProperty() function in weave::ComponentManagerImpl
/external/libweave/include/weave/test/
Dmock_device.h49 MOCK_METHOD4(SetStateProperty,
84 MOCK_METHOD3(SetStateProperty,
/external/libweave/include/weave/
Ddevice.h98 virtual bool SetStateProperty(const std::string& component,
226 LIBWEAVE_DEPRECATED virtual bool SetStateProperty(const std::string& name,
/external/libweave/examples/daemon/lock/
Dlock.cc124 device_->SetStateProperty(kComponent, "lock.lockedState", in UpdateLockState()
/external/libweave/examples/daemon/ledflasher/
Dledflasher.cc137 device_->SetStateProperty(kComponent, "_ledflasher.leds", list, nullptr); in UpdateLedState()
/external/libweave/examples/daemon/sample/
Dsample.cc109 device_->SetStateProperty(kComponent, "_sample.pingCount", in OnPingCommand()