/system/update_engine/common/ |
D | boot_control_interface.h | 39 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()
|
D | fake_boot_control.h | 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() 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 …]
|
D | boot_control_stub.h | 42 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;
|
D | boot_control_stub.cc | 33 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/ |
D | boot_control_chromeos.h | 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}; 92 BootControlInterface::Slot current_slot_{BootControlInterface::kInvalidSlot};
|
D | boot_control_android.h | 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;
|
D | boot_control_android.cc | 39 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()
|
D | boot_control_chromeos.cc | 150 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()
|
D | update_attempter_android.h | 182 BootControlInterface::Slot GetCurrentSlot() const; 183 BootControlInterface::Slot GetTargetSlot() const;
|
D | update_attempter_android.cc | 483 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/ |
D | partition_update_generator_android.h | 40 BootControlInterface::Slot source_slot, 41 BootControlInterface::Slot target_slot, 63 BootControlInterface::Slot source_slot, 64 BootControlInterface::Slot target_slot);
|
D | partition_update_generator_stub.h | 32 BootControlInterface::Slot source_slot, 33 BootControlInterface::Slot target_slot,
|
D | partition_update_generator_stub.cc | 24 chromeos_update_engine::BootControlInterface::Slot source_slot, in GenerateOperationsForPartitionsNotInPayload() 25 chromeos_update_engine::BootControlInterface::Slot target_slot, in GenerateOperationsForPartitionsNotInPayload()
|
D | partition_update_generator_interface.h | 42 BootControlInterface::Slot source_slot, 43 BootControlInterface::Slot target_slot,
|
D | partition_update_generator_android.cc | 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()
|
D | install_plan.h | 83 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot}; 84 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
|
D | delta_performer.h | 202 BootControlInterface::Slot target_slot,
|
/system/extras/bootctl/ |
D | bootctl.cpp | 30 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/ |
D | confirmationui_rate_limiting.h | 37 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/ |
D | snapshot.cpp | 179 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/ |
D | snapshot.h | 560 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/ |
D | utility.h | 79 bool GetSlotNumber(const std::string& slot, android::hardware::boot::V1_0::Slot* number);
|
D | utility.cpp | 39 using android::hardware::boot::V1_0::Slot; 145 bool GetSlotNumber(const std::string& slot, Slot* number) { in GetSlotNumber()
|
D | variables.cpp | 37 using ::android::hardware::boot::V1_0::Slot; 223 Slot slot; in GetSlotSuccessful() 247 Slot slot; in GetSlotUnbootable()
|
D | fastboot_device.cpp | 39 using ::android::hardware::boot::V1_0::Slot;
|