/system/core/fs_mgr/libsnapshot/ |
D | snapshot_metadata_updater.cpp | 72 auto* existing_partition = builder_->FindPartition(partition_update.name); in ShrinkPartitions() 124 auto* existing_partition = builder_->FindPartition(partition_update.name); in MovePartitionsToDefault() 227 if (builder_->FindPartition(partition_update.name) == nullptr) { in AddPartitions() 242 auto* existing_partition = builder_->FindPartition(partition_update.name); in GrowPartitions() 259 auto* existing_partition = builder_->FindPartition(partition_update.name); in MovePartitionsToCorrectGroup()
|
D | snapshot_metadata_updater_test.cpp | 95 auto p = builder_->FindPartition(T(name)); in CheckSize() 122 auto p = builder_->FindPartition(T(partition_name)); in CheckGroupName() 243 EXPECT_EQ(nullptr, builder_->FindPartition(T("vendor"))); in TEST_P() 265 EXPECT_EQ(nullptr, builder_->FindPartition(T("vendor"))); in TEST_P()
|
D | snapshotctl.cpp | 44 using android::fs_mgr::FindPartition; 116 auto system_source = FindPartition(*source_metadata.get(), system_source_name); in CreateTestUpdate()
|
D | partition_cow_creator_test.cpp | 105 vendor = target->FindPartition("vendor_b"); in TEST_F() 109 system = target->FindPartition("system_b"); in TEST_F()
|
D | test_helpers.cpp | 195 auto p = builder->FindPartition(partition.partition_name() + suffix); in FillFakeMetadata()
|
D | snapshot_test.cpp | 1315 ASSERT_NE(nullptr, tgt->FindPartition("sys_b-cow")); in TEST_F() 1316 ASSERT_NE(nullptr, tgt->FindPartition("vnd_b-cow")); in TEST_F() 1317 ASSERT_EQ(nullptr, tgt->FindPartition("prd_b-cow")); in TEST_F() 1802 auto* cow_part = tgt->FindPartition(cow_part_name); in TEST_F() 1806 auto* old_part = src->FindPartition(old_part_name); in TEST_F() 2613 ASSERT_NE(nullptr, flashed_builder->FindPartition("prd" + flashed_slot_suffix)); in TEST_P()
|
D | snapshot.cpp | 1862 auto partition = android::fs_mgr::FindPartition(metadata, name); in GetMetadataPartitionState() 3452 auto old_partition = cow_creator->current_metadata->FindPartition(old_partition_name); in CreateUpdateSnapshotsInternal()
|
/system/core/fs_mgr/liblp/ |
D | utility_test.cpp | 153 EXPECT_EQ(nullptr, new_builder->FindPartition("system_a")); in TEST() 154 EXPECT_EQ(nullptr, new_builder->FindPartition("vendor_a")); in TEST() 160 auto new_system_b = new_builder->FindPartition("system_b"); in TEST() 166 auto new_vendor_b = new_builder->FindPartition("vendor_b"); in TEST()
|
D | builder_test.cpp | 58 EXPECT_EQ(builder->FindPartition("system"), partition); in TEST_F() 61 EXPECT_EQ(builder->FindPartition("system"), nullptr); in TEST_F() 114 ASSERT_EQ(FindPartition(*exported.get(), "not found"), nullptr); in TEST_F() 115 auto entry = FindPartition(*exported.get(), "system"); in TEST_F() 364 Partition* original = builder->FindPartition(GetPartitionName(partition)); in TEST_F() 393 system = builder->FindPartition("system"); in TEST_F() 395 vendor = builder->FindPartition("vendor"); in TEST_F() 637 ASSERT_NE(builder->FindPartition("system"), nullptr); in TEST_F() 638 ASSERT_EQ(builder->FindPartition("vendor"), nullptr); in TEST_F() 642 ASSERT_NE(builder->FindPartition("system"), nullptr); in TEST_F() [all …]
|
D | super_layout_builder.cpp | 73 auto p = builder_->FindPartition(partition_name); in AddPartition()
|
D | builder.cpp | 535 if (FindPartition(name)) { in AddPartition() 547 Partition* MetadataBuilder::FindPartition(std::string_view name) const { in FindPartition() function in android::fs_mgr::MetadataBuilder 1177 Partition* partition = FindPartition(partition_name); in ImportPartition() 1306 const auto target_partition = target_metadata.FindPartition(target_partition_name); in VerifyExtentsAgainstSourceMetadata() 1314 const auto source_partition = source_metadata.FindPartition(source_partition_name); in VerifyExtentsAgainstSourceMetadata()
|
D | utility.cpp | 144 const LpMetadataPartition* FindPartition(const LpMetadata& metadata, const std::string& name) { in FindPartition() function
|
/system/core/fs_mgr/libfiemap/ |
D | metadata.cpp | 197 auto partition = builder->FindPartition(partition_name); in UpdateMetadata() 225 auto partition = builder->FindPartition(partition_name); in AddAttributes()
|
D | image_manager.cpp | 150 return !!FindPartition(*metadata.get(), name); in BackingImageExists() 379 auto partition = FindPartition(*metadata.get(), name); in MapWithLoopDeviceList() 842 auto old_p = builder->FindPartition(name); in ValidateImageMaps() 867 auto partition = FindPartition(*metadata.get(), name); in IsImageDisabled()
|
/system/update_engine/aosp/ |
D | dynamic_partition_test_utils.h | 192 auto p = builder->FindPartition(partition.partition_name()); 211 auto p = metadata->FindPartition(partition_name); in MatchAndExplain()
|
D | dynamic_partition_control_android.cc | 734 auto p = builder->FindPartition(partition_name_suffix); in GetSystemOtherPath() 1212 if (builder->FindPartition(partition_name_suffix) == nullptr) { in GetDynamicPartitionDevice()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | liblp.h | 121 const LpMetadataPartition* FindPartition(const LpMetadata& metadata, const std::string& name);
|
D | builder.h | 295 Partition* FindPartition(std::string_view name) const;
|
/system/extras/partition_tools/ |
D | lpadd.cc | 172 auto partition = builder_->FindPartition(partition_name); in AddPartition() 310 auto partition = android::fs_mgr::FindPartition(*metadata_.get(), partition_name); in WritePartition()
|
D | lpdump.cc | 180 static DynamicPartitionsDeviceInfoProto::Partition* FindPartition( in FindPartition() function 225 auto partition_proto = FindPartition(proto, *partition); in MergeFsUsage()
|
/system/core/fs_mgr/ |
D | fs_mgr_remount.cpp | 205 static Fstab::const_iterator FindPartition(const Fstab& fstab, const std::string& partition) { in FindPartition() function 248 auto it = FindPartition(fstab, partition); in GetRemountList()
|
D | fs_mgr_overlayfs.cpp | 543 if (builder->FindPartition(partition_name) == nullptr) { in fs_mgr_overlayfs_teardown_scratch() 974 builder->ResizePartition(builder->FindPartition(name), 0); in TruncatePartitionsWithSuffix() 994 auto partition = builder->FindPartition(partition_name); in CreateDynamicScratch() 1484 auto partition = FindPartition(*metadata.get(), partition_name); in EnsureScratchMapped()
|
/system/core/fastboot/device/ |
D | commands.cpp | 506 if (builder->FindPartition(partition_name)) { in CreatePartitionHandler() 566 auto partition = builder->FindPartition(partition_name); in ResizePartitionHandler() 588 auto partition = builder->FindPartition(partition_name); in CancelPartitionSnapshot()
|