Home
last modified time | relevance | path

Searched refs:target_builder (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/liblp/
Dbuilder_test.cpp1075 auto target_builder = MetadataBuilder::New(4096 * 50, 40960, 2); in TEST_F() local
1076 ASSERT_NE(target_builder, nullptr); in TEST_F()
1077 ASSERT_TRUE(target_builder->AddGroup("test_group_b", 40960)); in TEST_F()
1078 AddPartition(target_builder, "system_b", "test_group_b", 8192, 2048); in TEST_F()
1079 AddPartition(target_builder, "vendor_b", "test_group_b", 10240, 10240); in TEST_F()
1082 *source_builder, 0, *target_builder, 1, std::vector<std::string>{"system", "vendor"})); in TEST_F()
1084 target_builder->RemovePartition("vendor_b"); in TEST_F()
1085 ASSERT_FALSE(target_builder->VerifyExtentsAgainstSourceMetadata( in TEST_F()
1086 *source_builder, 0, *target_builder, 1, std::vector<std::string>{"vendor"})); in TEST_F()
1088 AddPartition(target_builder, "vendor_b", "test_group_b", 1000, 10240); in TEST_F()
[all …]
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc1367 auto target_builder = LoadMetadataBuilder(target_super_device, target_slot); in VerifyExtentsForUntouchedPartitions() local
1368 TEST_AND_RETURN_FALSE(target_builder != nullptr); in VerifyExtentsForUntouchedPartitions()
1371 *source_builder, source_slot, *target_builder, target_slot, partitions); in VerifyExtentsForUntouchedPartitions()