Home
last modified time | relevance | path

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

/bootable/recovery/
Drecovery-persist.cpp64 static void copy_file(const char* source, const char* destination) { in copy_file() argument
65 FILE* dest_fp = fopen(destination, "we"); in copy_file()
67 PLOG(ERROR) << "Can't open " << destination; in copy_file()
78 check_and_fclose(dest_fp, destination); in copy_file()
91 std::string destination("/data/misc/"); in logsave() local
92 destination += filename; in logsave()
98 android::base::ReadFileToString(destination, &content); in logsave()
112 return android::base::WriteStringToFile(buffer, destination.c_str()); in logsave()
/bootable/recovery/otautil/
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
183 FILE* dest_fp = fopen_path(destination, append ? "ae" : "we", sehandle); in copy_log_file()
185 PLOG(ERROR) << "Can't open " << destination; in copy_log_file()
202 check_and_fclose(dest_fp, destination); in copy_log_file()
243 void save_kernel_log(const char* destination) { in save_kernel_log() argument
257 android::base::WriteStringToFile(buffer, destination); in save_kernel_log()
/bootable/recovery/otautil/include/otautil/
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()