/system/update_engine/ |
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()
|
D | update_boot_flags_action.h | 29 : boot_control_(boot_control) {} in UpdateBootFlagsAction() 56 BootControlInterface* boot_control_; variable
|
D | download_action.cc | 47 boot_control_(boot_control), in DownloadAction() 87 if (!boot_control_->MarkSlotUnbootable(install_plan_.target_slot)) { in PerformAction() 132 boot_control_, in StartDownloading() 155 boot_control_, in StartDownloading()
|
D | update_boot_flags_action.cc | 46 if (!boot_control_->MarkBootSuccessfulAsync( in PerformAction()
|
/system/update_engine/aosp/ |
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()
|
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()
|
D | update_attempter_android_integration_test.cc | 61 dynamic_control_ = boot_control_.dynamic_control_.get(); in AddFakePartitionGroup() 66 super_device->value(), boot_control_.GetCurrentSlot()); in AddFakePartitionGroup() 100 ASSERT_TRUE(boot_control_.Init()); in SetUp() 131 auto dynamic_control = boot_control_.GetDynamicPartitionControl(); in TearDown() 143 boot_control_.GetCurrentSlot() == 0 ? "fake_a" : "fake_b", in CreateFakePartition() 152 boot_control_.GetCurrentSlot(), in CreateFakePartition() 153 boot_control_.GetCurrentSlot(), in CreateFakePartition() 176 super_device_, *metadata, boot_control_.GetCurrentSlot()); in ExportPartitionTable() 181 auto dynamic_control = boot_control_.GetDynamicPartitionControl(); in DynamicPartitionEnabled() 326 1 - boot_control_.GetCurrentSlot(), in DumpTargetPartitionDiff() [all …]
|
D | update_attempter_android.cc | 140 boot_control_(boot_control), in UpdateAttempterAndroid() 146 boot_control_->GetDynamicPartitionControl(), &install_plan_); in UpdateAttempterAndroid() 266 boot_control_->GetDynamicPartitionControl()->Cleanup(); in ApplyPayload() 424 if (!boot_control_->GetDynamicPartitionControl()->ResetUpdate(prefs_)) { in ResetStatus() 531 if (!boot_control_->GetPartitionDevice( in VerifyPayloadApplicable() 724 boot_control_->GetDynamicPartitionControl()->Cleanup(); in TerminateUpdateAndNotify() 773 std::make_unique<UpdateBootFlagsAction>(boot_control_); in BuildUpdateActions() 775 boot_control_->GetDynamicPartitionControl() in BuildUpdateActions() 776 ->GetCleanupPreviousUpdateAction(boot_control_, prefs_, this); in BuildUpdateActions() 780 boot_control_, in BuildUpdateActions() [all …]
|
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() 487 bool vab_retrofit = boot_control_->GetDynamicPartitionControl() in ReportMergeStats() 490 bool vab_compression_enabled = boot_control_->GetDynamicPartitionControl() in ReportMergeStats()
|
D | update_attempter_android_unittest.cc | 95 FakeBootControl boot_control_; member in chromeos_update_engine::UpdateAttempterAndroidTest 99 &daemon_state_, &prefs_, &boot_control_, &hardware_, nullptr}; 114 boot_control_.SetCurrentSlot(1); in TEST_F()
|
D | daemon_state_android.h | 57 std::unique_ptr<BootControlInterface> boot_control_; variable
|
D | update_attempter_android.h | 67 BootControlInterface* boot_control_, 241 BootControlInterface* boot_control_; variable
|
D | cleanup_previous_update_action.h | 71 BootControlInterface* boot_control_; variable
|
/system/update_engine/payload_consumer/ |
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()
|
D | postinstall_runner_action.cc | 85 : boot_control_(boot_control), hardware_(hardware) { in PostinstallRunnerAction() 107 CHECK(boot_control_); in PerformAction() 110 auto dynamic_control = boot_control_->GetDynamicPartitionControl(); in PerformAction() 436 if (!boot_control_->GetDynamicPartitionControl()->FinishUpdate( in Cleanup() 438 !boot_control_->SetActiveBootSlot(install_plan_.target_slot)) { in Cleanup() 451 auto dynamic_control = boot_control_->GetDynamicPartitionControl(); in Cleanup()
|
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()
|
D | partition_update_generator_android.h | 62 BootControlInterface* boot_control_; variable
|
D | delta_performer.h | 78 boot_control_(boot_control), in prefs_() 322 BootControlInterface* boot_control_; variable
|
D | postinstall_runner_action.h | 130 BootControlInterface* boot_control_; variable
|
D | delta_performer.cc | 240 auto dynamic_control = boot_control_->GetDynamicPartitionControl(); in OpenCurrentPartition() 660 auto generator = partition_update_generator::Create(boot_control_, in ParseManifestPartitions() 675 if (!boot_control_->GetDynamicPartitionControl() in ParseManifestPartitions() 677 boot_control_->GetCurrentSlot(), in ParseManifestPartitions() 692 partitions_, boot_control_, block_size_, error)) { in ParseManifestPartitions() 708 boot_control_, in PreparePartitionsForUpdate() 1409 return boot_control_->GetDynamicPartitionControl()->IsDynamicPartition( in IsDynamicPartition()
|
/system/core/fs_mgr/libsnapshot/ |
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)) { in SetBootControlMergeStatus() 113 boot_control_->setSlotAsUnbootable(slot, cb); in SetSlotAsUnbootable()
|
D | device_info.h | 53 android::sp<android::hardware::boot::V1_1::IBootControl> boot_control_; variable
|
/system/update_engine/common/ |
D | download_action.h | 127 BootControlInterface* boot_control_; variable
|