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.cc190 const std::string& target_partition_name, in MapPartitionInternal() argument
197 .partition_name = target_partition_name, in MapPartitionInternal()
216 LOG(ERROR) << "Cannot map " << target_partition_name << " in " in MapPartitionInternal()
220 LOG(INFO) << "Succesfully mapped " << target_partition_name in MapPartitionInternal()
223 mapped_devices_.insert(target_partition_name); in MapPartitionInternal()
229 const std::string& target_partition_name, in MapPartitionOnDeviceMapper() argument
233 DmDeviceState state = GetState(target_partition_name); in MapPartitionOnDeviceMapper()
235 if (mapped_devices_.find(target_partition_name) != mapped_devices_.end()) { in MapPartitionOnDeviceMapper()
236 if (GetDmDevicePathByName(target_partition_name, path)) { in MapPartitionOnDeviceMapper()
237 LOG(INFO) << target_partition_name in MapPartitionOnDeviceMapper()
[all …]
Ddynamic_partition_control_android.h131 const std::string& target_partition_name);
160 const std::string& target_partition_name,
243 const std::string& target_partition_name,
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_stub.h46 bool UnmapUpdateSnapshot(const std::string& target_partition_name) override;
Dmock_snapshot.h49 MOCK_METHOD(bool, UnmapUpdateSnapshot, (const std::string& target_partition_name), (override));
Dsnapshot.h227 virtual bool UnmapUpdateSnapshot(const std::string& target_partition_name) = 0;
367 bool UnmapUpdateSnapshot(const std::string& target_partition_name) override;
725 bool UnmapPartitionWithSnapshot(LockedFile* lock, const std::string& target_partition_name);
/system/core/fs_mgr/liblp/
Dbuilder.cpp1314 auto target_partition_name = base_name + SlotSuffixForSlotNumber(target_slot_number); in VerifyExtentsAgainstSourceMetadata() local
1315 const auto target_partition = target_metadata.FindPartition(target_partition_name); in VerifyExtentsAgainstSourceMetadata()
1317 LERROR << "Failed to find partition " << target_partition_name << " in metadata slot " in VerifyExtentsAgainstSourceMetadata()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp2587 const std::string& target_partition_name) { in UnmapPartitionWithSnapshot() argument
2590 if (!UnmapSnapshot(lock, target_partition_name)) { in UnmapPartitionWithSnapshot()
2594 if (!UnmapCowDevices(lock, target_partition_name)) { in UnmapPartitionWithSnapshot()
2598 auto base_name = GetBaseDeviceName(target_partition_name); in UnmapPartitionWithSnapshot()
2604 auto source_name = GetSourceDeviceName(target_partition_name); in UnmapPartitionWithSnapshot()
2610 LOG(INFO) << "Successfully unmapped snapshot " << target_partition_name; in UnmapPartitionWithSnapshot()
3792 bool SnapshotManager::UnmapUpdateSnapshot(const std::string& target_partition_name) { in UnmapUpdateSnapshot() argument
3795 return UnmapPartitionWithSnapshot(lock.get(), target_partition_name); in UnmapUpdateSnapshot()