Searched refs:expected_hash (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/payload_consumer/ |
D | file_descriptor_utils_unittest.cc | 136 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()
|
D | delta_performer_integration_test.cc | 882 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/ |
D | applier.py | 58 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/ |
D | ab_generator_unittest.cc | 573 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/ |
D | omaha_response_handler_action_unittest.cc | 133 string expected_hash; in DoTest() local 135 expected_hash += package.hash + ":"; in DoTest() 137 SetString(kPrefsUpdateCheckResponseHash, expected_hash)) in DoTest()
|