Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexd_image_manager.cpp42 Result<void> SendFile(borrowed_fd dest_fd, const std::string& src_path, in SendFile() argument
44 unique_fd src_fd(open(src_path.c_str(), O_RDONLY)); in SendFile()
46 return Error() << "Failed to open " << src_path; in SendFile()
50 return ErrnoError() << "Failed to sendfile from " << src_path; in SendFile()
Dapex_file.cpp397 const std::string& src_path = GetPath(); in Decompress() local
399 LOG(INFO) << "Decompressing" << src_path << " to " << dest_path; in Decompress()
407 unique_fd src_fd(open(src_path.c_str(), O_RDONLY | O_CLOEXEC)); in Decompress()
414 int ret = OpenArchiveFd(src_fd.get(), src_path.c_str(), &handle, false); in Decompress()
416 return Error() << "Failed to open package " << src_path << ": " in Decompress()
427 << "\" in package " << src_path << ": " in Decompress()
452 LOG(VERBOSE) << "Decompressed " << src_path << " to " << dest_path; in Decompress()
/system/unwinding/libunwindstack/utils/
DOfflineUnwindUtils.cpp65 fs::path src_path = file.path(); in DecompressFiles() local
66 if (src_path.extension() == ".gz") { in DecompressFiles()
67 fs::path dst_path = fs::path(src_path).replace_extension(); // Remove .gz extension. in DecompressFiles()
68 if (!fs::exists(dst_path) || fs::last_write_time(src_path) > fs::last_write_time(dst_path)) { in DecompressFiles()
69 gzFile src = gzopen(src_path.c_str(), "rb"); in DecompressFiles()
71 fs::path tmp_path = fs::path(src_path).replace_extension("." + std::to_string(getpid())); in DecompressFiles()
89 fs::path src_path = file.path(); in CreateLinks() local
90 if (fs::is_regular_file(src_path) && src_path.filename() == "links.txt") { in CreateLinks()
92 if (!android::base::ReadFileToString(src_path.c_str(), &contents)) { in CreateLinks()
93 errx(1, "Unable to read file: %s", src_path.c_str()); in CreateLinks()
[all …]
/system/extras/simpleperf/scripts/test/
Ddo_test.py172 for src_path in source_dir.iterdir():
173 dest_path = testdata_dir / src_path.name
176 if src_path.is_file():
177 shutil.copyfile(src_path, dest_path)
178 elif src_path.is_dir():
179 shutil.copytree(src_path, dest_path)
/system/teeui/test/example_config/
DREADME93 atest --test-mapping [src_path]:all
/system/security/keystore2/src/
Dlegacy_blob.rs1164 let src_path = make_filename(src_uid, src_alias, prefix); in move_keystore_file_if_exists() localVariable
1166 match Self::with_retry_interrupted(|| fs::rename(&src_path, &dest_path)) { in move_keystore_file_if_exists()