Home
last modified time | relevance | path

Searched refs:expected_hash (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/payload_consumer/
Dfile_descriptor_utils_unittest.cc136 brillo::Blob expected_hash; in TEST_F() local
138 kExpectedResult, strlen(kExpectedResult), &expected_hash)); in TEST_F()
139 EXPECT_EQ(expected_hash, hash_out); in TEST_F()
164 brillo::Blob expected_hash; in TEST_F() local
166 kExpectedOrderedData, strlen(kExpectedOrderedData), &expected_hash)); in TEST_F()
167 EXPECT_EQ(expected_hash, hash_out); in TEST_F()
192 brillo::Blob expected_hash; in TEST_F() local
194 kExpectedResult, strlen(kExpectedResult), &expected_hash)); in TEST_F()
195 EXPECT_EQ(expected_hash, hash_out); in TEST_F()
Ddelta_performer_integration_test.cc882 brillo::Blob expected_hash; in VerifyPayloadResult() local
883 HashCalculator::RawHashOfData(state->delta, &expected_hash); in VerifyPayloadResult()
885 performer->VerifyPayload(expected_hash, state->delta.size())); in VerifyPayloadResult()
/system/update_engine/scripts/update_payload/
Dapplier.py58 def _VerifySha256(file_obj, expected_hash, name, length=-1): argument
89 if actual_hash != expected_hash:
92 common.FormatSha256(expected_hash)))
/system/update_engine/payload_generator/
Dab_generator_unittest.cc573 brillo::Blob expected_hash; in TEST_F() local
574 EXPECT_TRUE(HashCalculator::RawHashOfData(src_data, &expected_hash)); in TEST_F()
577 EXPECT_EQ(expected_hash, result_hash); in TEST_F()
/system/update_engine/
Domaha_response_handler_action_unittest.cc133 string expected_hash; in DoTest() local
135 expected_hash += package.hash + ":"; in DoTest()
137 SetString(kPrefsUpdateCheckResponseHash, expected_hash)) in DoTest()