Home
last modified time | relevance | path

Searched refs:src_content (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/tests/unit/
Dapplypatch_modes_test.cpp135 std::string src_content; in TEST_F() local
136 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("boot.img"), &src_content)); in TEST_F()
143 bsdiff::bsdiff(reinterpret_cast<const uint8_t*>(src_content.data()), src_content.size(), in TEST_F()
Dupdater_test.cpp740 std::string src_content(4096 * 2, 'e'); in TEST_F() local
741 std::string src_hash = GetSha1(src_content); in TEST_F()
762 ASSERT_TRUE(android::base::WriteStringToFile(src_content, image_file_)); in TEST_F()
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp154 const std::string src_content("abcdefg"); in TEST() local
155 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST()
208 const std::string src_content = random_data; in TEST() local
209 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST()
256 const std::string src_content = "abcdefg"; in TEST() local
257 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST()
301 const std::string src_content = random_data; in TEST() local
302 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST()