Home
last modified time | relevance | path

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

/packages/services/Car/car-bugreportd/
Dmain.cpp197 bool copyFile(const std::string& zip_path, int output_socket) { in copyFile() argument
198 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(zip_path.c_str(), O_RDONLY))); in copyFile()
217 bool doBugreport(int progress_socket, size_t* out_bytes_written, std::string* zip_path) { in doBugreport() argument
255 processLine(line, zip_path, &last_nonempty_line); in doBugreport()
265 processLine(line, zip_path, &last_nonempty_line); in doBugreport()
267 if (zip_path->empty()) { in doBugreport()
437 void cleanupBugreportFile(const std::string& zip_path) { in cleanupBugreportFile() argument
438 if (unlink(zip_path.c_str()) != 0) { in cleanupBugreportFile()
439 ALOGE("Could not unlink %s (%s)", zip_path.c_str(), strerror(errno)); in cleanupBugreportFile()
461 std::string zip_path; in main() local
[all …]