/system/update_engine/ |
D | boot_control_chromeos.h | 31 class BootControlChromeOS : public BootControlInterface { 45 BootControlInterface::Slot GetCurrentSlot() const override; 47 BootControlInterface::Slot slot, 49 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 50 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 51 bool SetActiveBootSlot(BootControlInterface::Slot slot) override; 75 BootControlInterface::Slot slot) const; 78 BootControlInterface::Slot num_slots_{1}; 79 BootControlInterface::Slot current_slot_{BootControlInterface::kInvalidSlot};
|
D | boot_control_android.h | 35 class BootControlAndroid : public BootControlInterface { 46 BootControlInterface::Slot GetCurrentSlot() const override; 48 BootControlInterface::Slot slot, 50 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 51 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 52 bool SetActiveBootSlot(BootControlInterface::Slot slot) override;
|
D | dynamic_partition_control_android.cc | 182 if (target_slot != BootControlInterface::kInvalidSlot && in LoadMetadataBuilder() 193 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder() 198 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder() 210 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata() 224 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata() 229 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
|
D | update_boot_flags_action.h | 28 explicit UpdateBootFlagsAction(BootControlInterface* boot_control) in UpdateBootFlagsAction() 56 BootControlInterface* boot_control_;
|
D | boot_control_android.cc | 43 using Slot = chromeos_update_engine::BootControlInterface::Slot; 45 chromeos_update_engine::BootControlInterface::PartitionMetadata; 59 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl() 91 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot() 116 source_device, slot, BootControlInterface::kInvalidSlot); in IsSuperBlockDevice() 130 super_device, slot, BootControlInterface::kInvalidSlot); in GetDynamicPartitionDevice() 134 << BootControlInterface::SlotName(slot); in GetDynamicPartitionDevice() 147 << BootControlInterface::SlotName(current_slot) in GetDynamicPartitionDevice() 304 << BootControlInterface::SlotName(source_slot); in UpdatePartitionMetadata()
|
D | system_state.h | 37 class BootControlInterface; variable 67 virtual BootControlInterface* boot_control() = 0;
|
D | boot_control_chromeos.cc | 85 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl() 130 current_slot_ = BootControlInterface::kInvalidSlot; in Init() 144 BootControlInterface::Slot BootControlChromeOS::GetCurrentSlot() const { in GetCurrentSlot() 305 const string partition_name, BootControlInterface::Slot slot) const { in GetPartitionNumber()
|
D | update_attempter_android.h | 55 BootControlInterface* boot_control_, 163 BootControlInterface* boot_control_;
|
D | real_system_state.h | 84 inline BootControlInterface* boot_control() override { in boot_control() 148 std::unique_ptr<BootControlInterface> boot_control_;
|
D | fake_system_state.h | 51 BootControlInterface* boot_control() override { return boot_control_; } in boot_control() 111 void set_boot_control(BootControlInterface* boot_control) { in set_boot_control() 257 BootControlInterface* boot_control_{&fake_boot_control_};
|
D | daemon_state_android.h | 57 std::unique_ptr<BootControlInterface> boot_control_;
|
D | update_attempter.cc | 759 GetRollbackSlot() != BootControlInterface::kInvalidSlot); in CanRollback() 762 BootControlInterface::Slot UpdateAttempter::GetRollbackSlot() const { in GetRollbackSlot() 765 const BootControlInterface::Slot current_slot = in GetRollbackSlot() 770 << BootControlInterface::SlotName(current_slot); in GetRollbackSlot() 772 if (current_slot == BootControlInterface::kInvalidSlot || num_slots < 2) { in GetRollbackSlot() 774 return BootControlInterface::kInvalidSlot; in GetRollbackSlot() 777 vector<BootControlInterface::Slot> bootable_slots; in GetRollbackSlot() 778 for (BootControlInterface::Slot slot = 0; slot < num_slots; slot++) { in GetRollbackSlot() 782 << BootControlInterface::SlotName(slot); in GetRollbackSlot() 787 return BootControlInterface::kInvalidSlot; in GetRollbackSlot() [all …]
|
D | common_service.cc | 387 BootControlInterface::Slot rollback_slot = in GetRollbackPartition() 390 if (rollback_slot == BootControlInterface::kInvalidSlot) { in GetRollbackPartition()
|
/system/update_engine/common/ |
D | fake_boot_control.h | 31 class FakeBootControl : public BootControlInterface { 41 BootControlInterface::Slot GetCurrentSlot() const override { in GetCurrentSlot() 46 BootControlInterface::Slot slot, in GetPartitionDevice() 57 bool IsSlotBootable(BootControlInterface::Slot slot) const override { in IsSlotBootable() 61 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override { in MarkSlotUnbootable() 92 void SetCurrentSlot(BootControlInterface::Slot slot) { current_slot_ = slot; } in SetCurrentSlot() 95 BootControlInterface::Slot slot, in SetPartitionDevice() 101 void SetSlotBootable(BootControlInterface::Slot slot, bool bootable) { in SetSlotBootable() 107 BootControlInterface::Slot num_slots_{2}; 108 BootControlInterface::Slot current_slot_{0};
|
D | boot_control_stub.h | 33 class BootControlStub : public BootControlInterface { 40 BootControlInterface::Slot GetCurrentSlot() const override; 42 BootControlInterface::Slot slot, 44 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 45 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 46 bool SetActiveBootSlot(BootControlInterface::Slot slot) override;
|
D | boot_control_interface.h | 34 class BootControlInterface { 53 virtual ~BootControlInterface() = default; 119 BootControlInterface() = default; 122 DISALLOW_COPY_AND_ASSIGN(BootControlInterface);
|
D | boot_control.h | 30 std::unique_ptr<BootControlInterface> CreateBootControl();
|
D | boot_control_stub.cc | 29 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot()
|
/system/update_engine/payload_consumer/ |
D | install_plan.h | 52 bool LoadPartitionsFromSlots(BootControlInterface* boot_control); 81 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot}; 82 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
|
D | install_plan.cc | 85 << ", source_slot: " << BootControlInterface::SlotName(source_slot) in Dump() 86 << ", target_slot: " << BootControlInterface::SlotName(target_slot) in Dump() 98 bool InstallPlan::LoadPartitionsFromSlots(BootControlInterface* boot_control) { in LoadPartitionsFromSlots() 101 if (source_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots() 110 if (target_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots()
|
D | postinstall_runner_action.h | 36 class BootControlInterface; variable 40 PostinstallRunnerAction(BootControlInterface* boot_control, in PostinstallRunnerAction() 124 BootControlInterface* boot_control_;
|
D | download_action.h | 77 BootControlInterface* boot_control, 145 BootControlInterface* boot_control_;
|
D | delta_performer.h | 42 class BootControlInterface; variable 66 BootControlInterface* boot_control, in DeltaPerformer() 284 BootControlInterface* boot_control_;
|
D | download_action.cc | 43 BootControlInterface* boot_control, in DownloadAction() 202 << BootControlInterface::SlotName(install_plan_.target_slot) in PerformAction()
|
/system/update_engine/update_manager/ |
D | real_system_provider.h | 40 chromeos_update_engine::BootControlInterface* boot_control, in RealSystemProvider() 86 chromeos_update_engine::BootControlInterface* const boot_control_;
|