Home
last modified time | relevance | path

Searched refs:BootControlInterface (Results 1 – 25 of 43) sorted by relevance

12

/system/update_engine/
Dboot_control_chromeos.h33 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 …]
Dboot_control_android.h35 class BootControlAndroid : public BootControlInterface {
46 BootControlInterface::Slot GetCurrentSlot() const override;
48 BootControlInterface::Slot slot,
53 BootControlInterface::Slot slot,
55 bool IsSlotBootable(BootControlInterface::Slot slot) const override;
56 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override;
57 bool SetActiveBootSlot(BootControlInterface::Slot slot) override;
59 bool IsSlotMarkedSuccessful(BootControlInterface::Slot slot) const override;
Dboot_control_android.cc39 using Slot = chromeos_update_engine::BootControlInterface::Slot;
53 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl()
81 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot()
86 BootControlInterface::Slot slot, in GetPartitionDevice()
99 BootControlInterface::Slot slot, in GetPartitionDevice()
166 BootControlInterface::Slot slot) const { in IsSlotMarkedSuccessful()
Dupdate_boot_flags_action.h28 explicit UpdateBootFlagsAction(BootControlInterface* boot_control) in UpdateBootFlagsAction()
56 BootControlInterface* boot_control_;
Dupdate_attempter_android.h59 BootControlInterface* boot_control_,
182 BootControlInterface::Slot GetCurrentSlot() const;
183 BootControlInterface::Slot GetTargetSlot() const;
205 BootControlInterface* boot_control_;
Dboot_control_chromeos.cc89 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl()
134 current_slot_ = BootControlInterface::kInvalidSlot; in Init()
150 BootControlInterface::Slot BootControlChromeOS::GetCurrentSlot() const { in GetCurrentSlot()
180 BootControlInterface::Slot slot, in GetPartitionDevice()
216 BootControlInterface::Slot slot, in GetPartitionDevice()
343 const string partition_name, BootControlInterface::Slot slot) const { in GetPartitionNumber()
Dsystem_state.h37 class BootControlInterface; variable
67 virtual BootControlInterface* boot_control() = 0;
Dcleanup_previous_update_action.h51 BootControlInterface* boot_control,
69 BootControlInterface* boot_control_;
/system/update_engine/common/
Dboot_control_stub.h35 class BootControlStub : public BootControlInterface {
42 BootControlInterface::Slot GetCurrentSlot() const override;
49 BootControlInterface::Slot slot,
51 bool IsSlotBootable(BootControlInterface::Slot slot) const override;
52 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override;
53 bool SetActiveBootSlot(BootControlInterface::Slot slot) override;
55 bool IsSlotMarkedSuccessful(BootControlInterface::Slot slot) const override;
Dfake_boot_control.h33 class FakeBootControl : public BootControlInterface {
45 BootControlInterface::Slot GetCurrentSlot() const override { in GetCurrentSlot()
50 BootControlInterface::Slot slot, in GetPartitionDevice()
64 BootControlInterface::Slot slot, in GetPartitionDevice()
69 bool IsSlotBootable(BootControlInterface::Slot slot) const override { in IsSlotBootable()
73 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override { in MarkSlotUnbootable()
102 void SetCurrentSlot(BootControlInterface::Slot slot) { current_slot_ = slot; } in SetCurrentSlot()
105 BootControlInterface::Slot slot, in SetPartitionDevice()
111 void SetSlotBootable(BootControlInterface::Slot slot, bool bootable) { in SetSlotBootable()
121 BootControlInterface::Slot num_slots_{2};
[all …]
Dboot_control_interface.h37 class BootControlInterface {
43 virtual ~BootControlInterface() = default;
114 BootControlInterface() = default;
117 DISALLOW_COPY_AND_ASSIGN(BootControlInterface);
Dboot_control_stub.cc33 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot()
39 BootControlInterface::Slot slot, in GetPartitionDevice()
Ddynamic_partition_control_interface.h44 class BootControlInterface; variable
106 BootControlInterface* boot_control,
Dboot_control.h30 std::unique_ptr<BootControlInterface> CreateBootControl();
/system/update_engine/payload_consumer/
Dpartition_update_generator_android.h35 PartitionUpdateGeneratorAndroid(BootControlInterface* boot_control,
40 BootControlInterface::Slot source_slot,
41 BootControlInterface::Slot target_slot,
63 BootControlInterface::Slot source_slot,
64 BootControlInterface::Slot target_slot);
69 BootControlInterface* boot_control_;
Dpartition_update_generator_stub.cc24 chromeos_update_engine::BootControlInterface::Slot source_slot, in GenerateOperationsForPartitionsNotInPayload()
25 chromeos_update_engine::BootControlInterface::Slot target_slot, in GenerateOperationsForPartitionsNotInPayload()
33 BootControlInterface* boot_control) { in Create()
Dpartition_update_generator_interface.h42 BootControlInterface::Slot source_slot,
43 BootControlInterface::Slot target_slot,
50 BootControlInterface* boot_control, size_t block_size);
Dinstall_plan.h52 bool LoadPartitionsFromSlots(BootControlInterface* boot_control);
83 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot};
84 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
Dpartition_update_generator_stub.h32 BootControlInterface::Slot source_slot,
33 BootControlInterface::Slot target_slot,
Dinstall_plan.cc99 << ", source_slot: " << BootControlInterface::SlotName(source_slot) in Dump()
100 << ", target_slot: " << BootControlInterface::SlotName(target_slot) in Dump()
112 bool InstallPlan::LoadPartitionsFromSlots(BootControlInterface* boot_control) { in LoadPartitionsFromSlots()
115 if (source_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots()
124 if (target_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots()
Dpostinstall_runner_action.h38 class BootControlInterface; variable
42 PostinstallRunnerAction(BootControlInterface* boot_control, in PostinstallRunnerAction()
124 BootControlInterface* boot_control_;
Dpartition_update_generator_android.cc40 BootControlInterface* boot_control, in PartitionUpdateGeneratorAndroid()
49 BootControlInterface::Slot source_slot, in GenerateOperationsForPartitionsNotInPayload()
50 BootControlInterface::Slot target_slot, in GenerateOperationsForPartitionsNotInPayload()
128 BootControlInterface::Slot source_slot, in CreatePartitionUpdate()
129 BootControlInterface::Slot target_slot) { in CreatePartitionUpdate()
226 BootControlInterface* boot_control, size_t block_size) { in Create()
Ddelta_performer.h45 class BootControlInterface; variable
69 BootControlInterface* boot_control, in DeltaPerformer()
201 BootControlInterface* boot_control,
202 BootControlInterface::Slot target_slot,
317 BootControlInterface* boot_control_;
Ddownload_action.h77 BootControlInterface* boot_control,
146 BootControlInterface* boot_control_;
/system/update_engine/update_manager/
Dreal_system_provider.h40 chromeos_update_engine::BootControlInterface* boot_control, in RealSystemProvider()
86 chromeos_update_engine::BootControlInterface* const boot_control_;

12