Home
last modified time | relevance | path

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

/packages/services/Car/cpp/bugreport/
Dmain.cpp199 bool copyFile(const std::string& zip_path, int output_socket) { in copyFile() argument
200 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(zip_path.c_str(), O_RDONLY | O_NOFOLLOW))); in copyFile()
202 ALOGE("Failed to open zip file %s.", zip_path.c_str()); in copyFile()
212 ALOGE("Failed to copy zip file %s to the output_socket.", zip_path.c_str()); in copyFile()
221 bool doBugreport(int progress_socket, size_t* out_bytes_written, std::string* zip_path) { in doBugreport() argument
260 processLine(line, zip_path, &last_nonempty_line); in doBugreport()
270 processLine(line, zip_path, &last_nonempty_line); in doBugreport()
272 if (zip_path->empty()) { in doBugreport()
442 void cleanupBugreportFile(const std::string& zip_path) { in cleanupBugreportFile() argument
443 if (unlink(zip_path.c_str()) != 0) { in cleanupBugreportFile()
[all …]
/packages/modules/Virtualization/zipfuse/src/
Dmain.rs438 fn start_fuse(zip_path: &Path, mnt_path: &Path) { in start_fuse()
439 let zip_path = PathBuf::from(zip_path); in start_fuse() localVariable
442 crate::run_fuse(&zip_path, &mnt_path, None).unwrap(); in start_fuse()
447 fn start_fuse(zip_path: &Path, mnt_path: &Path) { in start_fuse()
453 .arg(format!("/data/local/tmp/zipfuse {} {}", zip_path.display(), mnt_path.display())) in start_fuse()
481 let zip_path = test_dir.path().join("test.zip"); in run_test() localVariable
482 let zip = File::create(&zip_path); in run_test()
495 start_fuse(&zip_path, &mnt_path); in run_test()
687 fn run_fuse_and_check_test_zip(test_dir: &Path, zip_path: &Path) { in run_fuse_and_check_test_zip()
691 start_fuse(zip_path, &mnt_path); in run_fuse_and_check_test_zip()
[all …]
/packages/modules/Virtualization/microdroid_manager/src/
Dmain.rs312 fn run_zipfuse(option: &str, zip_path: &Path, mount_dir: &Path) -> Result<Child> { in run_zipfuse()
316 .arg(zip_path) in run_zipfuse()
/packages/modules/common/build/
Dmainline_modules_sdks.py1096 def extract_matching_files_from_zip(zip_path, dest_dir, pattern): argument
1103 with zipfile.ZipFile(zip_path) as zip_file: