Lines Matching refs:path
35 MemoryPackage(const std::string& path, std::unique_ptr<MemMapping> map,
88 FilePackage(android::base::unique_fd&& fd, uint64_t file_size, const std::string& path,
121 const std::string& path, const std::function<void(float)>& set_progress) { in CreateMemoryPackage() argument
123 if (!mmap->MapFile(path)) { in CreateMemoryPackage()
128 return std::make_unique<MemoryPackage>(path, std::move(mmap), set_progress); in CreateMemoryPackage()
132 const std::string& path, const std::function<void(float)>& set_progress) { in CreateFilePackage() argument
133 android::base::unique_fd fd(open(path.c_str(), O_RDONLY)); in CreateFilePackage()
135 PLOG(ERROR) << "Failed to open " << path; in CreateFilePackage()
145 return std::make_unique<FilePackage>(std::move(fd), file_size, path, set_progress); in CreateFilePackage()
153 MemoryPackage::MemoryPackage(const std::string& path, std::unique_ptr<MemMapping> map, in MemoryPackage() argument
155 : map_(std::move(map)), path_(path), zip_handle_(nullptr) { in MemoryPackage()
215 FilePackage::FilePackage(android::base::unique_fd&& fd, uint64_t file_size, const std::string& path, in FilePackage() argument
217 : fd_(std::move(fd)), package_size_(file_size), path_(path), zip_handle_(nullptr) { in FilePackage()