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

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

Completed in 85 milliseconds