Home
last modified time | relevance | path

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

12

/aosp12/system/update_engine/cros/
H A 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 …]
H A Dboot_control_chromeos.cc89 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 Ddownload_action_chromeos.h53 BootControlInterface* boot_control,
120 BootControlInterface* boot_control_;
/aosp12/system/update_engine/common/
H A Dfake_boot_control.h33 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 Dboot_control_stub.h35 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 Dmock_boot_control.h33 (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 Dboot_control_interface.h37 class BootControlInterface {
43 virtual ~BootControlInterface() = default;
119 BootControlInterface() = default;
122 DISALLOW_COPY_AND_ASSIGN(BootControlInterface);
H A Dboot_control_stub.cc33 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot()
39 BootControlInterface::Slot slot, in GetPartitionDevice()
H A Dsystem_state.h44 class BootControlInterface; variable
73 virtual BootControlInterface* boot_control() = 0;
/aosp12/system/update_engine/aosp/
H A Dboot_control_android.h35 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 Dboot_control_android.cc37 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 Dupdate_attempter_android.h60 BootControlInterface* boot_control_,
184 BootControlInterface::Slot GetCurrentSlot() const;
185 BootControlInterface::Slot GetTargetSlot() const;
207 BootControlInterface* boot_control_;
H A Ddynamic_partition_control_android.cc332 << 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 Dcleanup_previous_update_action.h52 BootControlInterface* boot_control,
71 BootControlInterface* boot_control_;
/aosp12/system/update_engine/payload_consumer/
H A Dpartition_update_generator_android.h36 PartitionUpdateGeneratorAndroid(BootControlInterface* boot_control,
40 BootControlInterface::Slot source_slot,
41 BootControlInterface::Slot target_slot,
62 BootControlInterface* boot_control_;
H A 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, size_t block_size) { in Create()
H A Dinstall_plan.h53 bool LoadPartitionsFromSlots(BootControlInterface* boot_control);
85 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot};
86 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
H A Dpartition_update_generator_interface.h42 BootControlInterface::Slot source_slot,
43 BootControlInterface::Slot target_slot,
50 BootControlInterface* boot_control, size_t block_size);
H A Dinstall_plan.cc95 {"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 Ddelta_performer.h46 class BootControlInterface; variable
69 BootControlInterface* boot_control, in DeltaPerformer()
199 BootControlInterface* boot_control,
200 BootControlInterface::Slot target_slot,
334 BootControlInterface* boot_control_;
H A Dpostinstall_runner_action.h39 class BootControlInterface; variable
43 PostinstallRunnerAction(BootControlInterface* boot_control,
127 BootControlInterface* boot_control_;
H A Dpartition_update_generator_android.cc35 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 Dpartition_update_generator_stub.h32 BootControlInterface::Slot source_slot,
33 BootControlInterface::Slot target_slot,
H A Dinstall_plan_unittest.cc34 .source_slot = BootControlInterface::kInvalidSlot, in TEST()
35 .target_slot = BootControlInterface::kInvalidSlot, in TEST()
/aosp12/system/update_engine/
H A Dupdate_boot_flags_action.h28 explicit UpdateBootFlagsAction(BootControlInterface* boot_control) in UpdateBootFlagsAction()
56 BootControlInterface* boot_control_;

12