Searched refs:GetBlockDevicePartitionName (Results 1 – 15 of 15) sorted by relevance
175 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::MetadataBuilder1229 ? android::fs_mgr::GetBlockDevicePartitionName(block_devices_[index]) in GetBlockDevicePartitionName()
649 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()
416 std::string partition_name = GetBlockDevicePartitionName(block_device) + slot_suffix; in AdjustMetadataForSlot()499 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device) { in GetBlockDevicePartitionName() function
139 list.emplace_back(GetBlockDevicePartitionName(block_device)); in GetBlockDevicePartitionNames()
117 std::string partition_name = GetBlockDevicePartitionName(block_device); in ValidateAndSerializeMetadata()
665 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()
207 std::string name = GetBlockDevicePartitionName(metadata_.block_devices[i]); in ExportFiles()
172 CHECK(current_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in Run()173 target_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME); in Run()
2192 CHECK(current_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in CreateUpdateSnapshots()2193 target_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME); in CreateUpdateSnapshots()
164 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()
103 std::string GetBlockDevicePartitionName(const LpMetadataBlockDevice& block_device);
345 std::string GetBlockDevicePartitionName(uint64_t index) const;
49 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()
61 std::string name = GetBlockDevicePartitionName(block_device); in GetPhysicalPartitionDevicePath()
1690 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()