Home
last modified time | relevance | path

Searched refs:current_command_ (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc188 current_command_ = Subprocess::Get().ExecFlags( in PerformPartitionPostinstall()
195 CHECK_GE(current_command_, 0); in PerformPartitionPostinstall()
197 if (!current_command_) { in PerformPartitionPostinstall()
204 Subprocess::Get().GetPipeFd(current_command_, kPostinstallStatusFd); in PerformPartitionPostinstall()
295 current_command_ = 0; in CompletePartitionPostinstall()
359 if (!current_command_) in SuspendAction()
361 if (kill(current_command_, SIGSTOP) != 0) { in SuspendAction()
362 PLOG(ERROR) << "Couldn't pause child process " << current_command_; in SuspendAction()
367 if (!current_command_) in ResumeAction()
369 if (kill(current_command_, SIGCONT) != 0) { in ResumeAction()
[all …]
Dpostinstall_runner_action_unittest.cc111 if (!postinstall_action_ || !postinstall_action_->current_command_ || in SuspendRunningAction()
113 "/proc/%d/fd/0", postinstall_action_->current_command_)) != in SuspendRunningAction()
134 if (!postinstall_action_ || !postinstall_action_->current_command_) { in CancelWhenStarted()
Dpostinstall_runner_action.h135 pid_t current_command_{0};
/system/core/init/
Daction.cpp305 ActionManager::ActionManager() : current_command_(0) { in ActionManager()
372 if (current_command_ == 0) { in ExecuteOneCommand()
377 action->ExecuteOneCommand(current_command_); in ExecuteOneCommand()
382 ++current_command_; in ExecuteOneCommand()
383 if (current_command_ == action->NumCommands()) { in ExecuteOneCommand()
385 current_command_ = 0; in ExecuteOneCommand()
Daction.h114 std::size_t current_command_; variable