Home
last modified time | relevance | path

Searched refs:boot_control_ (Results 1 – 22 of 22) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Ddevice_info.cpp67 if (!boot_control_) { in EnsureBootHal()
73 boot_control_ = android::hardware::boot::V1_1::IBootControl::castFrom(hal); in EnsureBootHal()
74 if (!boot_control_) { in EnsureBootHal()
88 if (!boot_control_->setSnapshotMergeStatus(status)) { in SetBootControlMergeStatus()
111 boot_control_->setSlotAsUnbootable(slot, cb); in SetSlotAsUnbootable()
Ddevice_info.h48 android::sp<android::hardware::boot::V1_1::IBootControl> boot_control_; variable
/system/update_engine/
Ddaemon_state_android.cc30 boot_control_ = boot_control::CreateBootControl(); in Initialize()
31 if (!boot_control_) { in Initialize()
34 boot_control_.reset(new BootControlStub()); in Initialize()
68 this, prefs_.get(), boot_control_.get(), hardware_.get())); in Initialize()
Dupdate_boot_flags_action.h29 : boot_control_(boot_control) {} in UpdateBootFlagsAction()
56 BootControlInterface* boot_control_; variable
Dreal_system_state.cc59 boot_control_ = boot_control::CreateBootControl(); in Initialize()
60 if (!boot_control_) { in Initialize()
63 boot_control_ = std::make_unique<BootControlStub>(); in Initialize()
212 std::make_unique<UpdateBootFlagsAction>(boot_control_.get()); in StartUpdater()
Dcleanup_previous_update_action.cc62 boot_control_(boot_control), in CleanupPreviousUpdateAction()
80 CHECK(boot_control_); in ResumeAction()
108 if (!boot_control_->GetDynamicPartitionControl() in StartActionInternal()
154 !boot_control_->IsSlotMarkedSuccessful(boot_control_->GetCurrentSlot())) { in CheckSlotMarkedSuccessfulOrSchedule()
406 bool vab_retrofit = boot_control_->GetDynamicPartitionControl() in ReportMergeStats()
Dupdate_attempter_android.cc139 boot_control_(boot_control), in UpdateAttempterAndroid()
354 if (!boot_control_->GetDynamicPartitionControl()->ResetUpdate(prefs_)) { in ResetStatus()
365 if (!boot_control_->SetActiveBootSlot(GetCurrentSlot())) in ResetStatus()
371 if (!boot_control_->MarkBootSuccessfulAsync(Bind([](bool successful) {}))) in ResetStatus()
378 if (!boot_control_->GetDynamicPartitionControl()->ResetUpdate(prefs_)) in ResetStatus()
488 if (!boot_control_->GetPartitionDevice( in VerifyPayloadApplicable()
669 boot_control_->GetDynamicPartitionControl()->Cleanup(); in TerminateUpdateAndNotify()
719 std::make_unique<UpdateBootFlagsAction>(boot_control_); in BuildUpdateActions()
721 boot_control_->GetDynamicPartitionControl() in BuildUpdateActions()
722 ->GetCleanupPreviousUpdateAction(boot_control_, prefs_, this); in BuildUpdateActions()
[all …]
Dfake_system_state.h51 BootControlInterface* boot_control() override { return boot_control_; } in boot_control()
112 boot_control_ = boot_control ? boot_control : &fake_boot_control_; in set_boot_control()
180 CHECK(boot_control_ == &fake_boot_control_); in fake_boot_control()
257 BootControlInterface* boot_control_{&fake_boot_control_};
Dreal_system_state.h85 return boot_control_.get(); in boot_control()
148 std::unique_ptr<BootControlInterface> boot_control_; variable
Dupdate_boot_flags_action.cc46 if (!boot_control_->MarkBootSuccessfulAsync( in PerformAction()
Ddaemon_state_android.h57 std::unique_ptr<BootControlInterface> boot_control_; variable
Dupdate_attempter_android.h57 BootControlInterface* boot_control_,
200 BootControlInterface* boot_control_; variable
Dcleanup_previous_update_action.h69 BootControlInterface* boot_control_; variable
Dupdate_attempter_android_unittest.cc67 &daemon_state_, &prefs_, &boot_control_, &hardware_};
71 FakeBootControl boot_control_; member in chromeos_update_engine::UpdateAttempterAndroidTest
/system/update_engine/update_manager/
Dreal_system_provider.h44 boot_control_(boot_control), in RealSystemProvider()
48 boot_control_(boot_control) {
86 chromeos_update_engine::BootControlInterface* const boot_control_; variable
Dreal_system_provider.cc111 "num_slots", boot_control_->GetNumSlots())); in Init()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.h42 : boot_control_(boot_control), hardware_(hardware) {} in PostinstallRunnerAction()
124 BootControlInterface* boot_control_; variable
Ddownload_action.cc49 boot_control_(boot_control), in DownloadAction()
200 if (!boot_control_->MarkSlotUnbootable(install_plan_.target_slot)) { in PerformAction()
248 boot_control_, in StartDownloading()
Ddelta_performer.h76 boot_control_(boot_control), in DeltaPerformer()
322 BootControlInterface* boot_control_; variable
Ddownload_action.h145 BootControlInterface* boot_control_; variable
Dpostinstall_runner_action.cc344 if (!boot_control_->GetDynamicPartitionControl()->FinishUpdate( in CompletePostinstall()
346 !boot_control_->SetActiveBootSlot(install_plan_.target_slot)) { in CompletePostinstall()
Ddelta_performer.cc940 if (!install_plan_->LoadPartitionsFromSlots(boot_control_)) { in ParseManifestPartitions()
957 boot_control_, in PreparePartitionsForUpdate()
1199 const auto& partition_control = boot_control_->GetDynamicPartitionControl(); in PerformSourceCopyOperation()