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.cpp1080 auto target_builder = MetadataBuilder::New(4096 * 50, 40960, 2); in TEST_F() local
1081 ASSERT_NE(target_builder, nullptr); in TEST_F()
1082 ASSERT_TRUE(target_builder->AddGroup("test_group_b", 40960)); in TEST_F()
1083 AddPartition(target_builder, "system_b", "test_group_b", 8192, 2048); in TEST_F()
1084 AddPartition(target_builder, "vendor_b", "test_group_b", 10240, 10240); in TEST_F()
1087 *source_builder, 0, *target_builder, 1, std::vector<std::string>{"system", "vendor"})); in TEST_F()
1089 target_builder->RemovePartition("vendor_b"); in TEST_F()
1090 ASSERT_FALSE(target_builder->VerifyExtentsAgainstSourceMetadata( in TEST_F()
1091 *source_builder, 0, *target_builder, 1, std::vector<std::string>{"vendor"})); in TEST_F()
1093 AddPartition(target_builder, "vendor_b", "test_group_b", 1000, 10240); in TEST_F()
[all …]
/system/update_engine/
Ddynamic_partition_control_android.cc1132 auto target_builder = LoadMetadataBuilder(target_super_device, target_slot); in VerifyExtentsForUntouchedPartitions() local
1133 TEST_AND_RETURN_FALSE(target_builder != nullptr); in VerifyExtentsForUntouchedPartitions()
1136 *source_builder, source_slot, *target_builder, target_slot, partitions); in VerifyExtentsForUntouchedPartitions()