Searched refs:src_content (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/tests/component/ |
D | applypatch_modes_test.cpp | 135 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()
|
D | imgdiff_test.cpp | 155 const std::string src_content("abcdefg"); in TEST() local 156 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST() 209 const std::string src_content = random_data; in TEST() local 210 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST() 257 const std::string src_content = "abcdefg"; in TEST() local 258 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST() 302 const std::string src_content = random_data; in TEST() local 303 ASSERT_EQ(0, src_writer.WriteBytes(src_content.data(), src_content.size())); in TEST()
|
D | updater_test.cpp | 714 std::string src_content(4096 * 2, 'e'); in TEST_F() local 715 std::string src_hash = GetSha1(src_content); in TEST_F() 736 ASSERT_TRUE(android::base::WriteStringToFile(src_content, image_file_)); in TEST_F()
|
/bootable/recovery/applypatch/ |
D | imgdiff.cpp | 1043 std::vector<uint8_t> src_content; in AddSplitImageFromChunkList() local 1046 src_content.insert(src_content.end(), src_image.file_content_.begin() + r.first * BLOCK_SIZE, in AddSplitImageFromChunkList() 1052 CHECK(!src_content.empty()); in AddSplitImageFromChunkList() 1055 split_src_image.Initialize(split_src_chunks, std::move(src_content)); in AddSplitImageFromChunkList()
|