Home
last modified time | relevance | path

Searched refs:AddPartition (Results 1 – 25 of 26) sorted by relevance

12

/system/core/fs_mgr/liblp/
Dbuilder_test.cpp51 Partition* partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
66 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
128 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
210 Partition* a = builder->AddPartition("a", 0); in TEST_F()
212 Partition* b = builder->AddPartition("b", 0); in TEST_F()
255 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
270 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
271 Partition* vendor = builder->AddPartition("vendor", LP_PARTITION_ATTR_READONLY); in TEST_F()
304 Partition* partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
308 partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
[all …]
Dutility_test.cpp123 Partition* system_a = builder->AddPartition("system_a", "group_a", LP_PARTITION_ATTR_READONLY); in TEST()
126 Partition* vendor_a = builder->AddPartition("vendor_a", "group_a", LP_PARTITION_ATTR_READONLY); in TEST()
131 Partition* system_b = builder->AddPartition("system_b", "group_b", LP_PARTITION_ATTR_READONLY); in TEST()
134 Partition* vendor_b = builder->AddPartition("vendor_b", "group_b", LP_PARTITION_ATTR_READONLY); in TEST()
Dbuilder.cpp336 AddPartition(GetPartitionName(partition), group_name, partition.attributes); in Init()
525 Partition* MetadataBuilder::AddPartition(const std::string& name, uint32_t attributes) { in AddPartition() function in android::fs_mgr::MetadataBuilder
526 return AddPartition(name, kDefaultGroup, attributes); in AddPartition()
529 Partition* MetadataBuilder::AddPartition(std::string_view name, std::string_view group_name, in AddPartition() function in android::fs_mgr::MetadataBuilder
1180 partition = AddPartition(partition_name, group_name, source.attributes); in ImportPartition()
Dio_test.cpp95 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_NONE); in AddDefaultPartitions()
383 partition = builder->AddPartition(to_string(i), LP_PARTITION_ATTR_NONE); in TEST_F()
399 partition = builder->AddPartition("final", LP_PARTITION_ATTR_NONE); in TEST_F()
/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator_test.cpp60 auto system_a = builder_a->AddPartition("system_a", LP_PARTITION_ATTR_READONLY); in TEST_F()
66 auto system_b = builder_b->AddPartition("system_b", LP_PARTITION_ATTR_READONLY); in TEST_F()
91 auto system = source->AddPartition("system_a", 0); in TEST_F()
94 auto vendor = source->AddPartition("vendor_a", 0); in TEST_F()
132 auto system_a = builder_a->AddPartition("system_a", LP_PARTITION_ATTR_READONLY); in TEST_F()
138 auto system_b = builder_b->AddPartition("system_b", LP_PARTITION_ATTR_READONLY); in TEST_F()
215 auto system_b = builder_b->AddPartition("system_b", LP_PARTITION_ATTR_READONLY); in TEST_F()
240 auto system_b = builder_b->AddPartition("system_b", LP_PARTITION_ATTR_READONLY); in TEST_F()
267 auto system_b = builder_b->AddPartition("system_b", LP_PARTITION_ATTR_READONLY); in TEST_F()
Dsnapshot_metadata_updater.cpp229 builder_->AddPartition(partition_update.name, partition_update.group_name, in AddPartitions()
Dtest_helpers.cpp226 auto p = builder->AddPartition(partition_name + suffix, group.name() + suffix, in FillFakeMetadata()
Dsnapshot_fuzz_utils.cpp460 (void)builder->AddPartition(partition_name, group_proto.name(), in CheckWriteSuperMetadata()
Dsnapshot_test.cpp201 auto partition = builder->AddPartition(name, group, 0); in CreatePartition()
890 auto partition = src_->AddPartition("sys_b", "group_b", 0); in SetUp()
1512 auto partition = src_->AddPartition(name + suffix, group_->name() + suffix, 0); in TEST_F()
/system/update_engine/aosp/
Ddynamic_partition_test_utils.h131 inline void AddPartition(DeltaArchiveManifest* manifest, in AddPartition() function
154 AddPartition( in PartitionSuffixSizesToManifest()
172 AddPartition(&manifest, g, pair.first, pair.second); in PartitionSizesToManifest()
188 builder->AddPartition(partition_name, group.name(), partition_attr));
Ddynamic_partition_control_android_unittest.cc570 AddPartition(manifest, g, partition, partition_size); in AddGroupAndPartition()
607 AddPartition(&expected, g, T("system"), 2_GiB); in TEST_P()
608 AddPartition(&expected, g, T("system_ext"), 1_GiB); in TEST_P()
612 AddPartition(&update_manifest, g, "system", 2_GiB); in TEST_P()
613 AddPartition(&update_manifest, g, "system_ext", 1_GiB); in TEST_P()
Ddynamic_partition_control_android.cc1024 Partition* p = builder->AddPartition( in UpdatePartitionMetadata()
/system/update_engine/payload_generator/
Dpayload_file.h44 bool AddPartition(const PartitionConfig& old_conf,
Dpayload_properties_unittest.cc91 payload.AddPartition(old_part, new_part, aops, {}, 0); in SetUp()
Ddelta_diff_generator.cc240 payload.AddPartition(old_part, in GenerateUpdatePayloadFile()
Dpayload_file.cc95 bool PayloadFile::AddPartition(const PartitionConfig& old_conf, in AddPartition() function in chromeos_update_engine::PayloadFile
/system/extras/partition_tools/
Dlpadd.cc107 bool AddPartition(const std::string& partition_name, const std::string& group_name,
160 bool SuperHelper::AddPartition(const std::string& partition_name, const std::string& group_name, in AddPartition() function in SuperHelper
167 auto partition = builder_->AddPartition(partition_name, group_name, attributes); in AddPartition()
474 if (!super.AddPartition(partition_name, group_name, attributes, image_path)) { in main()
Dlpmake.cc420 Partition* partition = builder->AddPartition(partition_info.name, partition_info.group_name, in main()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc161 void AddPartition(DeltaArchiveManifest* manifest, in AddPartition() function in chromeos_update_engine::DeltaPerformerIntegrationTest
1137 AddPartition(&manifest, "system", 10); in TEST_F()
1138 AddPartition(&manifest, "product", 100); in TEST_F()
1154 AddPartition(&manifest, "system", 10); in TEST_F()
1155 AddPartition(&manifest, "product", 98); in TEST_F()
1173 AddPartition(&manifest, "system", 10); in TEST_F()
1193 AddPartition(&manifest, "product", 100); in TEST_F()
1206 AddPartition(&manifest, "product", 98); in TEST_F()
Ddelta_performer_unittest.cc237 payload.AddPartition(*old_part, new_part, aops, {}, 0); in GeneratePayload()
243 payload.AddPartition(*old_part, new_part, {}, {}, 0); in GeneratePayload()
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h284 Partition* AddPartition(std::string_view name, std::string_view group_name,
289 Partition* AddPartition(const std::string& name, uint32_t attributes);
/system/core/fs_mgr/libfiemap/
Dmetadata.cpp193 if ((partition = builder->AddPartition(partition_name, attrs)) == nullptr) { in UpdateMetadata()
/system/update_engine/
Ddownload_action_android_unittest.cc110 payload_file.AddPartition(partition_config, partition_config, {}, {}, 0)); in TEST_F()
/system/core/fastboot/device/
Dcommands.cpp483 auto partition = builder->AddPartition(partition_name, 0); in CreatePartitionHandler()
/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp1027 partition = builder->AddPartition(partition_name, LP_PARTITION_ATTR_NONE); in CreateDynamicScratch()

12