Home
last modified time | relevance | path

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

12

/system/update_engine/aosp/
Dboot_control_android.h36 class BootControlAndroid final : public BootControlInterface {
47 BootControlInterface::Slot GetCurrentSlot() const override;
54 BootControlInterface::Slot slot,
59 BootControlInterface::Slot slot,
61 bool IsSlotBootable(BootControlInterface::Slot slot) const override;
62 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override;
63 bool SetActiveBootSlot(BootControlInterface::Slot slot) override;
65 bool IsSlotMarkedSuccessful(BootControlInterface::Slot slot) const override;
Dboot_control_android.cc38 using Slot = chromeos_update_engine::BootControlInterface::Slot;
52 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_attempter_android.h67 BootControlInterface* boot_control_,
218 BootControlInterface::Slot GetCurrentSlot() const;
219 BootControlInterface::Slot GetTargetSlot() const;
241 BootControlInterface* boot_control_;
Dcleanup_previous_update_action.h52 BootControlInterface* boot_control,
71 BootControlInterface* boot_control_;
Ddynamic_partition_control_android.cc343 LOG(WARNING) << "No metadata slot " << BootControlInterface::SlotName(slot) in LoadMetadataBuilder()
348 << BootControlInterface::SlotName(slot) << " in " << super_device; in LoadMetadataBuilder()
365 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder()
370 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder()
382 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
396 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
401 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
837 << BootControlInterface::SlotName(source_slot); in PrepareDynamicPartitionsForUpdate()
958 << BootControlInterface::SlotName(source_slot); in PrepareSnapshotPartitionsForUpdate()
1205 << BootControlInterface::SlotName(slot); in GetDynamicPartitionDevice()
[all …]
/system/update_engine/common/
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;
61 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()
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()
108 void SetCurrentSlot(BootControlInterface::Slot slot) { current_slot_ = slot; } in SetCurrentSlot()
111 BootControlInterface::Slot slot, in SetPartitionDevice()
117 void SetSlotBootable(BootControlInterface::Slot slot, bool bootable) { in SetSlotBootable()
146 BootControlInterface::Slot num_slots_{2};
[all …]
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),
Dboot_control_interface.h37 class BootControlInterface {
43 virtual ~BootControlInterface() = default;
124 BootControlInterface() = default;
127 DISALLOW_COPY_AND_ASSIGN(BootControlInterface);
Dboot_control_stub.cc33 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot()
39 BootControlInterface::Slot slot, in GetPartitionDevice()
Dsystem_state.h44 class BootControlInterface; variable
73 virtual BootControlInterface* boot_control() = 0;
Dboot_control.h30 std::unique_ptr<BootControlInterface> CreateBootControl();
Ddownload_action.h78 BootControlInterface* boot_control,
127 BootControlInterface* boot_control_;
Ddynamic_partition_control_interface.h57 class BootControlInterface; variable
125 BootControlInterface* boot_control,
/system/update_engine/payload_consumer/
Dinstall_plan.h54 bool LoadPartitionsFromSlots(BootControlInterface* boot_control);
57 BootControlInterface* boot_control,
66 BootControlInterface* boot_control,
71 BootControlInterface* boot_control,
105 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot};
106 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
Dpartition_update_generator_android.h36 PartitionUpdateGeneratorAndroid(BootControlInterface* boot_control,
40 BootControlInterface::Slot source_slot,
41 BootControlInterface::Slot target_slot,
62 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, size_t block_size) { in Create()
Dpartition_update_generator_interface.h42 BootControlInterface::Slot source_slot,
43 BootControlInterface::Slot target_slot,
50 BootControlInterface* boot_control, size_t block_size);
Dpartition_update_generator_stub.h32 BootControlInterface::Slot source_slot,
33 BootControlInterface::Slot target_slot,
Dpostinstall_runner_action.h39 class BootControlInterface; variable
43 PostinstallRunnerAction(BootControlInterface* boot_control,
130 BootControlInterface* boot_control_;
Dinstall_plan_unittest.cc34 .source_slot = BootControlInterface::kInvalidSlot, in TEST()
35 .target_slot = BootControlInterface::kInvalidSlot, in TEST()
Dinstall_plan.cc96 {"source_slot", BootControlInterface::SlotName(source_slot)}, in ToString()
97 {"target_slot", BootControlInterface::SlotName(target_slot)}, in ToString()
153 bool InstallPlan::LoadPartitionsFromSlots(BootControlInterface* boot_control) { in LoadPartitionsFromSlots()
156 if (source_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots()
164 if (target_slot != BootControlInterface::kInvalidSlot && in LoadPartitionsFromSlots()
231 BootControlInterface* boot_control, in ParseManifestToInstallPlan()
290 BootControlInterface* boot_control, in ParsePartitions()
299 BootControlInterface* boot_control, in ParsePartitions()
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()
Ddelta_performer.h46 class BootControlInterface; variable
70 BootControlInterface* boot_control,
189 BootControlInterface* boot_control,
190 BootControlInterface::Slot target_slot,
322 BootControlInterface* boot_control_;
/system/update_engine/
Dupdate_boot_flags_action.h28 explicit UpdateBootFlagsAction(BootControlInterface* boot_control) in UpdateBootFlagsAction()
56 BootControlInterface* boot_control_;

12