Home
last modified time | relevance | path

Searched refs:action_ (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
Dcmd_boot_record.cpp70 Action action_ = Action::NONE; member in simpleperf::__anon80e1831a0111::BootRecordCommand
78 if (action_ == Action::ENABLE) { in Run()
86 if (action_ == Action::DISABLE) { in Run()
89 if (action_ == Action::RECORD) { in Run()
108 action_ = Action::ENABLE; in ParseOptions()
111 action_ = Action::DISABLE; in ParseOptions()
113 action_ = Action::RECORD; in ParseOptions()
/system/update_engine/aosp/
Dcleanup_previous_update_action_unittest.cc64 action_.SetProcessor(&mock_processor_); in SetUp()
78 CleanupPreviousUpdateAction action_{ member in chromeos_update_engine::CleanupPreviousUpdateActionTest
89 action_.PerformAction(); in TEST_F()
119 EXPECT_CALL(mock_processor_, ActionComplete(&action_, ErrorCode::kSuccess)) in TEST_F()
121 action_.PerformAction(); in TEST_F()
164 EXPECT_CALL(mock_processor_, ActionComplete(&action_, ErrorCode::kSuccess)) in TEST_F()
166 action_.PerformAction(); in TEST_F()
/system/core/init/
Daction_parser.cpp165 action_ = std::move(action); in ParseSection()
170 return action_ ? action_->AddCommand(std::move(args), line) : Result<void>{}; in ParseLineSection()
174 if (action_ && action_->NumCommands() > 0) { in EndSection()
175 action_manager_->AddAction(std::move(action_)); in EndSection()
Daction_parser.h34 : action_manager_(action_manager), subcontext_(subcontext), action_(nullptr) {} in ActionParser()
43 std::unique_ptr<Action> action_; variable
/system/update_engine/common/
Daction_processor_unittest.cc102 action_.reset(new ActionProcessorTestAction()); in SetUp()
103 action_ptr_ = action_.get(); in SetUp()
118 std::unique_ptr<ActionProcessorTestAction> action_; member in chromeos_update_engine::ActionProcessorTest
124 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
136 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
144 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
190 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
194 action_.reset(new ActionProcessorTestAction()); in TEST_F()
195 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
Dutils.h509 action_(action), in ScopedActionCompleter()
516 processor_->ActionComplete(action_, code_); in ~ScopedActionCompleter()
526 AbstractAction* action_; variable