Home
last modified time | relevance | path

Searched refs:AddGroup (Results 1 – 14 of 14) sorted by relevance

/system/update_engine/
Ddynamic_partition_test_utils.h122 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()));
Ddynamic_partition_control_android_unittest.cc474 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
Ddynamic_partition_control_android.cc831 if (!builder->AddGroup(group_name_suffix, group.size())) { in UpdatePartitionMetadata()
/system/core/fs_mgr/liblp/
Dbuilder_test.cpp526 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 …]
Dutility_test.cpp122 ASSERT_TRUE(builder->AddGroup("group_a", 256 * 1024)); in TEST()
130 ASSERT_TRUE(builder->AddGroup("group_b", 258 * 1024)); in TEST()
Dbuilder.cpp328 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
Dio_test.cpp630 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F()
676 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.cpp201 if (!builder_->AddGroup(group_update.name, group_update->size())) { in AddGroups()
Dtest_helpers.cpp146 if (!builder->AddGroup(group.name() + suffix, group.size())) { in FillFakeMetadata()
Dsnapshot_fuzz_utils.cpp461 (void)builder->AddGroup(group_proto.name(), group_proto.size()); in CheckWriteSuperMetadata()
Dsnapshot_test.cpp808 ASSERT_TRUE(src_->AddGroup("group_b", kGroupSize)); in SetUp()
1248 ASSERT_TRUE(src_->AddGroup(group_->name() + suffix, kRetrofitGroupSize)); in TEST_F()
Dsnapshot.cpp2247 if (!target_metadata->AddGroup(kCowGroupName, 0)) { in CreateUpdateSnapshotsInternal()
/system/extras/partition_tools/
Dlpmake.cc342 if (!builder->AddGroup(name, size)) { in main()
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h276 bool AddGroup(std::string_view group_name, uint64_t maximum_size);