Home
last modified time | relevance | path

Searched refs:boot_control_ (Results 1 – 25 of 25) 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.cc57 boot_control_ = boot_control::CreateBootControl(); in Initialize()
58 if (!boot_control_) { in Initialize()
61 boot_control_ = std::make_unique<BootControlStub>(); in Initialize()
209 std::make_unique<UpdateBootFlagsAction>(boot_control_.get()); in StartUpdater()
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()
677 boot_control_->GetDynamicPartitionControl()->Cleanup(); in TerminateUpdateAndNotify()
727 std::make_unique<UpdateBootFlagsAction>(boot_control_); in BuildUpdateActions()
729 boot_control_->GetDynamicPartitionControl() in BuildUpdateActions()
730 ->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_};
Dcleanup_previous_update_action.cc62 boot_control_(boot_control), in CleanupPreviousUpdateAction()
80 CHECK(boot_control_); in ResumeAction()
108 if (!boot_control_->GetDynamicPartitionControl() in StartActionInternal()
156 !boot_control_->IsSlotMarkedSuccessful(boot_control_->GetCurrentSlot())) { in CheckSlotMarkedSuccessfulOrSchedule()
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.h59 BootControlInterface* boot_control_,
205 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/payload_consumer/
Dpartition_update_generator_android_unittest.cc39 boot_control_ = std::make_unique<FakeBootControl>(); in SetUp()
40 boot_control_->SetNumSlots(2); in SetUp()
42 partition_update_generator::Create(boot_control_.get(), 4096); in SetUp()
45 ASSERT_TRUE(boot_control_); in SetUp()
51 std::unique_ptr<FakeBootControl> boot_control_; member in chromeos_update_engine::PartitionUpdateGeneratorAndroidTest
62 boot_control_->SetPartitionDevice( in SetUpBlockDevice()
65 boot_control_->SetPartitionDevice( in SetUpBlockDevice()
Dpostinstall_runner_action.h44 : boot_control_(boot_control), hardware_(hardware) {} in PostinstallRunnerAction()
124 BootControlInterface* boot_control_; variable
Dpartition_update_generator_android.cc43 : boot_control_(boot_control), in PartitionUpdateGeneratorAndroid()
132 if (!boot_control_->GetPartitionDevice(partition_name, in CreatePartitionUpdate()
142 if (!boot_control_->GetPartitionDevice(partition_name, in CreatePartitionUpdate()
Ddownload_action.cc49 boot_control_(boot_control), in DownloadAction()
196 if (!boot_control_->MarkSlotUnbootable(install_plan_.target_slot)) { in PerformAction()
241 boot_control_, in StartDownloading()
263 boot_control_, in StartDownloading()
Dpartition_update_generator_android.h69 BootControlInterface* boot_control_; variable
Ddelta_performer.h76 boot_control_(boot_control), in DeltaPerformer()
317 BootControlInterface* boot_control_; variable
Ddownload_action.h146 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.cc810 auto generator = partition_update_generator::Create(boot_control_, in ParseManifestPartitions()
825 if (!boot_control_->GetDynamicPartitionControl() in ParseManifestPartitions()
916 if (!install_plan_->LoadPartitionsFromSlots(boot_control_)) { in ParseManifestPartitions()
933 boot_control_, in PreparePartitionsForUpdate()
1116 const auto& partition_control = boot_control_->GetDynamicPartitionControl(); in PerformSourceCopyOperation()
/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()