Lines Matching refs:path

120   ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path));  in TEST()
124 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
128 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
134 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
173 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path, in TEST()
179 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
181 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); in TEST()
183 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
227 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path, in TEST()
233 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
235 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); in TEST()
237 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
275 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path, in TEST()
281 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
283 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); in TEST()
285 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
323 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path, in TEST()
329 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
331 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); in TEST()
333 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
354 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST()
362 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
366 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
372 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
395 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST()
405 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
409 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
415 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
430 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST()
440 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
444 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
457 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST()
466 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
473 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
479 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
500 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST()
506 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
510 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
516 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
536 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST()
542 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
546 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
552 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
572 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST()
578 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
582 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
588 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
609 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST()
617 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
621 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
627 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
650 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST()
660 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
664 "imgdiff", src_file.path, tgt_file.path, patch_file.path, in TEST()
670 ASSERT_TRUE(android::base::ReadFileToString(patch_file.path, &patch)); in TEST()
831 std::string split_info_arg = android::base::StringPrintf("--split-info=%s", split_info_file.path); in TEST()
832 std::string debug_dir_arg = android::base::StringPrintf("--debug-dir=%s", debug_dir.path); in TEST()
835 src_file.path, tgt_file.path, patch_file.path, in TEST()
840 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
843 GenerateAndCheckSplitTarget(debug_dir.path, 4, tgt); in TEST()
898 patch_file.path, split_info_file.path, debug_dir.path)); in TEST()
903 android::base::ReadFileToString(split_info_file.path, &split_info_string); in TEST()
920 std::string path = android::base::StringPrintf("%s/patch-%zu", debug_dir.path, i); in TEST() local
921 ASSERT_EQ(0, stat(path.c_str(), &st)); in TEST()
926 GenerateAndCheckSplitTarget(debug_dir.path, 5, tgt); in TEST()
957 std::string split_info_arg = android::base::StringPrintf("--split-info=%s", split_info_file.path); in TEST()
958 std::string debug_dir_arg = android::base::StringPrintf("--debug-dir=%s", debug_dir.path); in TEST()
961 src_file.path, tgt_file.path, patch_file.path, in TEST()
966 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
969 GenerateAndCheckSplitTarget(debug_dir.path, 1, tgt); in TEST()
999 std::string split_info_arg = android::base::StringPrintf("--split-info=%s", split_info_file.path); in TEST()
1000 std::string debug_dir_arg = android::base::StringPrintf("--debug-dir=%s", debug_dir.path); in TEST()
1003 src_file.path, tgt_file.path, patch_file.path, in TEST()
1008 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
1011 GenerateAndCheckSplitTarget(debug_dir.path, 1, tgt); in TEST()
1044 std::string split_info_arg = android::base::StringPrintf("--split-info=%s", split_info_file.path); in TEST()
1045 std::string debug_dir_arg = android::base::StringPrintf("--debug-dir=%s", debug_dir.path); in TEST()
1048 src_file.path, tgt_file.path, patch_file.path, in TEST()
1053 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
1059 GenerateAndCheckSplitTarget(debug_dir.path, 3, tgt); in TEST()
1098 std::string split_info_arg = android::base::StringPrintf("--split-info=%s", split_info_file.path); in TEST()
1099 std::string debug_dir_arg = android::base::StringPrintf("--debug-dir=%s", debug_dir.path); in TEST()
1102 src_file.path, tgt_file.path, patch_file.path, in TEST()
1107 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
1112 GenerateAndCheckSplitTarget(debug_dir.path, 2, tgt); in TEST()