Home
last modified time | relevance | path

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

12

/system/core/fs_mgr/liblp/
Dbuilder_test.cpp64 TEST_F(BuilderTest, ResizePartition) { in TEST_F() argument
70 EXPECT_EQ(builder->ResizePartition(system, 65536), true); in TEST_F()
84 EXPECT_EQ(builder->ResizePartition(system, 65536), true); in TEST_F()
89 EXPECT_EQ(builder->ResizePartition(system, 0), true); in TEST_F()
93 builder->ResizePartition(system, 131072); in TEST_F()
98 builder->ResizePartition(system, 1024 * 256); in TEST_F()
104 builder->ResizePartition(system, 32768); in TEST_F()
120 builder->ResizePartition(system, 0); in TEST_F()
132 EXPECT_EQ(builder->ResizePartition(system, 10000), true); in TEST_F()
136 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()
Dsuper_layout_builder_test.cpp44 ASSERT_TRUE(builder->ResizePartition(p, 16_KiB)); in TEST()
120 ASSERT_TRUE(builder->ResizePartition(p, 4_KiB)); in TEST()
Dsuper_layout_builder.cpp79 if (!builder_->ResizePartition(p, partition_size)) { in AddPartition()
Dio_test.cpp103 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.cpp63 ASSERT_TRUE(builder_a->ResizePartition(system_a, partition_size)); in TEST_F()
69 ASSERT_TRUE(builder_b->ResizePartition(system_b, partition_size)); in TEST_F()
94 ASSERT_TRUE(source->ResizePartition(system, big_size)); in TEST_F()
97 ASSERT_TRUE(source->ResizePartition(vendor, big_size)); in TEST_F()
99 ASSERT_TRUE(source->ResizePartition(system, small_size)); in TEST_F()
108 ASSERT_TRUE(target->ResizePartition(vendor, small_size)); in TEST_F()
112 ASSERT_TRUE(target->ResizePartition(system, big_size * 2 - small_size)); in TEST_F()
135 ASSERT_TRUE(builder_a->ResizePartition(system_a, partition_size)); in TEST_F()
141 ASSERT_TRUE(builder_b->ResizePartition(system_b, partition_size)); in TEST_F()
243 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.cpp195 if (!builder->ResizePartition(p, partition.new_partition_info().size())) { in FillFakeMetadata()
Dsnapshot_test.cpp314 if (!builder->ResizePartition(partition, size)) { in CreatePartition()
1070 ASSERT_TRUE(src_->ResizePartition(partition, 1_MiB)); in SetUp()
1812 ASSERT_TRUE(src_->ResizePartition(partition, 2_MiB)); in TEST_F()
/system/core/fastboot/
Dfastboot_driver_mock.h45 MOCK_METHOD(RetCode, ResizePartition, (const std::string&, const std::string&), (override));
Dfastboot_driver_interface.h58 RetCode virtual ResizePartition(const std::string& partition, const std::string& size) = 0;
Dtask.cpp277 fp_->fb->ResizePartition(partition, size_); in Run()
Dfastboot_driver.h97 RetCode ResizePartition(const std::string& partition, const std::string& size) override;
Dfastboot_driver.cpp120 RetCode FastBootDriver::ResizePartition(const std::string& partition, const std::string& size) { in ResizePartition() function in fastboot::FastBootDriver
/system/core/fs_mgr/
Dfs_mgr_overlayfs_control.cpp426 builder->ResizePartition(builder->FindPartition(name), 0); in TruncatePartitionsWithSuffix()
465 if (!builder->ResizePartition(partition, partition_size)) { in CreateDynamicScratch()
473 if (!builder->ResizePartition(partition, partition_size)) { in CreateDynamicScratch()
/system/update_engine/aosp/
Ddynamic_partition_test_utils.h193 EXPECT_TRUE(p && builder->ResizePartition(
Dupdate_attempter_android_integration_test.cc148 ASSERT_TRUE(builder_->ResizePartition(partition_a, kFakePartitionSize)); in CreateFakePartition()
Ddynamic_partition_control_android.cc1061 if (!builder->ResizePartition(p, partition_size)) { in UpdatePartitionMetadata()
/system/core/fastboot/device/
Dcommands.cpp517 if (!builder->ResizePartition(partition, partition_size)) { in CreatePartitionHandler()
578 if (!builder->ResizePartition(partition, partition_size)) { in ResizePartitionHandler()
/system/extras/partition_tools/
Dlpmake.cc485 if (!builder->ResizePartition(partition, partition_info.size)) { in main()
Dlpadd.cc208 if (!builder_->ResizePartition(partition, size)) { in AddPartition()
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h317 bool ResizePartition(Partition* partition, uint64_t requested_size,
/system/core/fs_mgr/liblp/fuzzer/
Dliblp_builder_fuzzer.cpp345 mBuilder->ResizePartition(mResizePartition, resizedPartitionSize); in invokeBuilderAPIs()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp259 EXPECT_EQ(fb->ResizePartition(test_partition_name, "4096"), SUCCESS) in TEST_F()

12