/system/update_engine/common/ |
D | action.h | 85 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()
|
D | action_processor_unittest.cc | 49 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
|
D | test_utils.h | 184 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()
|
D | action_unittest.cc | 48 ActionProcessor* processor() { return processor_; } in processor()
|
D | utils.h | 508 : processor_(processor), in ScopedActionCompleter() 512 CHECK(processor_); in ScopedActionCompleter() 516 processor_->ActionComplete(action_, code_); in ~ScopedActionCompleter() 525 ActionProcessor* processor_;
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action_unittest.cc | 194 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 …]
|
D | postinstall_runner_action_unittest.cc | 150 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()
|
D | install_plan.h | 231 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
|
D | filesystem_verifier_action.cc | 90 ScopedActionCompleter abort_action_completer(processor_, this); in PerformAction() 160 processor_->ActionComplete(this, code); in Cleanup()
|
D | postinstall_runner_action.cc | 457 ScopedActionCompleter completer(processor_, this); in Cleanup()
|
/system/update_engine/ |
D | update_boot_flags_action.cc | 32 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction() 37 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction() 80 processor_->ActionComplete(this, ErrorCode::kSuccess); in CompleteUpdateBootFlags()
|
D | download_action.cc | 272 processor_->ActionComplete(this, code); in TransferComplete() 277 processor_->ActionComplete(this, code_); in TransferTerminated()
|
/system/update_engine/aosp/ |
D | cleanup_previous_update_action.cc | 122 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 …]
|
D | update_attempter_android.cc | 147 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 …]
|
D | update_attempter_android.h | 254 std::unique_ptr<ActionProcessor> processor_; variable
|
D | update_attempter_android_unittest.cc | 70 update_attempter_android_.processor_.reset( in SetUp()
|