Home
last modified time | relevance | path

Searched refs:partition_name (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/updater/
Dsimulator_runtime.cpp105 bool SimulatorRuntime::MapPartitionOnDeviceMapper(const std::string& partition_name, in MapPartitionOnDeviceMapper() argument
107 *path = partition_name; in MapPartitionOnDeviceMapper()
111 bool SimulatorRuntime::UnmapPartitionOnDeviceMapper(const std::string& partition_name) { in UnmapPartitionOnDeviceMapper() argument
112 LOG(INFO) << "Skip unmapping " << partition_name; in UnmapPartitionOnDeviceMapper()
Dupdater_runtime_dynamic_partitions.cpp52 static std::string AddSlotSuffix(const std::string& partition_name) { in AddSlotSuffix() argument
53 return partition_name + fs_mgr_get_slot_suffix(); in AddSlotSuffix()
69 bool UpdaterRuntime::MapPartitionOnDeviceMapper(const std::string& partition_name, in MapPartitionOnDeviceMapper() argument
71 auto partition_name_suffix = AddSlotSuffix(partition_name); in MapPartitionOnDeviceMapper()
81 .partition_name = partition_name_suffix, in MapPartitionOnDeviceMapper()
96 bool UpdaterRuntime::UnmapPartitionOnDeviceMapper(const std::string& partition_name) { in UnmapPartitionOnDeviceMapper() argument
97 return ::UnmapPartitionWithSuffixOnDeviceMapper(AddSlotSuffix(partition_name)); in UnmapPartitionOnDeviceMapper()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp138 bool UpdateVerifier::ReadBlocks(const std::string partition_name, in ReadBlocks() argument
147 auto thread_func = [&group, &dm_block_device, &partition_name]() { in ReadBlocks()
150 PLOG(ERROR) << "Error reading " << dm_block_device << " for partition " << partition_name; in ReadBlocks()
198 for (const auto& [partition_name, ranges] : partition_map_) { in VerifyPartitions()
199 if (dm_block_devices.find(partition_name) == dm_block_devices.end()) { in VerifyPartitions()
200 LOG(ERROR) << "Failed to find dm block device for " << partition_name; in VerifyPartitions()
204 if (!ReadBlocks(partition_name, dm_block_devices.at(partition_name), ranges)) { in VerifyPartitions()
/bootable/recovery/edify/include/edify/
Dupdater_runtime_interface.h71 virtual bool MapPartitionOnDeviceMapper(const std::string& partition_name, std::string* path) = 0;
72 virtual bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) = 0;
/bootable/recovery/updater/include/updater/
Dupdater_runtime.h56 bool MapPartitionOnDeviceMapper(const std::string& partition_name, std::string* path) override;
57 bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) override;
Dsimulator_runtime.h53 bool MapPartitionOnDeviceMapper(const std::string& partition_name, std::string* path) override;
54 bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) override;
/bootable/recovery/update_verifier/include/update_verifier/
Dupdate_verifier.h57 bool ReadBlocks(const std::string partition_name, const std::string& dm_block_device,