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.cc32 using Slot = chromeos_update_engine::BootControlInterface::Slot;
43 std::unique_ptr<BootControlInterface> CreateBootControl() { in CreateBootControl()
76 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot()
81 BootControlInterface::Slot slot, in GetPartitionDevice()
94 BootControlInterface::Slot slot, in GetPartitionDevice()
147 BootControlInterface::Slot slot) const { in IsSlotMarkedSuccessful()
Dupdate_attempter_android.h67 BootControlInterface* boot_control_,
218 BootControlInterface::Slot GetCurrentSlot() const;
219 BootControlInterface::Slot GetTargetSlot() const;
249 BootControlInterface* boot_control_;
Dcleanup_previous_update_action.h52 BootControlInterface* boot_control,
71 BootControlInterface* boot_control_;
Ddynamic_partition_control_android.cc348 LOG(WARNING) << "No metadata slot " << BootControlInterface::SlotName(slot) in LoadMetadataBuilder()
353 << BootControlInterface::SlotName(slot) << " in " << super_device; in LoadMetadataBuilder()
370 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder()
375 << BootControlInterface::SlotName(source_slot) << " in " in LoadMetadataBuilder()
387 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
401 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
406 << BootControlInterface::SlotName(target_slot) << " in " in StoreMetadata()
847 << BootControlInterface::SlotName(source_slot); in PrepareDynamicPartitionsForUpdate()
969 << BootControlInterface::SlotName(source_slot); in PrepareSnapshotPartitionsForUpdate()
1216 << 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);
Dsystem_state.h44 class BootControlInterface; variable
73 virtual BootControlInterface* boot_control() = 0;
Dboot_control_stub.cc33 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot()
39 BootControlInterface::Slot slot, in GetPartitionDevice()
Ddownload_action.h77 BootControlInterface* boot_control,
126 BootControlInterface* boot_control_;
Dboot_control.h30 std::unique_ptr<BootControlInterface> CreateBootControl();
Ddynamic_partition_control_interface.h57 class BootControlInterface; variable
129 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,
107 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot};
108 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,
131 BootControlInterface* boot_control_;
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()
230 BootControlInterface* boot_control, in ParseManifestToInstallPlan()
289 BootControlInterface* boot_control, in ParsePartitions()
298 BootControlInterface* boot_control, in ParsePartitions()
Dinstall_plan_unittest.cc34 install_plan.source_slot = BootControlInterface::kInvalidSlot; in TEST()
35 install_plan.target_slot = BootControlInterface::kInvalidSlot; in TEST()
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()
179 BootControlInterface* boot_control, size_t block_size) { in Create()
Ddelta_performer.h45 class BootControlInterface; variable
69 BootControlInterface* boot_control,
188 BootControlInterface* boot_control,
189 BootControlInterface::Slot target_slot,
332 BootControlInterface* boot_control_;
/system/update_engine/
Dupdate_boot_flags_action.h28 explicit UpdateBootFlagsAction(BootControlInterface* boot_control) in UpdateBootFlagsAction()
56 BootControlInterface* boot_control_;

12