Home
last modified time | relevance | path

Searched refs:actions_ (Results 1 – 8 of 8) 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.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()
Daction_manager.h53 std::vector<std::unique_ptr<Action>> actions_; variable
/system/extras/libperfmgr/include/perfmgr/
DHintManager.h40 : nm_(std::move(nm)), actions_(actions) {} in HintManager()
86 const std::map<std::string, std::vector<NodeAction>> actions_; variable
/system/extras/libperfmgr/
DHintManager.cc40 if (actions_.find(hint_type) == actions_.end()) { in ValidateHint()
50 ? nm_->Request(actions_.at(hint_type), hint_type) in DoHint()
61 std::vector<NodeAction> actions_override = actions_.at(hint_type); in DoHint()
71 ? nm_->Cancel(actions_.at(hint_type), hint_type) in EndHint()
81 for (auto const& action : actions_) { in GetHints()
/system/extras/libperfmgr/tests/
DHintManagerTest.cc157 actions_ = std::map<std::string, std::vector<NodeAction>>{ in SetUp()
178 actions_.clear(); in TearDown()
184 std::map<std::string, std::vector<NodeAction>> actions_; member in android::perfmgr::HintManagerTest
206 HintManager hm(nm_, actions_); in TEST_F()
216 HintManager hm(nm_, actions_); in TEST_F()
226 HintManager hm(nm_, actions_); in TEST_F()