/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_;
|
D | action_processor_unittest.cc | 48 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
|
D | test_utils.h | 223 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()
|
D | action_unittest.cc | 45 ActionProcessor* processor() { return processor_; } in processor()
|
D | utils.h | 370 : processor_(processor), in ScopedActionCompleter() 376 processor_->ActionComplete(action_, code_); in ~ScopedActionCompleter() 385 ActionProcessor* processor_;
|
/system/update_engine/ |
D | update_attempter_android.cc | 88 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()
|
D | update_attempter_unittest.cc | 145 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 …]
|
D | update_attempter.cc | 125 : 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 …]
|
D | update_attempter_android.h | 140 std::unique_ptr<ActionProcessor> processor_; variable
|
D | omaha_response_handler_action.cc | 52 ScopedActionCompleter completer(processor_, this); in PerformAction()
|
D | update_attempter.h | 411 std::unique_ptr<ActionProcessor> processor_; variable
|
D | omaha_request_action.cc | 651 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction() 933 ScopedActionCompleter completer(processor_, this); in TransferComplete() 1058 ScopedActionCompleter completer(processor_, this); in CompleteProcessing()
|
D | omaha_request_action_unittest.cc | 282 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action_unittest.cc | 142 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()
|
D | download_action_unittest.cc | 338 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()
|
D | filesystem_verifier_action.cc | 51 ScopedActionCompleter abort_action_completer(processor_, this); in PerformAction() 89 processor_->ActionComplete(this, code); in Cleanup()
|
D | download_action.cc | 320 processor_->ActionComplete(this, code); in TransferComplete() 325 processor_->ActionComplete(this, code_); in TransferTerminated()
|
D | install_plan.h | 135 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
|
D | postinstall_runner_action.cc | 339 ScopedActionCompleter completer(processor_, this); in CompletePostinstall()
|