Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dbuilder_test.cpp523 EXPECT_FALSE(builder->AddGroup("default", 0)); in TEST_F()
531 ASSERT_TRUE(builder->AddGroup("google", 16384)); in TEST_F()
548 ASSERT_TRUE(builder->AddGroup("groupA", 16384)); in TEST_F()
549 ASSERT_TRUE(builder->AddGroup("groupB", 16384)); in TEST_F()
571 ASSERT_TRUE(builder->AddGroup("groupA", 16384)); in TEST_F()
572 ASSERT_TRUE(builder->AddGroup("groupB", 32768)); in TEST_F()
598 ASSERT_TRUE(builder->AddGroup("foo_a", 5_GiB)); in TEST_F()
599 ASSERT_TRUE(builder->AddGroup("foo_b", 5_GiB)); in TEST_F()
622 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F()
632 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()
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
Dio_test.cpp634 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F()
680 ASSERT_TRUE(builder->AddGroup("example", 0)); in TEST_F()
/system/update_engine/aosp/
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()
184 EXPECT_TRUE(builder->AddGroup(group.name(), group.size()));
Ddynamic_partition_control_android_unittest.cc569 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
Dupdate_attempter_android_integration_test.cc72 ASSERT_TRUE(builder_->AddGroup("fake_group", kFakePartitionSize * 2)); in AddFakePartitionGroup()
Ddynamic_partition_control_android.cc1026 if (!builder->AddGroup(group_name_suffix, group.size())) { in UpdatePartitionMetadata()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.cpp201 if (!builder_->AddGroup(group_update.name, group_update->size())) { in AddGroups()
Dtest_helpers.cpp181 if (!builder->AddGroup(group.name() + suffix, group.size())) { in FillFakeMetadata()
Dsnapshot_test.cpp464 builder->AddGroup("group_a", 16_GiB); in PrepareOneSnapshot()
465 builder->AddGroup("group_b", 16_GiB); in PrepareOneSnapshot()
1021 ASSERT_TRUE(src_->AddGroup("group_b", kGroupSize)); in SetUp()
1827 ASSERT_TRUE(src_->AddGroup(group_->name() + suffix, kRetrofitGroupSize)); in TEST_F()
Dsnapshot.cpp3371 if (!target_metadata->AddGroup(kCowGroupName, 0)) { in CreateUpdateSnapshotsInternal()
/system/extras/partition_tools/
Dlpmake.cc464 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);