Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dfile_descriptor_utils_unittest.cc134 brillo::Blob expected_hash; in TEST_F() local
136 kExpectedResult, strlen(kExpectedResult), &expected_hash)); in TEST_F()
137 EXPECT_EQ(expected_hash, hash_out); in TEST_F()
162 brillo::Blob expected_hash; in TEST_F() local
164 kExpectedOrderedData, strlen(kExpectedOrderedData), &expected_hash)); in TEST_F()
165 EXPECT_EQ(expected_hash, hash_out); in TEST_F()
190 brillo::Blob expected_hash; in TEST_F() local
192 kExpectedResult, strlen(kExpectedResult), &expected_hash)); in TEST_F()
193 EXPECT_EQ(expected_hash, hash_out); in TEST_F()
Ddelta_performer_integration_test.cc904 brillo::Blob expected_hash; in VerifyPayloadResult() local
905 HashCalculator::RawHashOfData(state->delta, &expected_hash); in VerifyPayloadResult()
907 performer->VerifyPayload(expected_hash, state->delta.size())); in VerifyPayloadResult()
/system/bt/stack/test/
Dstack_gatt_sr_hash_test.cc82 Octet16 expected_hash{0xF1, 0xCA, 0x2D, 0x48, 0xEC, 0xF5, 0x8B, 0xAC, in TEST() local
84 std::reverse(expected_hash.begin(), expected_hash.end()); in TEST()
88 ASSERT_EQ(result_hash, expected_hash); in TEST()
/system/bt/bta/test/gatt/
Ddatabase_test.cc249 Octet16 expected_hash{0xF1, 0xCA, 0x2D, 0x48, 0xEC, 0xF5, 0x8B, 0xAC, in TEST() local
256 EXPECT_EQ(hash, expected_hash); in TEST()
/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.cc569 brillo::Blob expected_hash; in TEST_F() local
570 EXPECT_TRUE(HashCalculator::RawHashOfData(src_data, &expected_hash)); in TEST_F()
573 EXPECT_EQ(expected_hash, result_hash); in TEST_F()
/system/update_engine/cros/
Domaha_response_handler_action_unittest.cc139 string expected_hash; in DoTest() local
141 expected_hash += package.hash + ":"; in DoTest()
143 SetString(kPrefsUpdateCheckResponseHash, expected_hash)) in DoTest()