Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfiemap/
Dfiemap_writer.cpp668 std::string abs_path; in Open() local
669 if (!::android::base::Realpath(file_path, &abs_path)) { in Open()
677 if (!GetBlockDeviceForFile(abs_path, &bdev_path)) { in Open()
679 cleanup(abs_path, create); in Open()
701 file_size = GetFileSize(abs_path); in Open()
703 LOG(ERROR) << "Invalid file size of zero bytes for file: " << abs_path; in Open()
710 if (!PerformFileChecks(abs_path, &blocksz, &fs_type)) { in Open()
711 LOG(ERROR) << "Failed to validate file or file system for file:" << abs_path; in Open()
712 cleanup(abs_path, create); in Open()
723 AllocateFile(file_fd, abs_path, blocksz, file_size, fs_type, std::move(progress)); in Open()
[all …]
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc260 string abs_path = in PerformPartitionPostinstall() local
263 abs_path, fs_mount_dir_, base::CompareCase::SENSITIVE)) { in PerformPartitionPostinstall()
270 << abs_path << ") installed on mountable device " in PerformPartitionPostinstall()
277 << " is: " << utils::GetFileFormat(abs_path); in PerformPartitionPostinstall()
281 vector<string> command = {abs_path}; in PerformPartitionPostinstall()
/system/core/fastboot/
Dvendor_boot_img_utils_test.cpp169 virtual android::base::Result<borrowed_fd> Transform(const std::filesystem::path& abs_path,
193 android::base::Result<borrowed_fd> Transform(const std::filesystem::path& abs_path, in Transform()
197 auto content = ReadStartOfFdToString(read_fd, abs_path); in Transform()
201 return ErrnoError() << "copy " << abs_path << ": open temp file failed"; in Transform()
203 return ErrnoError() << "copy " << abs_path << ": write temp file failed"; in Transform()
/system/libziparchive/
Dzip_archive_test.cc58 const std::string abs_path = test_data_dir + "/" + name; in OpenArchiveWrapper() local
59 return OpenArchive(abs_path.c_str(), handle); in OpenArchiveWrapper()