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.rs488 fn start_fuse(zip_path: &Path, mnt_path: &Path, opt: Options) { in start_fuse()
489 let zip_path = PathBuf::from(zip_path); in start_fuse() localVariable
492 crate::run_fuse(&zip_path, &mnt_path, None, opt.noexec, opt.uid, opt.gid).unwrap(); in start_fuse()
497 fn start_fuse(zip_path: &Path, mnt_path: &Path, opt: Options) { in start_fuse()
509 zip_path.display(), in start_fuse()
547 let zip_path = test_dir.path().join("test.zip"); in run_test_with_options() localVariable
548 let zip = File::create(&zip_path); in run_test_with_options()
561 start_fuse(&zip_path, &mnt_path, opt); in run_test_with_options()
796 fn run_fuse_and_check_test_zip(test_dir: &Path, zip_path: &Path) { in run_fuse_and_check_test_zip()
801 start_fuse(zip_path, &mnt_path, opt); in run_fuse_and_check_test_zip()
[all …]
/packages/modules/Virtualization/microdroid_manager/src/
Dmain.rs563 zip_path: &Path, in mount()
578 cmd.arg(zip_path).arg(mount_dir); in mount()
/packages/modules/common/build/
Dmainline_modules_sdks.py1543 def extract_matching_files_from_zip(zip_path, dest_dir, pattern): argument
1550 with zipfile.ZipFile(zip_path) as zip_file: