Home
last modified time | relevance | path

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

/system/update_engine/common/
Daction_processor.cc39 actions_.push_back(std::move(action)); in EnqueueAction()
48 if (!actions_.empty()) { in StartProcessing()
49 current_action_ = std::move(actions_.front()); in StartProcessing()
50 actions_.pop_front(); in StartProcessing()
67 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()
135 if (actions_.empty()) { in StartNextActionOrFinish()
141 current_action_ = std::move(actions_.front()); in StartNextActionOrFinish()
[all …]
Daction_processor_unittest.cc167 EXPECT_EQ(action_processor_.actions_.size(), 3u); in TEST_F()
168 EXPECT_EQ(action_processor_.actions_[0].get(), action0_ptr); in TEST_F()
169 EXPECT_EQ(action_processor_.actions_[1].get(), action1_ptr); in TEST_F()
170 EXPECT_EQ(action_processor_.actions_[2].get(), action2_ptr); in TEST_F()
180 EXPECT_TRUE(action_processor_.actions_.empty()); in TEST_F()
184 EXPECT_TRUE(action_processor_.actions_.empty()); in TEST_F()
Daction_processor.h104 std::deque<std::unique_ptr<AbstractAction>> actions_; variable
/system/core/init/
Daction_manager.h42 actions_.erase(std::remove_if(actions_.begin(), actions_.end(), predicate), actions_.end()); in RemoveActionIf()
52 auto size() const { return actions_.size(); } in size()
58 std::vector<std::unique_ptr<Action>> actions_; variable
Daction_manager.cpp28 for (const auto& action : actions_) { in CheckAllCommands()
40 actions_.emplace_back(std::move(action)); in AddAction()
64 actions_.emplace_back(std::move(action)); in QueueBuiltinAction()
72 for (const auto& action : actions_) { in ExecuteOneCommand()
105 actions_.erase(std::remove_if(actions_.begin(), actions_.end(), eraser), in ExecuteOneCommand()
106 actions_.end()); in ExecuteOneCommand()
117 for (const auto& a : actions_) { in DumpState()