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.h63 std::size_t current_command_; variable
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc293 current_command_ = Subprocess::Get().ExecFlags( in PerformPartitionPostinstall()
300 CHECK_GE(current_command_, 0); in PerformPartitionPostinstall()
302 if (!current_command_) { in PerformPartitionPostinstall()
309 Subprocess::Get().GetPipeFd(current_command_, kPostinstallStatusFd); in PerformPartitionPostinstall()
397 current_command_ = 0; in Cleanup()
489 if (!current_command_) in Cleanup()
491 if (kill(current_command_, SIGSTOP) != 0) { in Cleanup()
492 PLOG(ERROR) << "Couldn't pause child process " << current_command_; in Cleanup()
499 if (!current_command_) in Cleanup()
501 if (kill(current_command_, SIGCONT) != 0) { in Cleanup()
[all …]
Dpostinstall_runner_action.h141 pid_t current_command_{0};
Dpostinstall_runner_action_unittest.cc119 if (!postinstall_action_ || !postinstall_action_->current_command_ || in SuspendRunningAction()
121 "/proc/%d/fd/0", postinstall_action_->current_command_)) != in SuspendRunningAction()
142 if (!postinstall_action_ || !postinstall_action_->current_command_) { in CancelWhenStarted()