Home
last modified time | relevance | path

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

12

/system/update_engine/common/
Dfake_boot_control.h55 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()
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.h112 static std::string SlotName(Slot slot) { in SlotName()
Ddynamic_partition_control_stub.cc87 uint32_t slot, in ListDynamicPartitionsForSlot()
121 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.h235 void SetSourceSlot(uint32_t slot) { source_slot_ = slot; } in SetSourceSlot()
236 void SetTargetSlot(uint32_t slot) { target_slot_ = slot; } in SetTargetSlot()
Ddynamic_partition_control_android.cc210 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 …]
Dmetrics_reporter_android.cc99 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/
Ddevice_info.cpp124 bool DeviceInfo::SetActiveBootSlot([[maybe_unused]] unsigned int slot) { in SetActiveBootSlot()
142 bool DeviceInfo::SetSlotAsUnbootable([[maybe_unused]] unsigned int slot) { in SetSlotAsUnbootable()
Dscratch_super.cpp113 for (auto slot : slots) { in CleanupScratchOtaMetadataIfPresent() local
257 int slot = SlotNumberForSlotSuffix(slot_suffix); in CreateDynamicScratch() local
Dsnapshot.cpp292 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/
Dtest_helpers.h85 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/
Dtask.cpp29 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()
Dfastboot.cpp1342 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/
Dlpdump.cc118 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/
Dkey.h65 void set_secure_deletion_slot(uint32_t slot) { secure_deletion_slot_ = slot; } in set_secure_deletion_slot()
/system/security/keystore2/src/km_compat/
Dkm_compat.h172 KeyMintOperation(::android::sp<Keymaster> device, uint64_t operationHandle, OperationSlot slot) in KeyMintOperation()
/system/core/fs_mgr/libvbmeta/
Dreader.cpp95 Result<std::string> ReadVBMetaImage(int fd, int slot) { in ReadVBMetaImage()
/system/core/trusty/keymaster/set_attestation_ids/
Dset_attestation_ids.cpp69 std::string get_imei(int slot) { in get_imei()

12