Home
last modified time | relevance | path

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

/system/update_engine/aosp/
Ddynamic_partition_control_android.cc175 const std::string& target_partition_name, in MapPartitionInternal() argument
182 .partition_name = target_partition_name, in MapPartitionInternal()
201 LOG(ERROR) << "Cannot map " << target_partition_name << " in " in MapPartitionInternal()
205 LOG(INFO) << "Succesfully mapped " << target_partition_name in MapPartitionInternal()
208 mapped_devices_.insert(target_partition_name); in MapPartitionInternal()
214 const std::string& target_partition_name, in MapPartitionOnDeviceMapper() argument
218 DmDeviceState state = GetState(target_partition_name); in MapPartitionOnDeviceMapper()
220 if (mapped_devices_.find(target_partition_name) != mapped_devices_.end()) { in MapPartitionOnDeviceMapper()
221 if (GetDmDevicePathByName(target_partition_name, path)) { in MapPartitionOnDeviceMapper()
222 LOG(INFO) << target_partition_name in MapPartitionOnDeviceMapper()
[all …]
Ddynamic_partition_control_android.h124 const std::string& target_partition_name);
153 const std::string& target_partition_name,
240 const std::string& target_partition_name,
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_stub.h45 bool UnmapUpdateSnapshot(const std::string& target_partition_name) override;
Dmock_snapshot.h48 MOCK_METHOD(bool, UnmapUpdateSnapshot, (const std::string& target_partition_name), (override));
Dsnapshot.h224 virtual bool UnmapUpdateSnapshot(const std::string& target_partition_name) = 0;
360 bool UnmapUpdateSnapshot(const std::string& target_partition_name) override;
678 bool UnmapPartitionWithSnapshot(LockedFile* lock, const std::string& target_partition_name);
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp2152 const std::string& target_partition_name) { in UnmapPartitionWithSnapshot() argument
2155 if (!UnmapSnapshot(lock, target_partition_name)) { in UnmapPartitionWithSnapshot()
2159 if (!UnmapCowDevices(lock, target_partition_name)) { in UnmapPartitionWithSnapshot()
2163 auto base_name = GetBaseDeviceName(target_partition_name); in UnmapPartitionWithSnapshot()
2169 auto source_name = GetSourceDeviceName(target_partition_name); in UnmapPartitionWithSnapshot()
2175 LOG(INFO) << "Successfully unmapped snapshot " << target_partition_name; in UnmapPartitionWithSnapshot()
3231 bool SnapshotManager::UnmapUpdateSnapshot(const std::string& target_partition_name) { in UnmapUpdateSnapshot() argument
3234 return UnmapPartitionWithSnapshot(lock.get(), target_partition_name); in UnmapUpdateSnapshot()
/system/core/fs_mgr/liblp/
Dbuilder.cpp1305 auto target_partition_name = base_name + SlotSuffixForSlotNumber(target_slot_number); in VerifyExtentsAgainstSourceMetadata() local
1306 const auto target_partition = target_metadata.FindPartition(target_partition_name); in VerifyExtentsAgainstSourceMetadata()
1308 LERROR << "Failed to find partition " << target_partition_name << " in metadata slot " in VerifyExtentsAgainstSourceMetadata()