Home
last modified time | relevance | path

Searched refs:processor_ (Results 1 – 19 of 19) sorted by relevance

/system/update_engine/common/
Daction.h85 AbstractAction() : processor_(nullptr) {} in AbstractAction()
107 CHECK(!processor_); in SetProcessor()
109 CHECK(processor_); in SetProcessor()
110 processor_ = processor; in SetProcessor()
115 if (!processor_) in IsRunning()
117 return processor_->current_action() == this; in IsRunning()
144 ActionProcessor* processor_;
Daction_processor_unittest.cc48 ActionProcessor* processor() { return processor_; } in processor()
61 : processor_(processor), in MyActionProcessorDelegate()
69 EXPECT_EQ(processor_, processor); in ProcessingDone()
74 EXPECT_EQ(processor_, processor); in ProcessingStopped()
81 EXPECT_EQ(processor_, processor); in ActionCompleted()
87 const ActionProcessor* processor_; member in chromeos_update_engine::__anon597ef5220111::MyActionProcessorDelegate
Dtest_utils.h223 CHECK(this->processor_); in PerformAction()
227 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
257 ASSERT_TRUE(this->processor_); in PerformAction()
261 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
Daction_unittest.cc45 ActionProcessor* processor() { return processor_; } in processor()
Dutils.h370 : processor_(processor), in ScopedActionCompleter()
376 processor_->ActionComplete(action_, code_); in ~ScopedActionCompleter()
385 ActionProcessor* processor_;
/system/update_engine/
Dupdate_attempter_android.cc88 processor_(new ActionProcessor()) { in UpdateAttempterAndroid()
95 processor_->set_delegate(nullptr); in ~UpdateAttempterAndroid()
224 processor_->SuspendProcessing(); in SuspendUpdate()
231 processor_->ResumeProcessing(); in ResumeUpdate()
238 processor_->StopProcessing(); in CancelUpdate()
404 base::Unretained(processor_.get()))); in ScheduleProcessingStart()
437 CHECK(!processor_->IsRunning()); in BuildUpdateActions()
438 processor_->set_delegate(this); in BuildUpdateActions()
488 processor_->EnqueueAction(action.get()); in BuildUpdateActions()
Dupdate_attempter_unittest.cc145 processor_ = new NiceMock<MockActionProcessor>(); in SetUp()
146 attempter_.processor_.reset(processor_); // Transfers ownership. in SetUp()
207 NiceMock<MockActionProcessor>* processor_; member in chromeos_update_engine::UpdateAttempterTest
343 EXPECT_CALL(*processor_, EnqueueAction(_)).Times(0); in TEST_F()
344 EXPECT_CALL(*processor_, StartProcessing()).Times(0); in TEST_F()
359 EXPECT_CALL(*processor_, in TEST_F()
362 EXPECT_CALL(*processor_, StartProcessing()); in TEST_F()
406 EXPECT_CALL(*processor_, in UpdateTestStart()
410 EXPECT_CALL(*processor_, StartProcessing()); in UpdateTestStart()
421 EXPECT_EQ(&attempter_, processor_->delegate()); in UpdateTestVerify()
[all …]
Dupdate_attempter.cc125 : processor_(new ActionProcessor()), in UpdateAttempter()
141 processor_->set_delegate(nullptr); in UpdateAttempter()
596 CHECK(!processor_->IsRunning()); in UpdateAttempter()
597 processor_->set_delegate(this); in UpdateAttempter()
676 processor_->EnqueueAction(action.get()); in UpdateAttempter()
699 processor_->set_delegate(this); in UpdateAttempter()
728 processor_->EnqueueAction(action.get()); in UpdateAttempter()
1336 processor_->EnqueueAction(error_event_action.get()); in UpdateAttempter()
1338 processor_->StartProcessing(); in UpdateAttempter()
1348 base::Unretained(processor_.get()))); in UpdateAttempter()
[all …]
Dupdate_attempter_android.h140 std::unique_ptr<ActionProcessor> processor_; variable
Domaha_response_handler_action.cc52 ScopedActionCompleter completer(processor_, this); in PerformAction()
Dupdate_attempter.h411 std::unique_ptr<ActionProcessor> processor_; variable
Domaha_request_action.cc651 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
933 ScopedActionCompleter completer(processor_, this); in TransferComplete()
1058 ScopedActionCompleter completer(processor_, this); in CompleteProcessing()
Domaha_request_action_unittest.cc282 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc142 CHECK(processor_); in CancelWhenStarted()
143 processor_->StopProcessing(); in CancelWhenStarted()
165 ActionProcessor* processor_{nullptr}; member in chromeos_update_engine::PostinstallRunnerActionTest
173 processor_ = &processor; in RunPosinstallAction()
204 processor_ = nullptr; in RunPosinstallAction()
Ddownload_action_unittest.cc338 ActionProcessor* processor() { return processor_; } in processor()
478 processor_.set_delegate(&delegate); in StartDownload()
479 processor_.EnqueueAction(&feeder_action); in StartDownload()
480 processor_.EnqueueAction(download_action_.get()); in StartDownload()
501 ActionProcessor processor_; member in chromeos_update_engine::P2PDownloadActionTest
512 processor_.StartProcessing(); in StartProcessorInRunLoopForP2P()
Dfilesystem_verifier_action.cc51 ScopedActionCompleter abort_action_completer(processor_, this); in PerformAction()
89 processor_->ActionComplete(this, code); in Cleanup()
Ddownload_action.cc320 processor_->ActionComplete(this, code); in TransferComplete()
325 processor_->ActionComplete(this, code_); in TransferTerminated()
Dinstall_plan.h135 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
Dpostinstall_runner_action.cc339 ScopedActionCompleter completer(processor_, this); in CompletePostinstall()