Home
last modified time | relevance | path

Searched defs:slot (Results 1 – 25 of 35) sorted by relevance

12

/system/update_engine/common/
Dfake_boot_control.h50 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()
85 bool SetActiveBootSlot(Slot slot) override { return true; } in SetActiveBootSlot()
96 bool IsSlotMarkedSuccessful(Slot slot) const override { in IsSlotMarkedSuccessful()
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()
Dboot_control_stub.cc39 BootControlInterface::Slot slot, in GetPartitionDevice()
49 uint32_t slot, in GetPartitionDevice()
57 Slot slot, in GetPartitionDevice()
68 bool BootControlStub::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable()
73 bool BootControlStub::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot()
Dboot_control_interface.h115 static std::string SlotName(Slot slot) { in SlotName()
Ddynamic_partition_control_stub.cc86 uint32_t slot, in ListDynamicPartitionsForSlot()
120 const std::string& part_name, uint32_t slot) { in IsDynamicPartition()
/system/extras/tests/bootloader/
Dbootctl.py38 def set_active_boot_slot(self, slot): argument
43 def set_slot_as_unbootable_slot(self, slot): argument
48 def is_slot_bootable(self, slot): argument
53 def is_slot_marked_successful(self, slot): argument
58 def get_suffix(self, slot): argument
/system/nvram/core/tests/
Dfake_storage.cpp89 StorageSlot slot; member
109 StorageSlot* slot = FindSlotForIndex(index); in FindOrCreateSlotForIndex() local
144 StorageSlot* slot = FindSlotForIndex(index); in LoadSpace() local
149 StorageSlot* slot = FindOrCreateSlotForIndex(index); in StoreSpace() local
154 StorageSlot* slot = FindSlotForIndex(index); in DeleteSpace() local
166 StorageSlot* slot = FindOrCreateSlotForIndex(index); in SetSpaceReadError() local
173 StorageSlot* slot = FindOrCreateSlotForIndex(index); in SetSpaceWriteError() local
/system/update_engine/aosp/
Dboot_control_android.cc81 BootControlInterface::Slot slot, in GetPartitionDevice()
94 BootControlInterface::Slot slot, in GetPartitionDevice()
110 bool BootControlAndroid::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable()
120 bool BootControlAndroid::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot()
174 uint32_t slot, in GetPartitionDevice()
Ddynamic_partition_control_android.h234 void SetSourceSlot(uint32_t slot) { source_slot_ = slot; } in SetSourceSlot()
235 void SetTargetSlot(uint32_t slot) { target_slot_ = slot; } in SetTargetSlot()
Ddynamic_partition_control_android.cc190 uint32_t slot, in MapPartitionInternal()
229 uint32_t slot, in MapPartitionOnDeviceMapper()
344 const std::string& super_device, uint32_t slot) { in LoadMetadataBuilder()
986 uint32_t slot) { in GetSuperPartitionName()
1088 uint32_t slot, in GetPartitionDevice()
1109 uint32_t slot, in GetPartitionDevice()
1126 uint32_t slot, in GetPartitionDevice()
1199 uint32_t slot, in GetDynamicPartitionDevice()
1331 uint32_t slot, in ListDynamicPartitionsForSlot()
1487 const std::string& partition_name, uint32_t slot) { in IsDynamicPartition()
Dmetrics_reporter_android.cc100 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReportUpdateAttemptMetrics() local
/system/chre/apps/test/chqts/src/shared/
Dchunk_allocator.cc41 size_t slot = 0; in alloc() local
57 size_t slot; in free() local
66 size_t slot; in contains() local
/system/nvram/hal/
Dmemory_storage.cpp64 StorageSlot slot; member
90 StorageSlot* slot = FindSpaceSlot(index); in LoadSpace() local
95 StorageSlot* slot = FindSpaceSlot(index); in StoreSpace() local
112 StorageSlot* slot = FindSpaceSlot(index); in DeleteSpace() local
/system/extras/boot_control_copy/
Dboot_control_copy.cpp125 int module_setActiveBootSlot(boot_control_module_t* module, unsigned slot) { in module_setActiveBootSlot()
194 int module_setSlotAsUnbootable(struct boot_control_module* module, unsigned slot) { in module_setSlotAsUnbootable()
219 int module_isSlotBootable(struct boot_control_module* module, unsigned slot) { in module_isSlotBootable()
237 const char* module_getSuffix(boot_control_module_t* module, unsigned slot) { in module_getSuffix()
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp140 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in CreateLogicalPartitions() local
150 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReadCurrentMetadata() local
197 auto slot = *metadata_slot; in InitDefaults() local
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h83 std::string GetSuperDevice([[maybe_unused]] uint32_t slot) const override { return "super"; } in GetSuperDevice()
93 bool SetSlotAsUnbootable(unsigned int slot) override { in SetSlotAsUnbootable()
109 bool IsSlotUnbootable(uint32_t slot) { return unbootable_slots_.count(slot) != 0; } in IsSlotUnbootable()
/system/core/fs_mgr/libsnapshot/
Ddevice_info.cpp107 bool DeviceInfo::SetSlotAsUnbootable([[maybe_unused]] unsigned int slot) { in SetSlotAsUnbootable()
Dsnapshot.cpp233 auto slot = GetCurrentSlot(); in TryCancelUpdate() local
664 auto slot = SlotNumberForSlotSuffix(slot_suffix); in MapSourceDevice() local
745 auto slot = GetCurrentSlot(); in InitiateMerge() local
1605 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CollapseSnapshotDevice() local
1663 auto slot = GetCurrentSlot(); in HandleCancelledUpdate() local
1850 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in ReadCurrentMetadata() local
2215 auto slot = GetCurrentSlot(); in NeedSnapshotsInFirstStageMount() local
2257 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CreateLogicalAndSnapshotPartitions() local
2262 uint32_t slot, const std::chrono::milliseconds& timeout_ms) { in MapAllPartitions()
3741 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in UnmapAllPartitionsInRecovery() local
[all …]
/system/keymaster/include/keymaster/
Dkey.h65 void set_secure_deletion_slot(uint32_t slot) { secure_deletion_slot_ = slot; } in set_secure_deletion_slot()
/system/extras/partition_tools/
Dlpdump.cc117 static std::string GetSuperPartitionName(const std::optional<uint32_t>& slot = {}) { in GetSuperPartitionName()
390 static std::unique_ptr<LpMetadata> ReadDeviceOrFile(const std::string& path, uint32_t slot) { in ReadDeviceOrFile()
418 std::optional<uint32_t> slot; in LpdumpMain() local
/system/security/keystore2/src/km_compat/
Dkm_compat.h168 KeyMintOperation(::android::sp<Keymaster> device, uint64_t operationHandle, OperationSlot slot) in KeyMintOperation()
/system/core/fastboot/
Dtask.cpp50 auto slot = slot_; in GetPartitionAndSlot() local
270 const std::string& slot) in ResizeTask()
Dfastboot.cpp1316 std::string slot = slot_name; in verify_slot() local
1351 static std::string verify_slot(const std::string& slot) { in verify_slot()
1355 static void do_for_partition(const std::string& part, const std::string& slot, in do_for_partition()
1391 void do_for_partitions(const std::string& part, const std::string& slot, in do_for_partitions()
1551 auto slot = entry.second; in GetPartitionName() local
1567 std::string slot = fp->slot_override; in ParseFlashCommand() local
1845 std::string slot = fp_->slot_override; in CollectImages() local
1910 void FlashAllTool::FlashImage(const Image& image, const std::string& slot, fastboot_buffer* buf) { in FlashImage()
2126 static bool wipe_super(const android::fs_mgr::LpMetadata& metadata, const std::string& slot, in wipe_super()
2185 auto slot = slot_override; in do_wipe_super() local
[all …]
/system/core/fs_mgr/libvbmeta/
Dreader.cpp95 Result<std::string> ReadVBMetaImage(int fd, int slot) { in ReadVBMetaImage()
/system/extras/bootctl/
Dbootctl.cpp111 uint32_t slot = module->GetActiveBootSlot(); in do_get_active_boot_slot() local
/system/core/fastboot/device/
Dutility.cpp139 bool GetSlotNumber(const std::string& slot, int32_t* number) { in GetSlotNumber()

12