/system/update_engine/aosp/ |
D | dynamic_partition_test_utils.h | 122 inline DynamicPartitionGroup* AddGroup(DeltaArchiveManifest* manifest, in AddGroup() function 147 AddGroup(&manifest, std::string(kDefaultGroup) + suffix, kDefaultGroupSize); in PartitionSuffixSizesToManifest() 170 auto* g = AddGroup(&manifest, std::string(kDefaultGroup), kDefaultGroupSize); in PartitionSizesToManifest() 184 EXPECT_TRUE(builder->AddGroup(group.name(), group.size()));
|
D | dynamic_partition_control_android_unittest.cc | 569 auto* g = AddGroup(manifest, group, group_size); in AddGroupAndPartition() 598 AddGroup(&update_manifest, "android", 3_GiB); in TEST_P() 599 AddGroup(&update_manifest, "oem", 3_GiB); in TEST_P() 606 auto* g = AddGroup(&expected, T("android"), 3_GiB); in TEST_P() 611 g = AddGroup(&update_manifest, "android", 3_GiB); in TEST_P() 622 AddGroup(&expected, T("android"), 3_GiB); in TEST_P() 625 AddGroup(&update_manifest, "android", 3_GiB); in TEST_P() 632 TEST_P(DynamicPartitionControlAndroidGroupTestP, AddGroup) { in TEST_P() argument
|
D | dynamic_partition_control_android.cc | 1003 if (!builder->AddGroup(group_name_suffix, group.size())) { in UpdatePartitionMetadata()
|
/system/core/fs_mgr/liblp/ |
D | builder_test.cpp | 521 EXPECT_FALSE(builder->AddGroup("default", 0)); in TEST_F() 529 ASSERT_TRUE(builder->AddGroup("google", 16384)); in TEST_F() 546 ASSERT_TRUE(builder->AddGroup("groupA", 16384)); in TEST_F() 547 ASSERT_TRUE(builder->AddGroup("groupB", 16384)); in TEST_F() 569 ASSERT_TRUE(builder->AddGroup("groupA", 16384)); in TEST_F() 570 ASSERT_TRUE(builder->AddGroup("groupB", 32768)); in TEST_F() 596 ASSERT_TRUE(builder->AddGroup("foo_a", 5_GiB)); in TEST_F() 597 ASSERT_TRUE(builder->AddGroup("foo_b", 5_GiB)); in TEST_F() 620 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F() 630 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F() [all …]
|
D | utility_test.cpp | 122 ASSERT_TRUE(builder->AddGroup("group_a", 256 * 1024)); in TEST() 130 ASSERT_TRUE(builder->AddGroup("group_b", 258 * 1024)); in TEST()
|
D | builder.cpp | 328 if (!AddGroup(group_name, group.maximum_size)) { in Init() 510 if (!AddGroup(std::string(kDefaultGroup), 0)) { in Init() 516 bool MetadataBuilder::AddGroup(std::string_view group_name, uint64_t maximum_size) { in AddGroup() function in android::fs_mgr::MetadataBuilder
|
D | io_test.cpp | 630 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F() 676 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_metadata_updater.cpp | 201 if (!builder_->AddGroup(group_update.name, group_update->size())) { in AddGroups()
|
D | test_helpers.cpp | 221 if (!builder->AddGroup(group.name() + suffix, group.size())) { in FillFakeMetadata()
|
D | snapshot_test.cpp | 354 builder->AddGroup("group_a", 16_GiB); in PrepareOneSnapshot() 355 builder->AddGroup("group_b", 16_GiB); in PrepareOneSnapshot() 889 ASSERT_TRUE(src_->AddGroup("group_b", kGroupSize)); in SetUp() 1510 ASSERT_TRUE(src_->AddGroup(group_->name() + suffix, kRetrofitGroupSize)); in TEST_F()
|
D | snapshot_fuzz_utils.cpp | 458 (void)builder->AddGroup(group_proto.name(), group_proto.size()); in CheckWriteSuperMetadata()
|
D | snapshot.cpp | 2874 if (!target_metadata->AddGroup(kCowGroupName, 0)) { in CreateUpdateSnapshotsInternal()
|
/system/extras/partition_tools/ |
D | lpmake.cc | 413 if (!builder->AddGroup(name, size)) { in main()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 276 bool AddGroup(std::string_view group_name, uint64_t maximum_size);
|