/aosp12/system/update_engine/cros/ |
H A D | boot_control_chromeos.h | 33 class BootControlChromeOS : public BootControlInterface { 47 BootControlInterface::Slot GetCurrentSlot() const override; 49 BootControlInterface::Slot slot, 54 BootControlInterface::Slot slot, 56 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 57 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 58 bool SetActiveBootSlot(BootControlInterface::Slot slot) override; 60 bool IsSlotMarkedSuccessful(BootControlInterface::Slot slot) const override; 81 BootControlInterface::Slot slot) const; 91 BootControlInterface::Slot num_slots_{1}; [all …]
|
H A D | boot_control_chromeos.cc | 89 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl() 135 current_slot_ = BootControlInterface::kInvalidSlot; in Init() 151 BootControlInterface::Slot BootControlChromeOS::GetCurrentSlot() const { in GetCurrentSlot() 181 BootControlInterface::Slot slot, in GetPartitionDevice() 217 BootControlInterface::Slot slot, in GetPartitionDevice() 344 const string partition_name, BootControlInterface::Slot slot) const { in GetPartitionNumber()
|
H A D | download_action_chromeos.h | 53 BootControlInterface* boot_control, 120 BootControlInterface* boot_control_;
|
/aosp12/system/update_engine/common/ |
H A D | fake_boot_control.h | 33 class FakeBootControl : public BootControlInterface { 45 BootControlInterface::Slot GetCurrentSlot() const override { in GetCurrentSlot() 50 BootControlInterface::Slot slot, in GetPartitionDevice() 69 BootControlInterface::Slot slot, in GetPartitionDevice() 74 bool IsSlotBootable(BootControlInterface::Slot slot) const override { in IsSlotBootable() 78 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override { in MarkSlotUnbootable() 107 void SetCurrentSlot(BootControlInterface::Slot slot) { current_slot_ = slot; } in SetCurrentSlot() 110 BootControlInterface::Slot slot, in SetPartitionDevice() 116 void SetSlotBootable(BootControlInterface::Slot slot, bool bootable) { in SetSlotBootable() 145 BootControlInterface::Slot num_slots_{2}; [all …]
|
H A D | boot_control_stub.h | 35 class BootControlStub : public BootControlInterface { 42 BootControlInterface::Slot GetCurrentSlot() const override; 49 BootControlInterface::Slot slot, 56 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 57 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 58 bool SetActiveBootSlot(BootControlInterface::Slot slot) override; 60 bool IsSlotMarkedSuccessful(BootControlInterface::Slot slot) const override;
|
H A D | mock_boot_control.h | 33 (BootControlInterface::Slot), 36 MOCK_METHOD(BootControlInterface::Slot, GetCurrentSlot, (), (const override)); 43 (const std::string&, BootControlInterface::Slot, std::string*), 52 (BootControlInterface::Slot), 56 (BootControlInterface::Slot), 60 (BootControlInterface::Slot),
|
H A D | boot_control_interface.h | 37 class BootControlInterface { 43 virtual ~BootControlInterface() = default; 119 BootControlInterface() = default; 122 DISALLOW_COPY_AND_ASSIGN(BootControlInterface);
|
H A D | boot_control_stub.cc | 33 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot() 39 BootControlInterface::Slot slot, in GetPartitionDevice()
|
H A D | system_state.h | 44 class BootControlInterface; variable 73 virtual BootControlInterface* boot_control() = 0;
|
/aosp12/system/update_engine/aosp/ |
H A D | boot_control_android.h | 35 class BootControlAndroid : public BootControlInterface { 46 BootControlInterface::Slot GetCurrentSlot() const override; 53 BootControlInterface::Slot slot, 58 BootControlInterface::Slot slot, 60 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 61 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 62 bool SetActiveBootSlot(BootControlInterface::Slot slot) override; 64 bool IsSlotMarkedSuccessful(BootControlInterface::Slot slot) const override;
|
H A D | boot_control_android.cc | 37 using Slot = chromeos_update_engine::BootControlInterface::Slot; 51 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl() 80 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot() 85 BootControlInterface::Slot slot, in GetPartitionDevice() 98 BootControlInterface::Slot slot, in GetPartitionDevice() 165 BootControlInterface::Slot slot) const { in IsSlotMarkedSuccessful()
|
H A D | update_attempter_android.h | 60 BootControlInterface* boot_control_, 184 BootControlInterface::Slot GetCurrentSlot() const; 185 BootControlInterface::Slot GetTargetSlot() const; 207 BootControlInterface* boot_control_;
|
H A D | dynamic_partition_control_android.cc | 332 << BootControlInterface::SlotName(slot) << " in " << super_device; in LoadMetadataBuilder() 349 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder() 354 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder() 366 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata() 380 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata() 385 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata() 818 << BootControlInterface::SlotName(source_slot); in PrepareDynamicPartitionsForUpdate() 939 << BootControlInterface::SlotName(source_slot); in PrepareSnapshotPartitionsForUpdate() 1186 << BootControlInterface::SlotName(slot); in GetDynamicPartitionDevice() 1259 << BootControlInterface::SlotName(source_slot) in DeleteSourcePartitions() [all …]
|
H A D | cleanup_previous_update_action.h | 52 BootControlInterface* boot_control, 71 BootControlInterface* boot_control_;
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | partition_update_generator_android.h | 36 PartitionUpdateGeneratorAndroid(BootControlInterface* boot_control, 40 BootControlInterface::Slot source_slot, 41 BootControlInterface::Slot target_slot, 62 BootControlInterface* boot_control_;
|
H A D | partition_update_generator_stub.cc | 24 chromeos_update_engine::BootControlInterface::Slot source_slot, in GenerateOperationsForPartitionsNotInPayload() 25 chromeos_update_engine::BootControlInterface::Slot target_slot, in GenerateOperationsForPartitionsNotInPayload() 33 BootControlInterface* boot_control, size_t block_size) { in Create()
|
H A D | install_plan.h | 53 bool LoadPartitionsFromSlots(BootControlInterface* boot_control); 85 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot}; 86 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
|
H A D | partition_update_generator_interface.h | 42 BootControlInterface::Slot source_slot, 43 BootControlInterface::Slot target_slot, 50 BootControlInterface* boot_control, size_t block_size);
|
H A D | install_plan.cc | 95 {"source_slot", BootControlInterface::SlotName(source_slot)}, in ToString() 96 {"target_slot", BootControlInterface::SlotName(target_slot)}, in ToString() 152 bool InstallPlan::LoadPartitionsFromSlots(BootControlInterface* boot_control) { in LoadPartitionsFromSlots() 155 if (source_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots() 163 if (target_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots()
|
H A D | delta_performer.h | 46 class BootControlInterface; variable 69 BootControlInterface* boot_control, in DeltaPerformer() 199 BootControlInterface* boot_control, 200 BootControlInterface::Slot target_slot, 334 BootControlInterface* boot_control_;
|
H A D | postinstall_runner_action.h | 39 class BootControlInterface; variable 43 PostinstallRunnerAction(BootControlInterface* boot_control, 127 BootControlInterface* boot_control_;
|
H A D | partition_update_generator_android.cc | 35 BootControlInterface* boot_control, size_t block_size) in PartitionUpdateGeneratorAndroid() 40 BootControlInterface::Slot source_slot, in GenerateOperationsForPartitionsNotInPayload() 41 BootControlInterface::Slot target_slot, in GenerateOperationsForPartitionsNotInPayload() 175 BootControlInterface* boot_control, size_t block_size) { in Create()
|
H A D | partition_update_generator_stub.h | 32 BootControlInterface::Slot source_slot, 33 BootControlInterface::Slot target_slot,
|
H A D | install_plan_unittest.cc | 34 .source_slot = BootControlInterface::kInvalidSlot, in TEST() 35 .target_slot = BootControlInterface::kInvalidSlot, in TEST()
|
/aosp12/system/update_engine/ |
H A D | update_boot_flags_action.h | 28 explicit UpdateBootFlagsAction(BootControlInterface* boot_control) in UpdateBootFlagsAction() 56 BootControlInterface* boot_control_;
|