| /system/update_engine/common/ |
| D | fake_boot_control.h | 55 BootControlInterface::Slot slot, in GetPartitionDevice() 74 BootControlInterface::Slot slot, in GetPartitionDevice() 79 bool IsSlotBootable(BootControlInterface::Slot slot) const override { in IsSlotBootable() 83 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override { in MarkSlotUnbootable() 90 bool SetActiveBootSlot(Slot slot) override { return true; } in SetActiveBootSlot() 101 bool IsSlotMarkedSuccessful(Slot slot) const override { in IsSlotMarkedSuccessful() 113 void SetCurrentSlot(BootControlInterface::Slot slot) { current_slot_ = slot; } in SetCurrentSlot() 116 BootControlInterface::Slot slot, in SetPartitionDevice() 122 void SetSlotBootable(BootControlInterface::Slot slot, bool bootable) { in SetSlotBootable()
|
| D | boot_control_stub.cc | 39 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()
|
| D | boot_control_interface.h | 112 static std::string SlotName(Slot slot) { in SlotName()
|
| D | dynamic_partition_control_stub.cc | 87 uint32_t slot, in ListDynamicPartitionsForSlot() 121 const std::string& part_name, uint32_t slot) { in IsDynamicPartition()
|
| /system/extras/tests/bootloader/ |
| D | bootctl.py | 38 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/ |
| D | fake_storage.cpp | 89 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/ |
| D | boot_control_android.cc | 81 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()
|
| D | dynamic_partition_control_android.h | 235 void SetSourceSlot(uint32_t slot) { source_slot_ = slot; } in SetSourceSlot() 236 void SetTargetSlot(uint32_t slot) { target_slot_ = slot; } in SetTargetSlot()
|
| D | dynamic_partition_control_android.cc | 210 uint32_t slot, in MapPartitionInternal() 250 uint32_t slot, in MapPartitionOnDeviceMapper() 299 auto slot = target_partition_name.ends_with("_a") ? 0 : 1; in UnmapPartitionOnDeviceMapper() local 382 const std::string& super_device, uint32_t slot) { in LoadMetadataBuilder() 1049 uint32_t slot) { in GetSuperPartitionName() 1151 uint32_t slot, in GetPartitionDevice() 1172 uint32_t slot, in GetPartitionDevice() 1189 uint32_t slot, in GetPartitionDevice() 1264 uint32_t slot, in GetDynamicPartitionDevice() 1396 uint32_t slot, in ListDynamicPartitionsForSlot() [all …]
|
| D | metrics_reporter_android.cc | 99 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReportUpdateAttemptMetrics() local
|
| /system/chre/apps/test/chqts/src/shared/ |
| D | chunk_allocator.cc | 41 size_t slot = 0; in alloc() local 57 size_t slot; in free() local 66 size_t slot; in contains() local
|
| /system/nvram/hal/ |
| D | memory_storage.cpp | 64 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/ |
| D | boot_control_copy.cpp | 125 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/ |
| D | fs_mgr_dm_linear.cpp | 140 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/ |
| D | device_info.cpp | 124 bool DeviceInfo::SetActiveBootSlot([[maybe_unused]] unsigned int slot) { in SetActiveBootSlot() 142 bool DeviceInfo::SetSlotAsUnbootable([[maybe_unused]] unsigned int slot) { in SetSlotAsUnbootable()
|
| D | scratch_super.cpp | 113 for (auto slot : slots) { in CleanupScratchOtaMetadataIfPresent() local 257 int slot = SlotNumberForSlotSuffix(slot_suffix); in CreateDynamicScratch() local
|
| D | snapshot.cpp | 292 auto slot = GetCurrentSlot(); in IsCancelUpdateSafe() local 763 auto slot = SlotNumberForSlotSuffix(slot_suffix); in MapSourceDevice() local 852 auto slot = GetCurrentSlot(); in InitiateMerge() local 1665 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CollapseSnapshotDevice() local 1723 auto slot = GetCurrentSlot(); in HandleCancelledUpdate() local 1932 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in ReadCurrentMetadata() local 2337 auto slot = GetCurrentSlot(); in IsLegacySnapuserdPostReboot() local 2473 auto slot = GetCurrentSlot(); in NeedSnapshotsInFirstStageMount() local 2518 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CreateLogicalAndSnapshotPartitions() local 2523 uint32_t slot, const std::chrono::milliseconds& timeout_ms) { in MapAllPartitions() [all …]
|
| /system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
| D | test_helpers.h | 85 std::string GetSuperDevice([[maybe_unused]] uint32_t slot) const override { return "super"; } in GetSuperDevice() 95 bool SetActiveBootSlot([[maybe_unused]] unsigned int slot) override { return true; } in SetActiveBootSlot() 96 bool SetSlotAsUnbootable(unsigned int slot) override { in SetSlotAsUnbootable() 112 bool IsSlotUnbootable(uint32_t slot) { return unbootable_slots_.count(slot) != 0; } in IsSlotUnbootable()
|
| /system/core/fastboot/ |
| D | task.cpp | 29 FlashTask::FlashTask(const std::string& slot, const std::string& pname, const std::string& fname, in FlashTask() 68 auto slot = slot_; in GetPartitionAndSlot() local 271 const std::string& slot) in ResizeTask()
|
| D | fastboot.cpp | 1342 std::string slot = slot_name; in verify_slot() local 1377 static std::string verify_slot(const std::string& slot) { in verify_slot() 1381 static void do_for_partition(const std::string& part, const std::string& slot, in do_for_partition() 1417 void do_for_partitions(const std::string& part, const std::string& slot, in do_for_partitions() 1607 auto slot = entry.second; in GetPartitionName() local 1623 std::string slot = fp->slot_override; in ParseFlashCommand() local 1888 std::string slot = fp_->slot_override; in CollectImages() local 2145 static bool wipe_super(const android::fs_mgr::LpMetadata& metadata, const std::string& slot, in wipe_super() 2205 auto slot = slot_override; in do_wipe_super() local 2563 std::string slot = verify_slot(next_arg(&args), false); in Main() local
|
| /system/extras/partition_tools/ |
| D | lpdump.cc | 118 static std::string GetSuperPartitionName(const std::optional<uint32_t>& slot = {}) { in GetSuperPartitionName() 407 static std::unique_ptr<LpMetadata> ReadDeviceOrFile(const std::string& path, uint32_t slot) { in ReadDeviceOrFile() 435 std::optional<uint32_t> slot; in LpdumpMain() local
|
| /system/keymaster/include/keymaster/ |
| D | key.h | 65 void set_secure_deletion_slot(uint32_t slot) { secure_deletion_slot_ = slot; } in set_secure_deletion_slot()
|
| /system/security/keystore2/src/km_compat/ |
| D | km_compat.h | 172 KeyMintOperation(::android::sp<Keymaster> device, uint64_t operationHandle, OperationSlot slot) in KeyMintOperation()
|
| /system/core/fs_mgr/libvbmeta/ |
| D | reader.cpp | 95 Result<std::string> ReadVBMetaImage(int fd, int slot) { in ReadVBMetaImage()
|
| /system/core/trusty/keymaster/set_attestation_ids/ |
| D | set_attestation_ids.cpp | 69 std::string get_imei(int slot) { in get_imei()
|