Home
last modified time | relevance | path

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

/external/libweave/src/
Dcomponent_manager_unittest.cc732 auto command_instance = manager_.ParseCommandInstance( in TEST_F() local
734 EXPECT_NE(nullptr, command_instance.get()); in TEST_F()
735 EXPECT_EQ("comp1", command_instance->GetComponent()); in TEST_F()
742 command_instance = manager_.ParseCommandInstance( in TEST_F()
744 EXPECT_NE(nullptr, command_instance.get()); in TEST_F()
745 EXPECT_EQ("comp2", command_instance->GetComponent()); in TEST_F()
779 auto command_instance = manager_.ParseCommandInstance( in TEST_F() local
781 ASSERT_NE(nullptr, command_instance.get()); in TEST_F()
782 manager_.AddCommand(std::move(command_instance)); in TEST_F()
827 auto command_instance = manager_.ParseCommandInstance( in TEST_F() local
[all …]
Dcomponent_manager_impl.cc208 std::unique_ptr<CommandInstance> command_instance) { in AddCommand() argument
209 command_queue_.Add(std::move(command_instance)); in AddCommand()
219 auto command_instance = in ParseCommandInstance() local
227 if (!command_instance) in ParseCommandInstance()
231 if (!GetMinimalRole(command_instance->GetName(), &minimal_role, error)) in ParseCommandInstance()
241 std::string component_path = command_instance->GetComponent(); in ParseCommandInstance()
246 SplitAtFirst(command_instance->GetName(), ".", true).first; in ParseCommandInstance()
253 command_instance->GetName().c_str(), trait_name.c_str()); in ParseCommandInstance()
255 command_instance->SetComponent(component_path); in ParseCommandInstance()
263 auto pair = SplitAtFirst(command_instance->GetName(), ".", true); in ParseCommandInstance()
[all …]
Dmock_component_manager.h42 MOCK_METHOD1(MockAddCommand, void(CommandInstance* command_instance));
107 void AddCommand(std::unique_ptr<CommandInstance> command_instance) override { in AddCommand() argument
108 MockAddCommand(command_instance.get()); in AddCommand()
Dbase_api_handler_unittest.cc70 auto command_instance = component_manager_.ParseCommandInstance( in AddCommand() local
73 ASSERT_NE(nullptr, command_instance.get()); in AddCommand()
74 component_manager_.AddCommand(std::move(command_instance)); in AddCommand()
Daccess_api_handler_unittest.cc81 auto command_instance = component_manager_.ParseCommandInstance( in AddCommand() local
84 EXPECT_NE(nullptr, command_instance.get()); in AddCommand()
85 component_manager_.AddCommand(std::move(command_instance)); in AddCommand()
Ddevice_manager.cc172 auto command_instance = component_manager_->ParseCommandInstance( in AddCommand() local
174 if (!command_instance) in AddCommand()
176 component_manager_->AddCommand(std::move(command_instance)); in AddCommand()
Ddevice_registration_info.cc1136 auto command_instance = component_manager_->ParseCommandInstance( in PublishCommand() local
1138 if (!command_instance) { in PublishCommand()
1146 if (!component_manager_->FindCommand(command_instance->GetID())) { in PublishCommand()
1147 LOG(INFO) << "New command '" << command_instance->GetName() in PublishCommand()
1148 << "' arrived, ID: " << command_instance->GetID(); in PublishCommand()
1152 new CloudCommandProxy{command_instance.get(), this, component_manager_, in PublishCommand()
1158 component_manager_->AddCommand(std::move(command_instance)); in PublishCommand()
Dcomponent_manager.h112 AddCommand(std::unique_ptr<CommandInstance> command_instance) = 0;
Dcomponent_manager_impl.h74 void AddCommand(std::unique_ptr<CommandInstance> command_instance) override;
/external/libweave/src/commands/
Dcloud_command_proxy.cc18 CommandInstance* command_instance, in CloudCommandProxy() argument
23 : command_instance_{command_instance}, in CloudCommandProxy()
31 observer_.Add(command_instance);
Dcloud_command_proxy.h34 CloudCommandProxy(CommandInstance* command_instance,
Dcloud_command_proxy_unittest.cc69 CloudCommandProxyWrapper(CommandInstance* command_instance, in CloudCommandProxyWrapper() argument
75 : CloudCommandProxy{command_instance, cloud_command_updater, in CloudCommandProxyWrapper()
/external/chromium-trace/catapult/telemetry/telemetry/
Dbenchmark_runner.py413 command_instance = command(all_commands)
415 command_instance = command()
416 if isinstance(command_instance, command_line.OptparseCommand):
417 return command_instance.Run(options)
419 return command_instance.Run(options, args)
/external/libweave/src/privet/
Dcloud_delegate.cc180 auto command_instance = component_manager_->ParseCommandInstance( in AddCommand() local
182 if (!command_instance) in AddCommand()
184 component_manager_->AddCommand(std::move(command_instance)); in AddCommand()
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Drsync.py386 def _DiffToApplyArgChecker(command_instance, diff_to_apply): argument
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/
Dcommand.py107 def _UrlArgChecker(command_instance, url): argument
108 if not command_instance.exclude_symlinks:
112 command_instance.logger.info('Skipping symbolic link %s...', exp_src_url)
/external/libweave/
Dfile_lists.mk11 src/commands/command_instance.cc \