/system/update_engine/common/ |
hash_calculator.cc | 30 HashCalculator::HashCalculator() : valid_(false) { 37 bool HashCalculator::Update(const void* data, size_t length) { 46 off_t HashCalculator::UpdateFile(const string& name, off_t length) { 76 bool HashCalculator::Finalize() { 83 bool HashCalculator::RawHashOfBytes(const void* data, 86 HashCalculator calc; 93 bool HashCalculator::RawHashOfData(const brillo::Blob& data, 98 off_t HashCalculator::RawHashOfFile(const string& name, off_t length, 100 HashCalculator calc [all...] |
hash_calculator.h | 38 class HashCalculator { 40 HashCalculator(); 67 // previous HashCalculator::GetContext method call. Returns true on success, 89 DISALLOW_COPY_AND_ASSIGN(HashCalculator);
|
hash_calculator_unittest.cc | 52 HashCalculator calc; 61 HashCalculator calc; 71 HashCalculator calc; 75 HashCalculator calc_next; 85 HashCalculator calc; 119 HashCalculator calc; 127 HashCalculator calc; 148 EXPECT_EQ(2, HashCalculator::RawHashOfFile(data_path, 156 HashCalculator calc; 163 HashCalculator calc [all...] |
/system/update_engine/payload_consumer/ |
filesystem_verifier_action.h | 109 std::unique_ptr<HashCalculator> hasher_;
|
delta_performer.h | 369 HashCalculator payload_hash_calculator_; 374 HashCalculator signed_hash_calculator_;
|
filesystem_verifier_action_unittest.cc | 156 if (!HashCalculator::RawHashOfData(a_loop_data, &part.target_hash)) { 162 if (!HashCalculator::RawHashOfData(a_loop_data, &part.source_hash)) {
|
delta_performer_integration_test.cc | 172 EXPECT_TRUE(HashCalculator::RawHashOfData(data, &hash)); 757 HashCalculator::RawHashOfFile( 761 EXPECT_TRUE(HashCalculator::RawHashOfData( [all...] |
filesystem_verifier_action.cc | 127 hasher_.reset(new HashCalculator());
|
download_action_unittest.cc | 147 EXPECT_TRUE(HashCalculator::RawHashOfBytes( 376 HashCalculator::RawHashOfData({'x'}, &install_plan.payloads[0].hash));
|
delta_performer.cc | [all...] |
delta_performer_unittest.cc | 472 EXPECT_TRUE(HashCalculator::RawHashOfData(expected_data, &src_hash)); 499 EXPECT_TRUE(HashCalculator::RawHashOfData(expected_data, &src_hash)); [all...] |
/system/update_engine/payload_generator/ |
payload_signer.cc | 193 HashCalculator::RawHashOfBytes(payload.data(), metadata_size, 199 HashCalculator calc; 422 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfBytes(x_blob.data(), 507 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfBytes(metadata, 542 HashCalculator::RawHashOfFile(payload_path, file_size, &file_hash) == 544 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfBytes(
|
payload_file.cc | 229 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfFile(payload_file, 316 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfData(buf, &hash));
|
ab_generator.cc | 318 TEST_AND_RETURN_FALSE(HashCalculator::RawHashOfData(src_data, &src_hash));
|
payload_signer_unittest.cc | 110 EXPECT_TRUE(HashCalculator::RawHashOfBytes(data_blob.data(),
|
ab_generator_unittest.cc | 587 EXPECT_TRUE(HashCalculator::RawHashOfData(src_data, &expected_hash));
|
delta_diff_utils.cc | [all...] |