/aosp12/system/update_engine/aosp/ |
H A D | cleanup_previous_update_action_unittest.cc | 59 ON_CALL(boot_control_, GetDynamicPartitionControl()) in SetUp() 61 ON_CALL(boot_control_, GetCurrentSlot()).WillByDefault(Return(0)); in SetUp() 72 MockBootControl boot_control_; member in chromeos_update_engine::CleanupPreviousUpdateActionTest 79 &mock_prefs_, &boot_control_, &mock_snapshot_, &mock_delegate_}; 106 EXPECT_CALL(boot_control_, GetCurrentSlot()) in TEST_F() 109 EXPECT_CALL(boot_control_, IsSlotMarkedSuccessful(1)) in TEST_F() 143 EXPECT_CALL(boot_control_, IsSlotMarkedSuccessful(_)) in TEST_F()
|
H A D | daemon_state_android.cc | 31 boot_control_ = boot_control::CreateBootControl(); in Initialize() 32 if (!boot_control_) { in Initialize() 35 boot_control_.reset(new BootControlStub()); in Initialize() 70 boot_control_.get(), in Initialize()
|
H A D | update_attempter_android.cc | 139 boot_control_(boot_control), in UpdateAttempterAndroid() 512 if (!boot_control_->GetPartitionDevice( in VerifyPayloadApplicable() 701 boot_control_->GetDynamicPartitionControl()->Cleanup(); in TerminateUpdateAndNotify() 753 boot_control_->GetDynamicPartitionControl() in BuildUpdateActions() 758 boot_control_, in BuildUpdateActions() 765 boot_control_->GetDynamicPartitionControl()); in BuildUpdateActions() 893 const auto current_slot = boot_control_->GetCurrentSlot(); in UpdatePrefsAndReportUpdateMetricsOnReboot() 901 boot_control_->GetCurrentSlot()); in UpdatePrefsAndReportUpdateMetricsOnReboot() 932 boot_control_->GetCurrentSlot()); in UpdatePrefsAndReportUpdateMetricsOnReboot() 975 return boot_control_->GetCurrentSlot(); in GetCurrentSlot() [all …]
|
H A D | cleanup_previous_update_action.cc | 63 boot_control_(boot_control), in CleanupPreviousUpdateAction() 147 CHECK(boot_control_); in StartActionInternal() 152 if (!boot_control_->GetDynamicPartitionControl() in StartActionInternal() 208 !boot_control_->IsSlotMarkedSuccessful(boot_control_->GetCurrentSlot())) { in CheckSlotMarkedSuccessfulOrSchedule() 477 bool vab_retrofit = boot_control_->GetDynamicPartitionControl() in ReportMergeStats() 480 bool vab_compression_enabled = boot_control_->GetDynamicPartitionControl() in ReportMergeStats()
|
H A D | update_attempter_android_unittest.cc | 69 FakeBootControl boot_control_; member in chromeos_update_engine::UpdateAttempterAndroidTest 73 &daemon_state_, &prefs_, &boot_control_, &hardware_, nullptr}; 86 boot_control_.SetCurrentSlot(1); in TEST_F()
|
H A D | update_attempter_android.h | 60 BootControlInterface* boot_control_, 207 BootControlInterface* boot_control_; variable
|
H A D | daemon_state_android.h | 57 std::unique_ptr<BootControlInterface> boot_control_; variable
|
H A D | cleanup_previous_update_action.h | 71 BootControlInterface* boot_control_; variable
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | partition_update_generator_android_unittest.cc | 50 boot_control_ = std::make_unique<FakeBootControl>(); in SetUp() 51 ASSERT_TRUE(boot_control_); in SetUp() 52 boot_control_->SetNumSlots(2); in SetUp() 54 boot_control_.get(), 4096); in SetUp() 59 std::unique_ptr<FakeBootControl> boot_control_; member in chromeos_update_engine::PartitionUpdateGeneratorAndroidTest 73 boot_control_->SetPartitionDevice(prefix, 0, path); in SetUpBlockDevice() 77 boot_control_->SetPartitionDevice(prefix, 1, path); in SetUpBlockDevice()
|
H A D | postinstall_runner_action.cc | 58 : boot_control_(boot_control), hardware_(hardware) { in PostinstallRunnerAction() 72 CHECK(boot_control_); in PerformAction() 75 auto dynamic_control = boot_control_->GetDynamicPartitionControl(); in PerformAction() 371 if (!boot_control_->GetDynamicPartitionControl()->FinishUpdate( in Cleanup() 373 !boot_control_->SetActiveBootSlot(install_plan_.target_slot)) { in Cleanup() 386 auto dynamic_control = boot_control_->GetDynamicPartitionControl(); in Cleanup()
|
H A D | partition_update_generator_android.cc | 36 : boot_control_(boot_control), block_size_(block_size) {} in PartitionUpdateGeneratorAndroid() 66 boot_control_->GetPartitionDevice(partition_name, in GenerateOperationsForPartitionsNotInPayload() 73 TEST_AND_RETURN_FALSE(boot_control_->GetPartitionDevice( in GenerateOperationsForPartitionsNotInPayload()
|
H A D | delta_performer.h | 76 boot_control_(boot_control), in DeltaPerformer() 334 BootControlInterface* boot_control_; variable
|
H A D | delta_performer.cc | 242 auto dynamic_control = boot_control_->GetDynamicPartitionControl(); in OpenCurrentPartition() 659 auto generator = partition_update_generator::Create(boot_control_, in ParseManifestPartitions() 674 if (!boot_control_->GetDynamicPartitionControl() in ParseManifestPartitions() 676 boot_control_->GetCurrentSlot(), in ParseManifestPartitions() 766 if (!install_plan_->LoadPartitionsFromSlots(boot_control_)) { in ParseManifestPartitions() 783 boot_control_, in PreparePartitionsForUpdate() 1530 return boot_control_->GetDynamicPartitionControl()->IsDynamicPartition( in IsDynamicPartition()
|
H A D | partition_update_generator_android.h | 62 BootControlInterface* boot_control_; variable
|
H A D | postinstall_runner_action.h | 127 BootControlInterface* boot_control_; variable
|
/aosp12/system/core/fs_mgr/libsnapshot/ |
H A D | device_info.cpp | 65 if (!boot_control_) { in EnsureBootHal() 71 boot_control_ = android::hardware::boot::V1_1::IBootControl::castFrom(hal); in EnsureBootHal() 72 if (!boot_control_) { in EnsureBootHal() 86 if (!boot_control_->setSnapshotMergeStatus(status)) { 113 boot_control_->setSlotAsUnbootable(slot, cb);
|
H A D | device_info.h | 52 android::sp<android::hardware::boot::V1_1::IBootControl> boot_control_; variable
|
/aosp12/system/update_engine/ |
H A D | update_boot_flags_action_unittest.cc | 31 FakeBootControl boot_control_; member in chromeos_update_engine::UpdateBootFlagsActionTest 35 auto action = std::make_unique<UpdateBootFlagsAction>(&boot_control_); in TEST_F() 51 auto action1 = std::make_unique<UpdateBootFlagsAction>(&boot_control_); in TEST_F() 52 auto action2 = std::make_unique<UpdateBootFlagsAction>(&boot_control_); in TEST_F()
|
H A D | update_boot_flags_action.h | 29 : boot_control_(boot_control) {} in UpdateBootFlagsAction() 56 BootControlInterface* boot_control_; variable
|
H A D | download_action.cc | 46 boot_control_(boot_control), in DownloadAction() 85 if (!boot_control_->MarkSlotUnbootable(install_plan_.target_slot)) { in PerformAction() 130 boot_control_, in StartDownloading() 151 boot_control_, in StartDownloading()
|
H A D | update_boot_flags_action.cc | 46 if (!boot_control_->MarkBootSuccessfulAsync( in PerformAction()
|
/aosp12/system/update_engine/cros/ |
H A D | real_system_state.cc | 45 boot_control_ = boot_control::CreateBootControl(); in Initialize() 46 if (!boot_control_) { in Initialize() 49 boot_control_ = std::make_unique<BootControlStub>(); in Initialize()
|
H A D | fake_system_state.h | 62 BootControlInterface* boot_control() override { return boot_control_; } in boot_control() 123 boot_control_ = boot_control ? boot_control : &fake_boot_control_; in set_boot_control() 191 CHECK(boot_control_ == &fake_boot_control_); in fake_boot_control() 284 BootControlInterface* boot_control_{&fake_boot_control_};
|
H A D | download_action_chromeos.cc | 50 boot_control_(boot_control), in DownloadActionChromeos() 197 if (!boot_control_->MarkSlotUnbootable(install_plan_.target_slot)) { in PerformAction() 242 boot_control_, in StartDownloading() 264 boot_control_, in StartDownloading()
|
H A D | real_system_state.h | 71 BootControlInterface* boot_control() override { return boot_control_.get(); } in boot_control() 129 std::unique_ptr<BootControlInterface> boot_control_; variable
|