Home
last modified time | relevance | path

Searched refs:GetBlockDevicePartitionName (Results 1 – 15 of 15) sorted by relevance

/system/core/fs_mgr/liblp/
Dbuilder.cpp175 std::string partition_name = builder->GetBlockDevicePartitionName(i); in New()
200 if (android::fs_mgr::GetBlockDevicePartitionName(*super_device) != "super" && in NewForUpdate()
244 android::fs_mgr::GetBlockDevicePartitionName(source_block_device); in UpdateMetadataForOtherSuper()
433 if (GetBlockDevicePartitionName(0) != super_partition) { in Init()
947 if (GetBlockDevicePartitionName(i) == partition_name) { in FindBlockDeviceByName()
1073 android::fs_mgr::GetBlockDevicePartitionName(first) == in CompareBlockDevices()
1074 android::fs_mgr::GetBlockDevicePartitionName(second); in CompareBlockDevices()
1162 return GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in ShouldHalveSuper()
1227 std::string MetadataBuilder::GetBlockDevicePartitionName(uint64_t index) const { in GetBlockDevicePartitionName() function in android::fs_mgr::MetadataBuilder
1229 ? android::fs_mgr::GetBlockDevicePartitionName(block_devices_[index]) in GetBlockDevicePartitionName()
Dio_test.cpp649 EXPECT_EQ(GetBlockDevicePartitionName(metadata->block_devices[0]), "super_b"); in TEST_F()
661 EXPECT_EQ(GetBlockDevicePartitionName(metadata->block_devices[0]), "super_a"); in TEST_F()
695 EXPECT_EQ(GetBlockDevicePartitionName(updated->block_devices[0]), "super_b"); in TEST_F()
714 EXPECT_EQ(GetBlockDevicePartitionName(updated->block_devices[0]), "super"); in TEST_F()
Dreader.cpp416 std::string partition_name = GetBlockDevicePartitionName(block_device) + slot_suffix; in AdjustMetadataForSlot()
499 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device) { in GetBlockDevicePartitionName() function
Dutility.cpp139 list.emplace_back(GetBlockDevicePartitionName(block_device)); in GetBlockDevicePartitionNames()
Dwriter.cpp117 std::string partition_name = GetBlockDevicePartitionName(block_device); in ValidateAndSerializeMetadata()
Dbuilder_test.cpp665 EXPECT_EQ(GetBlockDevicePartitionName(metadata->block_devices[0]), "system_a"); in TEST_F()
669 EXPECT_EQ(GetBlockDevicePartitionName(metadata->block_devices[1]), "vendor_a"); in TEST_F()
673 EXPECT_EQ(GetBlockDevicePartitionName(metadata->block_devices[2]), "product_a"); in TEST_F()
Dimages.cpp207 std::string name = GetBlockDevicePartitionName(metadata_.block_devices[i]); in ExportFiles()
/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.cpp172 CHECK(current_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in Run()
173 target_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME); in Run()
Dsnapshot.cpp2192 CHECK(current_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in CreateUpdateSnapshots()
2193 target_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME); in CreateUpdateSnapshots()
/system/extras/partition_tools/
Dlpdump.cc164 std::string name = GetBlockDevicePartitionName(block_device); in MergeMetadata()
302 std::string device_name = GetBlockDevicePartitionName(block_device); in ParseLinearExtentData()
333 std::string device_name = GetBlockDevicePartitionName(block_device); in PrintMetadata()
364 std::string partition_name = GetBlockDevicePartitionName(block_device); in PrintMetadata()
/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h103 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device);
Dbuilder.h345 std::string GetBlockDevicePartitionName(uint64_t index) const;
/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp49 using android::fs_mgr::GetBlockDevicePartitionName;
293 auto block_device = android::fs_mgr::GetBlockDevicePartitionName(*super); in MapWithDmLinear()
711 auto data_partition_name = GetBlockDevicePartitionName(*data_device); in MapAllImages()
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp61 std::string name = GetBlockDevicePartitionName(block_device); in GetPhysicalPartitionDevicePath()
/system/core/fastboot/
Dfastboot.cpp1690 auto super_bdev_name = android::fs_mgr::GetBlockDevicePartitionName(*super_device); in wipe_super()
1715 auto partition = android::fs_mgr::GetBlockDevicePartitionName(block_device); in wipe_super()