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.cc830 brillo::Blob expected_hash; in VerifyPayloadResult() local
831 HashCalculator::RawHashOfData(state->delta, &expected_hash); in VerifyPayloadResult()
833 performer->VerifyPayload(expected_hash, state->delta.size())); in VerifyPayloadResult()
/system/update_engine/scripts/update_payload/
Dapplier.py60 def _VerifySha256(file_obj, expected_hash, name, length=-1): argument
91 if actual_hash != expected_hash:
94 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.cc132 string expected_hash; in DoTest() local
134 expected_hash += package.hash + ":"; in DoTest()
136 SetString(kPrefsUpdateCheckResponseHash, expected_hash)) in DoTest()