Home
last modified time | relevance | path

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

/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.cpp95 uint64_t HashTreeBuilder::CalculateSize(uint64_t input_size) const { in CalculateSize() function in HashTreeBuilder
/system/extras/verity/include/verity/
Dhash_tree_builder.h37 uint64_t CalculateSize(uint64_t input_size) const;
/system/update_engine/payload_consumer/
Dverity_writer_android.cc59 if (hash_tree_builder_->CalculateSize(partition_->hash_tree_data_size) != in Init()
63 << hash_tree_builder_->CalculateSize( in Init()
/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()