Home
last modified time | relevance | path

Searched refs:Slot (Results 1 – 25 of 32) sorted by relevance

12

/system/update_engine/common/
Dboot_control_interface.h39 using Slot = unsigned int;
41 static const Slot kInvalidSlot = UINT_MAX;
54 virtual Slot GetCurrentSlot() const = 0;
67 Slot slot,
75 Slot slot,
80 virtual bool IsSlotBootable(Slot slot) const = 0;
84 virtual bool MarkSlotUnbootable(Slot slot) = 0;
90 virtual bool SetActiveBootSlot(Slot slot) = 0;
99 virtual bool IsSlotMarkedSuccessful(Slot slot) const = 0;
105 static std::string SlotName(Slot slot) { in SlotName()
Dfake_boot_control.h45 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()
80 bool SetActiveBootSlot(Slot slot) override { return true; } in SetActiveBootSlot()
90 bool IsSlotMarkedSuccessful(Slot slot) const override { in IsSlotMarkedSuccessful()
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()
[all …]
Dboot_control_stub.h42 BootControlInterface::Slot GetCurrentSlot() const override;
44 Slot slot,
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;
Dboot_control_stub.cc33 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { in GetCurrentSlot()
39 BootControlInterface::Slot slot, in GetPartitionDevice()
48 Slot slot, in GetPartitionDevice()
54 bool BootControlStub::IsSlotBootable(Slot slot) const { in IsSlotBootable()
59 bool BootControlStub::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable()
64 bool BootControlStub::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot()
75 bool BootControlStub::IsSlotMarkedSuccessful(Slot slot) const { in IsSlotMarkedSuccessful()
/system/update_engine/
Dboot_control_chromeos.h47 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};
92 BootControlInterface::Slot current_slot_{BootControlInterface::kInvalidSlot};
Dboot_control_android.h46 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; typedef
81 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { in GetCurrentSlot()
86 BootControlInterface::Slot slot, in GetPartitionDevice()
99 BootControlInterface::Slot slot, in GetPartitionDevice()
105 bool BootControlAndroid::IsSlotBootable(Slot slot) const { in IsSlotBootable()
119 bool BootControlAndroid::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable()
134 bool BootControlAndroid::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot()
166 BootControlInterface::Slot slot) const { in IsSlotMarkedSuccessful()
Dboot_control_chromeos.cc150 BootControlInterface::Slot BootControlChromeOS::GetCurrentSlot() const { in GetCurrentSlot()
180 BootControlInterface::Slot slot, in GetPartitionDevice()
216 BootControlInterface::Slot slot, in GetPartitionDevice()
221 bool BootControlChromeOS::IsSlotBootable(Slot slot) const { in IsSlotBootable()
238 bool BootControlChromeOS::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable()
271 bool BootControlChromeOS::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot()
343 const string partition_name, BootControlInterface::Slot slot) const { in GetPartitionNumber()
367 bool BootControlChromeOS::IsSlotMarkedSuccessful(Slot slot) const { in IsSlotMarkedSuccessful()
Dupdate_attempter_android.h182 BootControlInterface::Slot GetCurrentSlot() const;
183 BootControlInterface::Slot GetTargetSlot() const;
Dupdate_attempter_android.cc483 BootControlInterface::Slot current_slot = GetCurrentSlot(); in VerifyPayloadApplicable()
945 BootControlInterface::Slot UpdateAttempterAndroid::GetCurrentSlot() const { in GetCurrentSlot()
949 BootControlInterface::Slot UpdateAttempterAndroid::GetTargetSlot() const { in GetTargetSlot()
/system/update_engine/payload_consumer/
Dpartition_update_generator_android.h40 BootControlInterface::Slot source_slot,
41 BootControlInterface::Slot target_slot,
63 BootControlInterface::Slot source_slot,
64 BootControlInterface::Slot target_slot);
Dpartition_update_generator_stub.h32 BootControlInterface::Slot source_slot,
33 BootControlInterface::Slot target_slot,
Dpartition_update_generator_stub.cc24 chromeos_update_engine::BootControlInterface::Slot source_slot, in GenerateOperationsForPartitionsNotInPayload()
25 chromeos_update_engine::BootControlInterface::Slot target_slot, in GenerateOperationsForPartitionsNotInPayload()
Dpartition_update_generator_interface.h42 BootControlInterface::Slot source_slot,
43 BootControlInterface::Slot target_slot,
Dpartition_update_generator_android.cc49 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()
Dinstall_plan.h83 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot};
84 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
Ddelta_performer.h202 BootControlInterface::Slot target_slot,
/system/extras/bootctl/
Dbootctl.cpp30 using android::hardware::boot::V1_0::Slot;
89 Slot curSlot = module->getCurrentSlot(); in do_get_current_slot()
119 Slot slot_number) in do_set_active_boot_slot()
127 Slot slot_number) in do_set_slot_as_unbootable()
147 static int do_is_slot_bootable(sp<V1_0::IBootControl> module, Slot slot_number) in do_is_slot_bootable()
154 Slot slot_number) in do_is_slot_marked_successful()
215 static int do_get_suffix(sp<V1_0::IBootControl> module, Slot slot_number) { in do_get_suffix()
/system/security/keystore/
Dconfirmationui_rate_limiting.h37 struct Slot { struct
38 Slot() : previous_start{}, prompt_start{}, counter(0) {} in Slot() function
44 std::unordered_map<uid_t, Slot> slots_; argument
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp179 if (slot != Slot::Target) { in TryCancelUpdate()
198 SnapshotManager::Slot SnapshotManager::GetCurrentSlot() { in GetCurrentSlot()
201 return Slot::Unknown; in GetCurrentSlot()
204 return Slot::Source; in GetCurrentSlot()
206 return Slot::Target; in GetCurrentSlot()
568 if (slot != Slot::Target) { in InitiateMerge()
1203 if (slot == Slot::Unknown) { in HandleCancelledUpdate()
1217 if (current_slot != Slot::Source) { in HandleCancelledUpdate()
1353 bool should_unmap = current_slot != Slot::Target; in RemoveAllSnapshots()
1390 Slot current_slot, const std::string& name) { in ShouldDeleteSnapshot()
[all …]
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h560 enum class Slot { Unknown, Source, Target }; enum
561 friend std::ostream& operator<<(std::ostream& os, SnapshotManager::Slot slot);
562 Slot GetCurrentSlot();
569 Slot current_slot, const std::string& name);
/system/core/fastboot/device/
Dutility.h79 bool GetSlotNumber(const std::string& slot, android::hardware::boot::V1_0::Slot* number);
Dutility.cpp39 using android::hardware::boot::V1_0::Slot;
145 bool GetSlotNumber(const std::string& slot, Slot* number) { in GetSlotNumber()
Dvariables.cpp37 using ::android::hardware::boot::V1_0::Slot;
223 Slot slot; in GetSlotSuccessful()
247 Slot slot; in GetSlotUnbootable()
Dfastboot_device.cpp39 using ::android::hardware::boot::V1_0::Slot;

12