Searched refs:command_instance (Results 1 - 17 of 17) sorted by relevance

/external/libweave/src/commands/
H A Dcloud_command_proxy.cc11 #include "src/commands/command_instance.h"
18 CommandInstance* command_instance,
23 : command_instance_{command_instance},
31 observer_.Add(command_instance);
17 CloudCommandProxy( CommandInstance* command_instance, CloudCommandUpdateInterface* cloud_command_updater, ComponentManager* component_manager, std::unique_ptr<BackoffEntry> backoff_entry, provider::TaskRunner* task_runner) argument
H A Dcloud_command_proxy.h20 #include "src/commands/command_instance.h"
34 CloudCommandProxy(CommandInstance* command_instance,
H A Dcloud_command_proxy_unittest.cc16 #include "src/commands/command_instance.h"
69 CloudCommandProxyWrapper(CommandInstance* command_instance, argument
75 : CloudCommandProxy{command_instance, cloud_command_updater,
/external/libweave/src/
H A Dcomponent_manager_unittest.cc732 auto command_instance = manager_.ParseCommandInstance( local
734 EXPECT_NE(nullptr, command_instance.get());
735 EXPECT_EQ("comp1", command_instance->GetComponent());
742 command_instance = manager_.ParseCommandInstance(
744 EXPECT_NE(nullptr, command_instance.get());
745 EXPECT_EQ("comp2", command_instance->GetComponent());
779 auto command_instance = manager_.ParseCommandInstance( local
781 ASSERT_NE(nullptr, command_instance.get());
782 manager_.AddCommand(std::move(command_instance));
827 auto command_instance local
890 auto command_instance = manager_.ParseCommandInstance( local
[all...]
H A Daccess_api_handler_unittest.cc81 auto command_instance = component_manager_.ParseCommandInstance( local
84 EXPECT_NE(nullptr, command_instance.get());
85 component_manager_.AddCommand(std::move(command_instance));
H A Dbase_api_handler_unittest.cc70 auto command_instance = component_manager_.ParseCommandInstance( local
73 ASSERT_NE(nullptr, command_instance.get());
74 component_manager_.AddCommand(std::move(command_instance));
H A Dcomponent_manager_impl.cc208 std::unique_ptr<CommandInstance> command_instance) {
209 command_queue_.Add(std::move(command_instance));
219 auto command_instance = local
227 if (!command_instance)
231 if (!GetMinimalRole(command_instance->GetName(), &minimal_role, error))
241 std::string component_path = command_instance->GetComponent();
246 SplitAtFirst(command_instance->GetName(), ".", true).first;
253 command_instance->GetName().c_str(), trait_name.c_str());
255 command_instance->SetComponent(component_path);
263 auto pair = SplitAtFirst(command_instance
207 AddCommand( std::unique_ptr<CommandInstance> command_instance) argument
[all...]
H A Dmock_component_manager.h42 MOCK_METHOD1(MockAddCommand, void(CommandInstance* command_instance));
107 void AddCommand(std::unique_ptr<CommandInstance> command_instance) override {
108 MockAddCommand(command_instance.get());
H A Ddevice_manager.cc172 auto command_instance = component_manager_->ParseCommandInstance( local
174 if (!command_instance)
176 component_manager_->AddCommand(std::move(command_instance));
H A Ddevice_registration_info.cc1136 auto command_instance = component_manager_->ParseCommandInstance( local
1138 if (!command_instance) {
1146 if (!component_manager_->FindCommand(command_instance->GetID())) {
1147 LOG(INFO) << "New command '" << command_instance->GetName()
1148 << "' arrived, ID: " << command_instance->GetID();
1152 new CloudCommandProxy{command_instance.get(), this, component_manager_,
1158 component_manager_->AddCommand(std::move(command_instance));
H A Dcomponent_manager.h109 // |command_instance| must be fully initialized and have its name, component,
112 AddCommand(std::unique_ptr<CommandInstance> command_instance) = 0;
H A Dcomponent_manager_impl.h72 // |command_instance| must be fully initialized and have its name, component,
74 void AddCommand(std::unique_ptr<CommandInstance> command_instance) override;
/external/chromium-trace/catapult/telemetry/telemetry/
H A Dbenchmark_runner.py442 command_instance = command(all_commands)
444 command_instance = command()
445 if isinstance(command_instance, command_line.OptparseCommand):
446 return command_instance.Run(options)
448 return command_instance.Run(options, args)
/external/libweave/src/privet/
H A Dcloud_delegate.cc180 auto command_instance = component_manager_->ParseCommandInstance( variable
182 if (!command_instance)
184 component_manager_->AddCommand(std::move(command_instance));
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
H A Drsync.py386 def _DiffToApplyArgChecker(command_instance, diff_to_apply):
389 or not command_instance.exclude_symlinks):
394 command_instance.logger.info('Skipping symbolic link %s...', exp_src_url)
/external/chromium-trace/catapult/third_party/gsutil/gslib/
H A Dcommand.py107 def _UrlArgChecker(command_instance, url):
108 if not command_instance.exclude_symlinks:
112 command_instance.logger.info('Skipping symbolic link %s...', exp_src_url)
/external/libweave/
H A Dfile_lists.mk11 src/commands/command_instance.cc \

Completed in 2306 milliseconds