Home
last modified time | relevance | path

Searched refs:actions_ (Results 1 – 9 of 9) sorted by relevance

/system/update_engine/common/
Daction_processor.cc33 for (auto action : actions_) in ~ActionProcessor()
38 actions_.push_back(action); in EnqueueAction()
44 if (!actions_.empty()) { in StartProcessing()
45 current_action_ = actions_.front(); in StartProcessing()
47 actions_.pop_front(); in StartProcessing()
64 for (auto action : actions_) in StopProcessing()
66 actions_.clear(); in StopProcessing()
117 << (actions_.empty() ? "last action " : "") << old_type in ActionComplete()
120 if (!actions_.empty() && code != ErrorCode::kSuccess) { in ActionComplete()
122 actions_.clear(); in ActionComplete()
[all …]
Daction_processor.h99 std::deque<AbstractAction*> actions_; variable
/system/core/init/
Daction.cpp315 std::find_if(actions_.begin(), actions_.end(), in AddAction()
320 if (old_action_it != actions_.end()) { in AddAction()
323 actions_.emplace_back(std::move(action)); in AddAction()
352 actions_.emplace_back(std::move(action)); in QueueBuiltinAction()
358 for (const auto& action : actions_) { in ExecuteOneCommand()
390 actions_.erase(std::remove_if(actions_.begin(), actions_.end(), eraser)); in ExecuteOneCommand()
400 for (const auto& a : actions_) { in DumpState()
Daction.h111 std::vector<std::unique_ptr<Action>> actions_; variable
/system/update_engine/
Dupdate_attempter.cc590 actions_.push_back(shared_ptr<AbstractAction>(postinstall_runner_action)); in UpdateAttempter()
655 actions_.push_back(shared_ptr<AbstractAction>(update_check_action)); in UpdateAttempter()
656 actions_.push_back(shared_ptr<AbstractAction>(response_handler_action)); in UpdateAttempter()
657 actions_.push_back(shared_ptr<AbstractAction>(download_started_action)); in UpdateAttempter()
658 actions_.push_back(shared_ptr<AbstractAction>(download_action)); in UpdateAttempter()
659 actions_.push_back(shared_ptr<AbstractAction>(download_finished_action)); in UpdateAttempter()
660 actions_.push_back(shared_ptr<AbstractAction>(filesystem_verifier_action)); in UpdateAttempter()
672 actions_.push_back(shared_ptr<AbstractAction>(update_complete_action)); in UpdateAttempter()
675 for (const shared_ptr<AbstractAction>& action : actions_) { in UpdateAttempter()
722 actions_.push_back(shared_ptr<AbstractAction>(install_plan_action)); in UpdateAttempter()
[all …]
Dupdate_attempter_android.cc416 actions_.clear(); in TerminateUpdateAndNotify()
474 actions_.push_back(shared_ptr<AbstractAction>(install_plan_action)); in BuildUpdateActions()
475 actions_.push_back(shared_ptr<AbstractAction>(download_action)); in BuildUpdateActions()
476 actions_.push_back(shared_ptr<AbstractAction>(filesystem_verifier_action)); in BuildUpdateActions()
477 actions_.push_back(shared_ptr<AbstractAction>(postinstall_runner_action)); in BuildUpdateActions()
487 for (const shared_ptr<AbstractAction>& action : actions_) in BuildUpdateActions()
Dupdate_attempter_unittest.cc422 EXPECT_EQ(arraysize(kUpdateActionTypes), attempter_.actions_.size()); in UpdateTestVerify()
424 EXPECT_EQ(kUpdateActionTypes[i], attempter_.actions_[i]->Type()); in UpdateTestVerify()
427 attempter_.actions_[1].get()); in UpdateTestVerify()
428 AbstractAction* action_3 = attempter_.actions_[3].get(); in UpdateTestVerify()
496 EXPECT_EQ(arraysize(kRollbackActionTypes), attempter_.actions_.size()); in RollbackTestVerify()
498 EXPECT_EQ(kRollbackActionTypes[i], attempter_.actions_[i]->Type()); in RollbackTestVerify()
501 AbstractAction* action_0 = attempter_.actions_[0].get(); in RollbackTestVerify()
Dupdate_attempter_android.h139 std::vector<std::shared_ptr<AbstractAction>> actions_; variable
Dupdate_attempter.h410 std::vector<std::shared_ptr<AbstractAction>> actions_; variable