Home
last modified time | relevance | path

Searched refs:AddCommandHandler (Results 1 – 21 of 21) sorted by relevance

/external/libweave/src/
Ddevice_manager.cc153 void DeviceManager::AddCommandHandler(const std::string& component, in AddCommandHandler() function in weave::DeviceManager
156 component_manager_->AddCommandHandler(component, command_name, callback); in AddCommandHandler()
184 void DeviceManager::AddCommandHandler(const std::string& command_name, in AddCommandHandler() function in weave::DeviceManager
187 return component_manager_->AddCommandHandler("", "", callback); in AddCommandHandler()
192 component_manager_->AddCommandHandler(component, command_name, callback); in AddCommandHandler()
Daccess_api_handler.cc121 device_->AddCommandHandler(
124 device_->AddCommandHandler(
127 device_->AddCommandHandler(
Dbase_api_handler.cc110 device_->AddCommandHandler(
115 device_->AddCommandHandler(kBaseComponent, "base.updateDeviceInfo",
Ddevice_manager.h64 void AddCommandHandler(const std::string& component,
83 void AddCommandHandler(const std::string& command_name,
Dbase_api_handler_unittest.cc52 AddCommandHandler(_, AnyOf("base.updateBaseConfiguration", in SetUp()
56 Invoke(&component_manager_, &ComponentManager::AddCommandHandler)); in SetUp()
Daccess_api_handler_unittest.cc65 AddCommandHandler(_, AnyOf("_accessControlBlackList.block", in SetUp()
70 Invoke(&component_manager_, &ComponentManager::AddCommandHandler)); in SetUp()
Dcomponent_manager.h139 virtual void AddCommandHandler(
Dmock_component_manager.h54 MOCK_METHOD3(AddCommandHandler,
Dcomponent_manager_unittest.cc788 TEST_F(ComponentManagerTest, AddCommandHandler) { in TEST_F() argument
814 manager_.AddCommandHandler("comp1", "trait1.command1", in TEST_F()
816 manager_.AddCommandHandler("comp2", "trait1.command1", in TEST_F()
818 manager_.AddCommandHandler("comp2", "trait2.command2", in TEST_F()
882 manager_.AddCommandHandler("", "", base::Bind(handler, 1)); in TEST_F()
Dcomponent_manager_impl.h101 void AddCommandHandler(
Dcomponent_manager_impl.cc308 void ComponentManagerImpl::AddCommandHandler( in AddCommandHandler() function in weave::ComponentManagerImpl
318 command_queue_.AddCommandHandler(component_path, command_name, callback); in AddCommandHandler()
/external/libweave/examples/daemon/sample/
Dsample.cc69 device->AddCommandHandler(kComponent, "_sample.hello", in Register()
72 device->AddCommandHandler(kComponent, "_sample.ping", in Register()
75 device->AddCommandHandler(kComponent, "_sample.countdown", in Register()
/external/libweave/examples/daemon/light/
Dlight.cc187 device->AddCommandHandler(kComponent, "onOff.setConfig", in Register()
190 device->AddCommandHandler(kComponent, "brightness.setConfig", in Register()
193 device->AddCommandHandler(kComponent, "colorXY.setConfig", in Register()
/external/libweave/include/weave/test/
Dmock_device.h54 MOCK_METHOD3(AddCommandHandler,
75 MOCK_METHOD2(AddCommandHandler,
/external/libweave/examples/daemon/ledflasher/
Dledflasher.cc68 device->AddCommandHandler( in Register()
72 device->AddCommandHandler( in Register()
/external/libweave/examples/daemon/speaker/
Dspeaker.cc80 device->AddCommandHandler(kComponent, "onOff.setConfig", in Register()
83 device->AddCommandHandler(kComponent, "volume.setConfig", in Register()
/external/libweave/include/weave/
Ddevice.h115 virtual void AddCommandHandler(const std::string& component,
189 LIBWEAVE_DEPRECATED virtual void AddCommandHandler(
/external/libweave/examples/daemon/oven/
Doven.cc155 device->AddCommandHandler(kComponent, "temperatureSetting.setConfig", in Register()
159 device->AddCommandHandler(kComponent, "brightness.setConfig", in Register()
/external/libweave/src/commands/
Dcommand_queue.h39 void AddCommandHandler(const std::string& component_path,
Dcommand_queue.cc36 void CommandQueue::AddCommandHandler( in AddCommandHandler() function in weave::CommandQueue
/external/libweave/examples/daemon/lock/
Dlock.cc80 device->AddCommandHandler(kComponent, "lock.setConfig", in Register()