/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 | 91 auto p = builder_->FindPartition(T(name)); in CheckSize() 118 auto p = builder_->FindPartition(T(partition_name)); in CheckGroupName() 240 EXPECT_EQ(nullptr, builder_->FindPartition(T("vendor"))); in TEST_P() 262 EXPECT_EQ(nullptr, builder_->FindPartition(T("vendor"))); in TEST_P()
|
D | partition_cow_creator_test.cpp | 99 vendor = target->FindPartition("vendor_b"); in TEST_F() 103 system = target->FindPartition("system_b"); in TEST_F()
|
D | test_helpers.cpp | 160 auto p = builder->FindPartition(partition.partition_name() + suffix); in FillFakeMetadata()
|
D | snapshot_test.cpp | 1001 ASSERT_NE(nullptr, tgt->FindPartition("sys_b-cow")); in TEST_F() 1002 ASSERT_NE(nullptr, tgt->FindPartition("vnd_b-cow")); in TEST_F() 1003 ASSERT_EQ(nullptr, tgt->FindPartition("prd_b-cow")); in TEST_F() 1223 auto* cow_part = tgt->FindPartition(cow_part_name); in TEST_F() 1227 auto* old_part = src->FindPartition(old_part_name); in TEST_F() 1741 ASSERT_NE(nullptr, flashed_builder->FindPartition("prd" + flashed_slot_suffix)); in TEST_P()
|
D | snapshot_fuzz_utils.cpp | 469 auto p = builder->FindPartition(partition_proto.partition_name()); in CheckWriteSuperMetadata()
|
D | snapshot.cpp | 1249 auto partition = android::fs_mgr::FindPartition(metadata, name); in GetMetadataPartitionState()
|
/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 | 56 EXPECT_EQ(builder->FindPartition("system"), partition); in TEST_F() 59 EXPECT_EQ(builder->FindPartition("system"), nullptr); in TEST_F() 112 ASSERT_EQ(FindPartition(*exported.get(), "not found"), nullptr); in TEST_F() 113 auto entry = FindPartition(*exported.get(), "system"); in TEST_F() 362 Partition* original = builder->FindPartition(GetPartitionName(partition)); in TEST_F() 391 system = builder->FindPartition("system"); in TEST_F() 393 vendor = builder->FindPartition("vendor"); in TEST_F() 640 ASSERT_NE(builder->FindPartition("system"), nullptr); in TEST_F() 641 ASSERT_EQ(builder->FindPartition("vendor"), nullptr); in TEST_F() 645 ASSERT_NE(builder->FindPartition("system"), nullptr); in TEST_F() [all …]
|
D | builder.cpp | 540 if (FindPartition(name)) { in AddPartition() 552 Partition* MetadataBuilder::FindPartition(std::string_view name) const { in FindPartition() function in android::fs_mgr::MetadataBuilder 1182 Partition* partition = FindPartition(partition_name); in ImportPartition() 1311 const auto target_partition = target_metadata.FindPartition(target_partition_name); in VerifyExtentsAgainstSourceMetadata() 1319 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 | 188 auto partition = builder->FindPartition(partition_name); in UpdateMetadata() 216 auto partition = builder->FindPartition(partition_name); in AddAttributes()
|
D | image_manager.cpp | 136 return !!FindPartition(*metadata.get(), name); in BackingImageExists() 365 auto partition = FindPartition(*metadata.get(), name); in MapWithLoopDeviceList()
|
/system/update_engine/ |
D | dynamic_partition_test_utils.h | 190 auto p = builder->FindPartition(partition.partition_name()); 209 auto p = metadata->FindPartition(partition_name); in MatchAndExplain()
|
D | dynamic_partition_control_android.cc | 637 auto p = builder->FindPartition(partition_name_suffix); in GetSystemOtherPath() 972 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/core/fastboot/device/ |
D | commands.cpp | 429 if (builder->FindPartition(partition_name)) { in CreatePartitionHandler() 489 auto partition = builder->FindPartition(partition_name); in ResizePartitionHandler() 511 auto partition = builder->FindPartition(partition_name); in CancelPartitionSnapshot()
|
/system/extras/partition_tools/ |
D | lpdump.cc | 180 static DynamicPartitionsDeviceInfoProto::Partition* FindPartition( in FindPartition() function 225 auto partition_proto = FindPartition(proto, *partition); in MergeFsUsage()
|
D | lpadd.cc | 297 auto partition = android::fs_mgr::FindPartition(*metadata_.get(), partition_name); in WritePartition()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 497 if (builder->FindPartition(partition_name) == nullptr) { in fs_mgr_overlayfs_teardown_scratch() 943 builder->ResizePartition(builder->FindPartition(name), 0); in TruncatePartitionsWithSuffix() 964 auto partition = builder->FindPartition(partition_name); in CreateDynamicScratch() 1346 auto partition = FindPartition(*metadata.get(), partition_name); in EnsureScratchMapped()
|