/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; 71 BootControlInterface::Slot slot) const; 74 BootControlInterface::Slot num_slots_{1}; 75 BootControlInterface::Slot current_slot_{BootControlInterface::kInvalidSlot};
|
D | boot_control_recovery.h | 33 class BootControlRecovery : public BootControlInterface { 44 BootControlInterface::Slot GetCurrentSlot() const override; 46 BootControlInterface::Slot slot, 48 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 49 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 50 bool SetActiveBootSlot(BootControlInterface::Slot slot) override;
|
D | boot_control_android.h | 30 class BootControlAndroid : public BootControlInterface { 41 BootControlInterface::Slot GetCurrentSlot() const override; 43 BootControlInterface::Slot slot, 45 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 46 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 47 bool SetActiveBootSlot(BootControlInterface::Slot slot) override;
|
D | system_state.h | 39 class BootControlInterface; variable 67 virtual BootControlInterface* boot_control() = 0;
|
D | boot_control_chromeos.cc | 78 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl() 124 current_slot_ = BootControlInterface::kInvalidSlot; in Init() 138 BootControlInterface::Slot BootControlChromeOS::GetCurrentSlot() const { in GetCurrentSlot() 280 BootControlInterface::Slot slot) const { in GetPartitionNumber()
|
D | update_attempter_android.h | 52 BootControlInterface* boot_control_, 124 BootControlInterface* boot_control_;
|
D | fake_system_state.h | 50 BootControlInterface* boot_control() override { return boot_control_; } in boot_control() 107 void set_boot_control(BootControlInterface* boot_control) { in set_boot_control() 248 BootControlInterface* boot_control_{&fake_boot_control_};
|
D | boot_control_recovery.cc | 46 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl() 89 BootControlInterface::Slot BootControlRecovery::GetCurrentSlot() const { in GetCurrentSlot()
|
D | real_system_state.h | 83 inline BootControlInterface* boot_control() override { in boot_control() 141 std::unique_ptr<BootControlInterface> boot_control_;
|
D | update_attempter.cc | 743 GetRollbackSlot() != BootControlInterface::kInvalidSlot); in UpdateAttempter() 746 BootControlInterface::Slot UpdateAttempter::GetRollbackSlot() const { in UpdateAttempter() 749 const BootControlInterface::Slot current_slot = in UpdateAttempter() 754 << BootControlInterface::SlotName(current_slot); in UpdateAttempter() 756 if (current_slot == BootControlInterface::kInvalidSlot || num_slots < 2) { in UpdateAttempter() 758 return BootControlInterface::kInvalidSlot; in UpdateAttempter() 761 vector<BootControlInterface::Slot> bootable_slots; in UpdateAttempter() 762 for (BootControlInterface::Slot slot = 0; slot < num_slots; slot++) { in UpdateAttempter() 766 << BootControlInterface::SlotName(slot); in UpdateAttempter() 771 return BootControlInterface::kInvalidSlot; in UpdateAttempter() [all …]
|
D | daemon_state_android.h | 57 std::unique_ptr<BootControlInterface> boot_control_;
|
D | boot_control_android.cc | 48 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl() 74 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot()
|
D | common_service.cc | 331 BootControlInterface::Slot rollback_slot = in GetRollbackPartition() 334 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() 84 void SetCurrentSlot(BootControlInterface::Slot slot) { in SetCurrentSlot() 89 BootControlInterface::Slot slot, in SetPartitionDevice() 95 void SetSlotBootable(BootControlInterface::Slot slot, bool bootable) { in SetSlotBootable() 101 BootControlInterface::Slot num_slots_{2}; 102 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 | 32 class BootControlInterface { 38 virtual ~BootControlInterface() = default; 90 BootControlInterface() = default; 93 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); 79 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot}; 80 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
|
D | install_plan.cc | 78 << ", source_slot: " << BootControlInterface::SlotName(source_slot) in Dump() 79 << ", target_slot: " << BootControlInterface::SlotName(target_slot) in Dump() 86 bool InstallPlan::LoadPartitionsFromSlots(BootControlInterface* boot_control) { in LoadPartitionsFromSlots() 89 if (source_slot != BootControlInterface::kInvalidSlot) { in LoadPartitionsFromSlots() 96 if (target_slot != BootControlInterface::kInvalidSlot) { in LoadPartitionsFromSlots()
|
D | postinstall_runner_action.h | 36 class BootControlInterface; variable 40 PostinstallRunnerAction(BootControlInterface* boot_control, in PostinstallRunnerAction() 125 BootControlInterface* boot_control_;
|
D | download_action.h | 78 BootControlInterface* boot_control, 148 BootControlInterface* boot_control_;
|
D | delta_performer.h | 40 class BootControlInterface; variable 78 BootControlInterface* boot_control, in DeltaPerformer() 298 BootControlInterface* boot_control_;
|
D | download_action.cc | 43 BootControlInterface* boot_control, in DownloadAction() 198 << 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() 80 chromeos_update_engine::BootControlInterface* const boot_control_;
|