Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.cpp193 CHECK(current_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in Run()
194 target_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME); in Run()
Dsnapshot.cpp2765 CHECK(current_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in CreateUpdateSnapshots()
2766 target_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME); in CreateUpdateSnapshots()
/system/core/fs_mgr/liblp/
Dbuilder.cpp207 std::string partition_name = builder->GetBlockDevicePartitionName(i); in New()
232 if (android::fs_mgr::GetBlockDevicePartitionName(*super_device) != "super" && in NewForUpdate()
276 android::fs_mgr::GetBlockDevicePartitionName(source_block_device); in UpdateMetadataForOtherSuper()
468 if (GetBlockDevicePartitionName(0) != super_partition) { in Init()
1004 if (GetBlockDevicePartitionName(i) == partition_name) { in FindBlockDeviceByName()
1135 android::fs_mgr::GetBlockDevicePartitionName(first) == in CompareBlockDevices()
1136 android::fs_mgr::GetBlockDevicePartitionName(second); in CompareBlockDevices()
1224 return GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in ShouldHalveSuper()
1289 std::string MetadataBuilder::GetBlockDevicePartitionName(uint64_t index) const { in GetBlockDevicePartitionName() function in android::fs_mgr::MetadataBuilder
1291 ? 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()
Dimages.cpp207 std::string name = GetBlockDevicePartitionName(metadata_.block_devices[i]); in ExportFiles()
Dbuilder_test.cpp661 EXPECT_EQ(GetBlockDevicePartitionName(metadata->block_devices[0]), "system_a"); in TEST_F()
665 EXPECT_EQ(GetBlockDevicePartitionName(metadata->block_devices[1]), "vendor_a"); in TEST_F()
669 EXPECT_EQ(GetBlockDevicePartitionName(metadata->block_devices[2]), "product_a"); in TEST_F()
/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.h366 std::string GetBlockDevicePartitionName(uint64_t index) const;
/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp51 using android::fs_mgr::GetBlockDevicePartitionName;
307 auto block_device = android::fs_mgr::GetBlockDevicePartitionName(*super); in MapWithDmLinear()
738 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.cpp1823 auto super_bdev_name = android::fs_mgr::GetBlockDevicePartitionName(*super_device); in wipe_super()
1848 auto partition = android::fs_mgr::GetBlockDevicePartitionName(block_device); in wipe_super()