/system/update_engine/ |
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() 182 EXPECT_TRUE(builder->AddGroup(group.name(), group.size()));
|
D | dynamic_partition_control_android_unittest.cc | 474 auto* g = AddGroup(manifest, group, group_size); in AddGroupAndPartition() 503 AddGroup(&update_manifest, "android", 3_GiB); in TEST_P() 504 AddGroup(&update_manifest, "oem", 3_GiB); in TEST_P() 511 auto* g = AddGroup(&expected, T("android"), 3_GiB); in TEST_P() 516 g = AddGroup(&update_manifest, "android", 3_GiB); in TEST_P() 527 AddGroup(&expected, T("android"), 3_GiB); in TEST_P() 530 AddGroup(&update_manifest, "android", 3_GiB); in TEST_P() 537 TEST_P(DynamicPartitionControlAndroidGroupTestP, AddGroup) { in TEST_P() argument
|
D | dynamic_partition_control_android.cc | 831 if (!builder->AddGroup(group_name_suffix, group.size())) { in UpdatePartitionMetadata()
|
/system/core/fs_mgr/liblp/ |
D | builder_test.cpp | 526 EXPECT_FALSE(builder->AddGroup("default", 0)); in TEST_F() 534 ASSERT_TRUE(builder->AddGroup("google", 16384)); in TEST_F() 551 ASSERT_TRUE(builder->AddGroup("groupA", 16384)); in TEST_F() 552 ASSERT_TRUE(builder->AddGroup("groupB", 16384)); in TEST_F() 574 ASSERT_TRUE(builder->AddGroup("groupA", 16384)); in TEST_F() 575 ASSERT_TRUE(builder->AddGroup("groupB", 32768)); in TEST_F() 601 ASSERT_TRUE(builder->AddGroup("foo_a", 5_GiB)); in TEST_F() 602 ASSERT_TRUE(builder->AddGroup("foo_b", 5_GiB)); in TEST_F() 625 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F() 635 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() 515 if (!AddGroup(std::string(kDefaultGroup), 0)) { in Init() 521 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 | 146 if (!builder->AddGroup(group.name() + suffix, group.size())) { in FillFakeMetadata()
|
D | snapshot_fuzz_utils.cpp | 461 (void)builder->AddGroup(group_proto.name(), group_proto.size()); in CheckWriteSuperMetadata()
|
D | snapshot_test.cpp | 808 ASSERT_TRUE(src_->AddGroup("group_b", kGroupSize)); in SetUp() 1248 ASSERT_TRUE(src_->AddGroup(group_->name() + suffix, kRetrofitGroupSize)); in TEST_F()
|
D | snapshot.cpp | 2247 if (!target_metadata->AddGroup(kCowGroupName, 0)) { in CreateUpdateSnapshotsInternal()
|
/system/extras/partition_tools/ |
D | lpmake.cc | 342 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);
|