Home
last modified time | relevance | path

Searched refs:CalculateSize (Results 1 – 12 of 12) sorted by relevance

/system/extras/verity/include/verity/
Dhash_tree_builder.h38 uint64_t CalculateSize(uint64_t input_size) const { in CalculateSize() function
39 return CalculateSize(input_size, block_size_, hash_size_); in CalculateSize()
41 static uint64_t CalculateSize(uint64_t input_size, size_t block_size, size_t hash_size);
/system/update_engine/aosp/
Dapex_handler_android.h36 android::base::Result<uint64_t> CalculateSize(
46 android::base::Result<uint64_t> CalculateSize(
Dapex_handler_android.cc58 android::base::Result<uint64_t> ApexHandlerAndroid::CalculateSize( in CalculateSize() function in chromeos_update_engine::ApexHandlerAndroid
100 android::base::Result<uint64_t> FlattenedApexHandlerAndroid::CalculateSize( in CalculateSize() function in chromeos_update_engine::FlattenedApexHandlerAndroid
Dapex_handler_interface.h31 virtual android::base::Result<uint64_t> CalculateSize(
Dapex_handler_android_unittest.cc53 auto result = apex_handler.CalculateSize(apex_infos); in TEST()
82 auto result = apex_handler.CalculateSize(apex_infos); in TEST()
Dupdate_attempter_android.cc999 auto result = apex_handler_android_->CalculateSize(apex_infos); in AllocateSpaceForPayload()
/system/extras/verity/
Dbuild_verity_tree_test.cpp63 TEST_F(BuildVerityTreeTest, CalculateSize) { in TEST_F() argument
65 ASSERT_EQ(4096u, builder->CalculateSize(1)); in TEST_F()
67 ASSERT_EQ(4096u, builder->CalculateSize(128 * 4096)); in TEST_F()
69 ASSERT_EQ(12288u, builder->CalculateSize(128 * 4096 + 1)); in TEST_F()
71 ASSERT_EQ(20811776u, builder->CalculateSize(2641915904)); in TEST_F()
Dbuild_verity_tree_main.cpp130 uint64_t tree_size = builder.CalculateSize(calculate_size); in main()
Dhash_tree_builder.cpp99 uint64_t HashTreeBuilder::CalculateSize( in CalculateSize() function in HashTreeBuilder
/system/update_engine/payload_consumer/
Dverity_writer_android.cc58 if (hash_tree_builder_->CalculateSize(partition_->hash_tree_data_size) != in Init()
62 << hash_tree_builder_->CalculateSize( in Init()
Dfilesystem_verifier_action_unittest.cc71 hash_tree_size = HashTreeBuilder::CalculateSize( in SetUp()
/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc87 uint64_t tree_size = hash_tree_builder.CalculateSize(data_size); in VerifyVerityConfig()
205 hash_tree_builder.CalculateSize(num_data_blocks * block_size); in LoadVerityConfig()