Home
last modified time | relevance | path

Searched refs:destination (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/
Drecovery-persist.cpp62 static void copy_file(const char* source, const char* destination) { in copy_file() argument
63 FILE* dest_fp = fopen(destination, "we"); in copy_file()
65 PLOG(ERROR) << "Can't open " << destination; in copy_file()
76 check_and_fclose(dest_fp, destination); in copy_file()
89 std::string destination("/data/misc/"); in logsave() local
90 destination += filename; in logsave()
96 android::base::ReadFileToString(destination, &content); in logsave()
110 return android::base::WriteStringToFile(buffer, destination.c_str()); in logsave()
/bootable/recovery/recovery_utils/
Dlogging.cpp168 void copy_log_file_to_pmsg(const std::string& source, const std::string& destination) { in copy_log_file_to_pmsg() argument
171 __pmsg_write(destination, content); in copy_log_file_to_pmsg()
181 static void copy_log_file(const std::string& source, const std::string& destination, bool append) { in copy_log_file() argument
182 FILE* dest_fp = fopen_path(destination, append ? "ae" : "we", logging_sehandle); in copy_log_file()
184 PLOG(ERROR) << "Can't open " << destination; in copy_log_file()
201 check_and_fclose(dest_fp, destination); in copy_log_file()
242 void save_kernel_log(const char* destination) { in save_kernel_log() argument
256 android::base::WriteStringToFile(buffer, destination); in save_kernel_log()
/bootable/recovery/recovery_utils/include/recovery_utils/
Dlogging.h55 void copy_log_file_to_pmsg(const std::string& source, const std::string& destination);
59 void save_kernel_log(const char* destination);
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DFileDownloader.java43 public FileDownloader(String url, long offset, long size, File destination) { in FileDownloader() argument
47 this.mDestination = destination; in FileDownloader()