Home
last modified time | relevance | path

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

/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
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc226 current_command_ = Subprocess::Get().ExecFlags( in PerformPartitionPostinstall()
233 CHECK_GE(current_command_, 0); in PerformPartitionPostinstall()
235 if (!current_command_) { in PerformPartitionPostinstall()
242 Subprocess::Get().GetPipeFd(current_command_, kPostinstallStatusFd); in PerformPartitionPostinstall()
330 current_command_ = 0; in Cleanup()
412 if (!current_command_) in Cleanup()
414 if (kill(current_command_, SIGSTOP) != 0) { in Cleanup()
415 PLOG(ERROR) << "Couldn't pause child process " << current_command_; in Cleanup()
422 if (!current_command_) in Cleanup()
424 if (kill(current_command_, SIGCONT) != 0) { in Cleanup()
[all …]
Dpostinstall_runner_action.h137 pid_t current_command_{0};
Dpostinstall_runner_action_unittest.cc120 if (!postinstall_action_ || !postinstall_action_->current_command_ || in SuspendRunningAction()
122 "/proc/%d/fd/0", postinstall_action_->current_command_)) != in SuspendRunningAction()
143 if (!postinstall_action_ || !postinstall_action_->current_command_) { in CancelWhenStarted()