Home
last modified time | relevance | path

Searched refs:patch_file (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp127 TemporaryFile patch_file; in TEST() local
129 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
135 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
172 TemporaryFile patch_file; in TEST() local
174 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path, in TEST()
184 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
226 TemporaryFile patch_file; in TEST() local
228 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path, in TEST()
238 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
274 TemporaryFile patch_file; in TEST() local
[all …]
Dupdate_simulator_test.cpp72 TemporaryFile patch_file; in CreateBsdiffPatch() local
75 patch_file.path, nullptr)); in CreateBsdiffPatch()
76 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, patch)); in CreateBsdiffPatch()
/bootable/recovery/applypatch/
Dapplypatch_modes.cpp59 const std::string& patch_file, const std::string& bonus_file) { in PatchMode() argument
74 if (!android::base::ReadFileToString(patch_file, &patch_contents)) { in PatchMode()
75 PLOG(ERROR) << "Failed to read patch file \"" << patch_file << "\""; in PatchMode()
/bootable/recovery/tests/unit/
Dapplypatch_modes_test.cpp141 TemporaryFile patch_file; in TEST_F() local
145 patch_file.path, nullptr)); in TEST_F()
148 "applypatch", "--patch", patch_file.path, "--target", target, "--source", source, in TEST_F()
Dupdater_test.cpp654 TemporaryFile patch_file; in GetEntriesForBsdiff() local
657 patch_file.path, nullptr)); in GetEntriesForBsdiff()
659 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch_content)); in GetEntriesForBsdiff()