Home
last modified time | relevance | path

Searched refs:zip_archive (Results 1 – 8 of 8) sorted by relevance

/art/runtime/
Dzip_archive_test.cc35 …std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].c_str(), &err… in TEST_F() local
36 ASSERT_TRUE(zip_archive.get() != nullptr) << error_msg; in TEST_F()
38 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg)); in TEST_F()
Ddex_file.cc94 std::unique_ptr<ZipArchive> zip_archive( in GetChecksum() local
96 if (zip_archive.get() == nullptr) { in GetChecksum()
101 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name, error_msg)); in GetChecksum()
152 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, filename, &error_msg)); in ContainsClassesDex() local
153 if (zip_archive.get() == nullptr) { in ContainsClassesDex()
156 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(DexFile::kClassesDex, &error_msg)); in ContainsClassesDex()
292 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); in OpenZip() local
293 if (zip_archive.get() == nullptr) { in OpenZip()
297 return DexFile::OpenFromZip(*zip_archive, location, error_msg, dex_files); in OpenZip()
313 std::unique_ptr<const DexFile> DexFile::Open(const ZipArchive& zip_archive, const char* entry_name, in Open() argument
[all …]
Ddex_file.h435 static bool OpenFromZip(const ZipArchive& zip_archive, const std::string& location,
1198 static std::unique_ptr<const DexFile> Open(const ZipArchive& zip_archive, const char* entry_name,
DAndroid.mk196 zip_archive.cc
/art/profman/
Dprofman.cc240 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(apks_fd_[i], in DumpProfileInfo() local
243 if (zip_archive == nullptr) { in DumpProfileInfo()
247 if (DexFile::OpenFromZip(*zip_archive, in DumpProfileInfo()
/art/runtime/interpreter/
Dunstarted_runtime.cc371 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(jar_file.c_str(), error_msg)); in FindAndExtractEntry() local
372 if (zip_archive == nullptr) { in FindAndExtractEntry()
375 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(entry_name, error_msg)); in FindAndExtractEntry()
/art/dex2oat/
Ddex2oat.cc2346 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip() local
2347 if (zip_archive.get() == nullptr) { in ReadCommentedInputFromZip()
2350 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(input_filename, error_msg)); in ReadCommentedInputFromZip()
/art/compiler/
Doat_writer.cc355 ZipArchive* zip_archive = zip_archives_.back().get(); in AddZippedDexFilesSource() local
356 if (zip_archive == nullptr) { in AddZippedDexFilesSource()
363 std::unique_ptr<ZipEntry> entry(zip_archive->Find(entry_name.c_str(), &error_msg)); in AddZippedDexFilesSource()