Home
last modified time | relevance | path

Searched refs:ResizePartition (Results 1 – 21 of 21) sorted by relevance

/system/core/fs_mgr/liblp/
Dbuilder_test.cpp62 TEST_F(BuilderTest, ResizePartition) { in TEST_F() argument
68 EXPECT_EQ(builder->ResizePartition(system, 65536), true); in TEST_F()
82 EXPECT_EQ(builder->ResizePartition(system, 65536), true); in TEST_F()
87 EXPECT_EQ(builder->ResizePartition(system, 0), true); in TEST_F()
91 builder->ResizePartition(system, 131072); in TEST_F()
96 builder->ResizePartition(system, 1024 * 256); in TEST_F()
102 builder->ResizePartition(system, 32768); in TEST_F()
118 builder->ResizePartition(system, 0); in TEST_F()
130 EXPECT_EQ(builder->ResizePartition(system, 10000), true); in TEST_F()
134 builder->ResizePartition(system, 7000); in TEST_F()
[all …]
Dutility_test.cpp125 ASSERT_TRUE(builder->ResizePartition(system_a, 40 * 1024)); in TEST()
128 ASSERT_TRUE(builder->ResizePartition(vendor_a, 20 * 1024)); in TEST()
133 ASSERT_TRUE(builder->ResizePartition(system_b, 36 * 1024)); in TEST()
136 ASSERT_TRUE(builder->ResizePartition(vendor_b, 32 * 1024)); in TEST()
Dio_test.cpp99 return builder->ResizePartition(system, 24 * 1024); in AddDefaultPartitions()
Dbuilder.cpp1069 bool MetadataBuilder::ResizePartition(Partition* partition, uint64_t requested_size, in ResizePartition() function in android::fs_mgr::MetadataBuilder
/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator_test.cpp62 ASSERT_TRUE(builder_a->ResizePartition(system_a, partition_size)); in TEST_F()
68 ASSERT_TRUE(builder_b->ResizePartition(system_b, partition_size)); in TEST_F()
93 ASSERT_TRUE(source->ResizePartition(system, big_size)); in TEST_F()
96 ASSERT_TRUE(source->ResizePartition(vendor, big_size)); in TEST_F()
98 ASSERT_TRUE(source->ResizePartition(system, small_size)); in TEST_F()
107 ASSERT_TRUE(target->ResizePartition(vendor, small_size)); in TEST_F()
111 ASSERT_TRUE(target->ResizePartition(system, big_size * 2 - small_size)); in TEST_F()
134 ASSERT_TRUE(builder_a->ResizePartition(system_a, partition_size)); in TEST_F()
140 ASSERT_TRUE(builder_b->ResizePartition(system_b, partition_size)); in TEST_F()
242 ASSERT_TRUE(builder_b->ResizePartition(system_b, 128_KiB)); in TEST_F()
[all …]
Dsnapshot_metadata_updater.cpp80 if (!builder_->ResizePartition(existing_partition, new_size)) { in ShrinkPartitions()
250 if (!builder_->ResizePartition(existing_partition, new_size)) { in GrowPartitions()
Dtest_helpers.cpp240 if (!builder->ResizePartition(p, partition.new_partition_info().size())) { in FillFakeMetadata()
Dsnapshot_fuzz_utils.cpp468 (void)builder->ResizePartition(p, partition_proto.new_partition_info().size()); in CheckWriteSuperMetadata()
Dsnapshot_test.cpp203 if (!builder->ResizePartition(partition, size)) { in CreatePartition()
892 ASSERT_TRUE(src_->ResizePartition(partition, 1_MiB)); in SetUp()
1514 ASSERT_TRUE(src_->ResizePartition(partition, 2_MiB)); in TEST_F()
Dsnapshot.cpp2979 if (!target_metadata->ResizePartition( in CreateUpdateSnapshotsInternal()
/system/update_engine/aosp/
Ddynamic_partition_test_utils.h193 EXPECT_TRUE(p && builder->ResizePartition(
Ddynamic_partition_control_android.cc1031 if (!builder->ResizePartition(p, partition_size)) { in UpdatePartitionMetadata()
/system/core/fastboot/
Dfastboot_driver.h103 RetCode ResizePartition(const std::string& partition, const std::string& size);
Dfastboot.cpp1364 fb->ResizePartition(pname, std::to_string(buf.image_size)); in do_flash()
1489 fb->ResizePartition(partition, "0"); in Flash()
1564 fb->ResizePartition(partition_name, std::to_string(buf->image_size)); in FlashImage()
2260 fb->ResizePartition(partition, size); in Main()
Dfastboot_driver.cpp118 RetCode FastBootDriver::ResizePartition(const std::string& partition, const std::string& size) { in ResizePartition() function in fastboot::FastBootDriver
/system/extras/partition_tools/
Dlpmake.cc426 if (!builder->ResizePartition(partition, partition_info.size)) { in main()
Dlpadd.cc195 if (!builder_->ResizePartition(partition, size)) { in AddPartition()
/system/core/fastboot/device/
Dcommands.cpp487 if (!builder->ResizePartition(partition, partition_size)) { in CreatePartitionHandler()
548 if (!builder->ResizePartition(partition, partition_size)) { in ResizePartitionHandler()
/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp1002 builder->ResizePartition(builder->FindPartition(name), 0); in TruncatePartitionsWithSuffix()
1056 if (!builder->ResizePartition(partition, partition_size)) { in CreateDynamicScratch()
1064 if (!builder->ResizePartition(partition, partition_size)) { in CreateDynamicScratch()
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h317 bool ResizePartition(Partition* partition, uint64_t requested_size,
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp259 EXPECT_EQ(fb->ResizePartition(test_partition_name, "4096"), SUCCESS) in TEST_F()