Searched refs:expected_hash (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/payload_consumer/ |
D | file_descriptor_utils_unittest.cc | 134 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()
|
D | delta_performer_integration_test.cc | 904 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/ |
D | stack_gatt_sr_hash_test.cc | 82 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/ |
D | database_test.cc | 249 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/ |
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 | 569 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/ |
D | omaha_response_handler_action_unittest.cc | 139 string expected_hash; in DoTest() local 141 expected_hash += package.hash + ":"; in DoTest() 143 SetString(kPrefsUpdateCheckResponseHash, expected_hash)) in DoTest()
|