Home
last modified time | relevance | path

Searched refs:processor_ (Results 1 – 16 of 16) 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_;
230 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
Daction_processor_unittest.cc49 ActionProcessor* processor() { return processor_; } in processor()
62 : processor_(processor), in MyActionProcessorDelegate()
70 EXPECT_EQ(processor_, processor); in ProcessingDone()
75 EXPECT_EQ(processor_, processor); in ProcessingStopped()
82 EXPECT_EQ(processor_, processor); in ActionCompleted()
88 const ActionProcessor* processor_; member in chromeos_update_engine::__anon400e3aa70111::MyActionProcessorDelegate
Dtest_utils.h184 CHECK(this->processor_); in PerformAction()
188 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
217 ASSERT_TRUE(this->processor_); in PerformAction()
221 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
Daction_unittest.cc48 ActionProcessor* processor() { return processor_; } in processor()
Dutils.h508 : processor_(processor), in ScopedActionCompleter()
512 CHECK(processor_); in ScopedActionCompleter()
516 processor_->ActionComplete(action_, code_); in ~ScopedActionCompleter()
525 ActionProcessor* processor_;
/system/update_engine/payload_consumer/
Dfilesystem_verifier_action_unittest.cc194 ActionProcessor processor_; member in chromeos_update_engine::FilesystemVerifierActionTest
304 processor_.set_delegate(&delegate); in DoTest()
307 base::Unretained(&processor_))); in DoTest()
310 base::Unretained(&processor_))); in DoTest()
360 processor_.EnqueueAction(std::move(feeder_action)); in BuildActions()
361 processor_.EnqueueAction(std::move(verifier_action)); in BuildActions()
362 processor_.EnqueueAction(std::move(collector_action)); in BuildActions()
392 processor_.EnqueueAction(std::move(copier_action)); in TEST_F()
393 processor_.EnqueueAction(std::move(collector_action)); in TEST_F()
396 processor_.set_delegate(&delegate); in TEST_F()
[all …]
Dpostinstall_runner_action_unittest.cc150 CHECK(processor_); in CancelWhenStarted()
157 base::Unretained(processor_)), in CancelWhenStarted()
185 ActionProcessor* processor_{nullptr}; member in chromeos_update_engine::PostinstallRunnerActionTest
212 processor_ = &processor; in RunPostinstallActionWithInstallPlan()
239 processor_ = nullptr; in RunPostinstallActionWithInstallPlan()
Dinstall_plan.h231 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
Dfilesystem_verifier_action.cc90 ScopedActionCompleter abort_action_completer(processor_, this); in PerformAction()
160 processor_->ActionComplete(this, code); in Cleanup()
Dpostinstall_runner_action.cc457 ScopedActionCompleter completer(processor_, this); in Cleanup()
/system/update_engine/
Dupdate_boot_flags_action.cc32 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
37 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
80 processor_->ActionComplete(this, ErrorCode::kSuccess); in CompleteUpdateBootFlags()
Ddownload_action.cc272 processor_->ActionComplete(this, code); in TransferComplete()
277 processor_->ActionComplete(this, code_); in TransferTerminated()
/system/update_engine/aosp/
Dcleanup_previous_update_action.cc122 processor_->ActionComplete(this, ErrorCode::kError); in CheckTaskScheduled()
155 processor_->ActionComplete(this, ErrorCode::kSuccess); in StartActionInternal()
221 processor_->ActionComplete( in CheckSlotMarkedSuccessfulOrSchedule()
250 processor_->ActionComplete(this, ErrorCode::kError); in CheckSlotMarkedSuccessfulOrSchedule()
303 processor_->ActionComplete(this, error_code); in WaitForMergeOrSchedule()
309 processor_->ActionComplete(this, ErrorCode::kSuccess); in WaitForMergeOrSchedule()
325 processor_->ActionComplete(this, ErrorCode::kError); in WaitForMergeOrSchedule()
332 processor_->ActionComplete(this, ErrorCode::kSuccess); in WaitForMergeOrSchedule()
339 processor_->ActionComplete(this, ErrorCode::kDeviceCorrupted); in WaitForMergeOrSchedule()
349 processor_->ActionComplete(this, error_code); in WaitForMergeOrSchedule()
[all …]
Dupdate_attempter_android.cc147 processor_(new ActionProcessor()), in UpdateAttempterAndroid()
159 processor_->set_delegate(nullptr); in ~UpdateAttempterAndroid()
225 if (processor_->IsRunning()) { in ApplyPayload()
390 if (processor_->IsRunning()) { in ApplyPayload()
404 if (!processor_->IsRunning()) in SuspendUpdate()
406 processor_->SuspendProcessing(); in SuspendUpdate()
411 if (!processor_->IsRunning()) in ResumeUpdate()
413 processor_->ResumeProcessing(); in ResumeUpdate()
418 if (!processor_->IsRunning()) in CancelUpdate()
420 processor_->StopProcessing(); in CancelUpdate()
[all …]
Dupdate_attempter_android.h254 std::unique_ptr<ActionProcessor> processor_; variable
Dupdate_attempter_android_unittest.cc70 update_attempter_android_.processor_.reset( in SetUp()