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.cc201 current_command_ = Subprocess::Get().ExecFlags( in PerformPartitionPostinstall()
208 CHECK_GE(current_command_, 0); in PerformPartitionPostinstall()
210 if (!current_command_) { in PerformPartitionPostinstall()
217 Subprocess::Get().GetPipeFd(current_command_, kPostinstallStatusFd); in PerformPartitionPostinstall()
303 current_command_ = 0; in CompletePartitionPostinstall()
378 if (!current_command_) in SuspendAction()
380 if (kill(current_command_, SIGSTOP) != 0) { in SuspendAction()
381 PLOG(ERROR) << "Couldn't pause child process " << current_command_; in SuspendAction()
388 if (!current_command_) in ResumeAction()
390 if (kill(current_command_, SIGCONT) != 0) { in ResumeAction()
[all …]
Dpostinstall_runner_action.h134 pid_t current_command_{0};
Dpostinstall_runner_action_unittest.cc115 if (!postinstall_action_ || !postinstall_action_->current_command_ || in SuspendRunningAction()
117 "/proc/%d/fd/0", postinstall_action_->current_command_)) != in SuspendRunningAction()
138 if (!postinstall_action_ || !postinstall_action_->current_command_) { in CancelWhenStarted()
/system/core/init/
Daction_manager.cpp24 ActionManager::ActionManager() : current_command_(0) {} in ActionManager()
88 if (current_command_ == 0) { in ExecuteOneCommand()
94 action->ExecuteOneCommand(current_command_); in ExecuteOneCommand()
99 ++current_command_; in ExecuteOneCommand()
100 if (current_command_ == action->NumCommands()) { in ExecuteOneCommand()
102 current_command_ = 0; in ExecuteOneCommand()
127 current_command_ = 0; in ClearQueue()
Daction_manager.h58 std::size_t current_command_; variable