Home
last modified time | relevance | path

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

/art/runtime/
Dzip_archive_test.cc35 …std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileName().c_str(), &error_m… 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.cc101 std::unique_ptr<ZipArchive> zip_archive( in GetChecksum() local
103 if (zip_archive.get() == nullptr) { in GetChecksum()
108 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(zip_entry_name, error_msg)); in GetChecksum()
158 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, filename, &error_msg)); in ContainsClassesDex() local
159 if (zip_archive.get() == nullptr) { in ContainsClassesDex()
162 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(DexFile::kClassesDex, &error_msg)); in ContainsClassesDex()
264 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); in OpenZip() local
265 if (zip_archive.get() == nullptr) { in OpenZip()
269 return DexFile::OpenFromZip(*zip_archive, location, error_msg, dex_files); in OpenZip()
285 std::unique_ptr<const DexFile> DexFile::Open(const ZipArchive& zip_archive, const char* entry_name, in Open() argument
[all …]
Ddex_file.h405 static bool OpenFromZip(const ZipArchive& zip_archive, const std::string& location,
942 static std::unique_ptr<const DexFile> Open(const ZipArchive& zip_archive, const char* entry_name,
DAndroid.mk178 zip_archive.cc
/art/runtime/native/
Djava_lang_VMClassLoader.cc93 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(location.c_str(), &error_msg)); in VMClassLoader_getBootClassPathResource() local
94 if (zip_archive.get() == nullptr) { in VMClassLoader_getBootClassPathResource()
98 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(name.c_str(), &error_msg)); in VMClassLoader_getBootClassPathResource()
/art/dex2oat/
Ddex2oat.cc1272 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(zip_fd_, in Setup() local
1275 if (zip_archive.get() == nullptr) { in Setup()
1280 … if (!DexFile::OpenFromZip(*zip_archive.get(), zip_location_, &error_msg, &opened_dex_files_)) { in Setup()
1795 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip() local
1796 if (zip_archive.get() == nullptr) { in ReadCommentedInputFromZip()
1799 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(input_filename, error_msg)); in ReadCommentedInputFromZip()
/art/runtime/interpreter/
Dunstarted_runtime.cc668 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(canonical.c_str(), &error_msg)); in UnstartedSecurityGetSecurityPropertiesReader() local
669 if (zip_archive.get() == nullptr) { in UnstartedSecurityGetSecurityPropertiesReader()
674 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("java/security/security.properties", in UnstartedSecurityGetSecurityPropertiesReader()