Home
last modified time | relevance | path

Searched refs:GetPartitionName (Results 1 – 17 of 17) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp161 LINFO << "Skipping zero-length logical partition: " << GetPartitionName(partition); in CreateLogicalPartitions()
165 LINFO << "Skipping disabled partition: " << GetPartitionName(partition); in CreateLogicalPartitions()
173 LERROR << "Could not create logical partition: " << GetPartitionName(partition); in CreateLogicalPartitions()
209 if (android::fs_mgr::GetPartitionName(metadata_partition) == partition_name) { in InitDefaults()
220 partition_name = android::fs_mgr::GetPartitionName(*partition); in InitDefaults()
221 } else if (partition_name != android::fs_mgr::GetPartitionName(*partition)) { in InitDefaults()
223 << android::fs_mgr::GetPartitionName(*partition); in InitDefaults()
253 return GetPartitionName(); in GetDeviceName()
256 std::string CreateLogicalPartitionParams::GetPartitionName() const { in GetPartitionName() function in android::fs_mgr::CreateLogicalPartitionParams
258 if (partition) return android::fs_mgr::GetPartitionName(*partition); in GetPartitionName()
/system/core/fs_mgr/liblp/
Dio_test.cpp190 EXPECT_EQ(GetPartitionName(exported->partitions[0]), GetPartitionName(imported->partitions[0])); in TEST_F()
218 EXPECT_EQ(GetPartitionName(imported->partitions[0]), "system"); in TEST_F()
228 EXPECT_EQ(GetPartitionName(imported->partitions[0]), "system"); in TEST_F()
234 EXPECT_EQ(GetPartitionName(imported->partitions[0]), "vendor"); in TEST_F()
577 … ASSERT_EQ(GetPartitionName(new_table->partitions[0]), GetPartitionName(imported->partitions[0])); in TEST_F()
588 … ASSERT_EQ(GetPartitionName(new_table->partitions[0]), GetPartitionName(imported->partitions[0])); in TEST_F()
647 EXPECT_EQ(GetPartitionName(metadata->partitions[0]), "system_b"); in TEST_F()
659 EXPECT_EQ(GetPartitionName(metadata->partitions[0]), "system_a"); in TEST_F()
Dutility.cpp146 if (GetPartitionName(partition) == name) { in FindPartition()
251 std::string partition_name = GetPartitionName(partition); in UpdateMetadataForInPlaceSnapshot()
319 LINFO << "Clearing " << GetPartitionName(partition) in SetMetadataHeaderV0()
Dimages.cpp286 auto iter = images_.find(GetPartitionName(partition)); in Build()
320 LERROR << "Partition should only have linear extents: " << GetPartitionName(partition); in AddPartitionImage()
326 LERROR << "Could not open image for partition: " << GetPartitionName(partition); in AddPartitionImage()
338 LERROR << "Image for partition '" << GetPartitionName(partition) in AddPartitionImage()
Dreader.cpp404 std::string partition_name = GetPartitionName(partition) + slot_suffix; in AdjustMetadataForSlot()
491 std::string GetPartitionName(const LpMetadataPartition& partition) { in GetPartitionName() function
Dbuilder.cpp336 AddPartition(GetPartitionName(partition), group_name, partition.attributes); in Init()
1168 std::string partition_name = GetPartitionName(partition); in ImportPartitions()
1181 std::string partition_name = GetPartitionName(source); in ImportPartition()
Dbuilder_test.cpp362 Partition* original = builder->FindPartition(GetPartitionName(partition)); in TEST_F()
719 ASSERT_EQ(GetPartitionName(exported->partitions[1]), "vendor"); in TEST_F()
721 ASSERT_EQ(GetPartitionName(new_metadata->partitions[0]), "vendor"); in TEST_F()
/system/core/fs_mgr/include/
Dfs_mgr_dm_linear.h82 std::string GetPartitionName() const;
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp64 using android::fs_mgr::GetPartitionName;
1554 LOG(INFO) << "Skip mapping partition " << GetPartitionName(partition) << " in group " in CreateLogicalAndSnapshotPartitions()
1601 if (params.GetPartitionName() != params.GetDeviceName()) { in MapPartitionWithSnapshot()
1603 << params.GetPartitionName() << ", device_name = " << params.GetDeviceName(); in MapPartitionWithSnapshot()
1615 LOG(INFO) << "Skipping zero-length logical partition: " << params.GetPartitionName(); in MapPartitionWithSnapshot()
1626 << params.GetPartitionName(); in MapPartitionWithSnapshot()
1629 auto file_path = GetSnapshotStatusFilePath(params.GetPartitionName()); in MapPartitionWithSnapshot()
1632 PLOG(INFO) << "Can't map snapshot for " << params.GetPartitionName() in MapPartitionWithSnapshot()
1639 if (!ReadSnapshotStatus(lock, params.GetPartitionName(), &*live_snapshot_status)) { in MapPartitionWithSnapshot()
1650 LOG(WARNING) << "Snapshot status for " << params.GetPartitionName() in MapPartitionWithSnapshot()
[all …]
Dsnapshot_test.cpp65 using android::fs_mgr::GetPartitionName;
231 .device_name = GetPartitionName(partition) + "-base", in MapUpdatePartitions()
1092 written.push_back(GetPartitionName(p)); in TEST_F()
/system/core/fastboot/device/
Dutility.cpp116 if (GetPartitionName(partition) == name) { in FindLogicalPartition()
193 std::string partition_name = GetPartitionName(partition); in ListPartitions()
Dflashing.cpp205 std::string partition_name = GetPartitionName(partition); in UpdateSuper()
/system/extras/partition_tools/
Dlpunpack.cc200 auto name = GetPartitionName(partition); in BuildPartitionList()
233 std::string output_path = output_dir_ + "/" + GetPartitionName(*partition) + ".img"; in ExtractPartition()
Dlpdump.cc319 std::string name = GetPartitionName(partition); in PrintMetadata()
/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h101 std::string GetPartitionName(const LpMetadataPartition& partition);
/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp51 using android::fs_mgr::GetPartitionName;
631 auto partition_name = GetPartitionName(partition); in RemoveAllImages()
644 auto name = GetPartitionName(partition); in Validate()
672 ok &= DeleteBackingImage(GetPartitionName(partition)); in RemoveDisabledImages()
/system/core/fastboot/
Dfastboot.cpp1682 auto candidate = android::fs_mgr::GetPartitionName(partition); in should_flash_in_userspace()