Home
last modified time | relevance | path

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

/system/libziparchive/
Dtest_ziparchive_large.py58 zip_path = tempfile.NamedTemporaryFile(suffix='.zip')
61 with zipfile.ZipFile(zip_path, 'w', allowZip64=True) as output_zip:
66 read_names = self._getEntryNames(zip_path.name)
68 self._ExtractEntries(zip_path.name)
72 zip_path = tempfile.NamedTemporaryFile(suffix='.zip')
78 with zipfile.ZipFile(zip_path, 'w', allowZip64=True) as output_zip:
81 read_names = self._getEntryNames(zip_path.name)
83 self._ExtractEntries(zip_path.name)
87 zip_path = tempfile.NamedTemporaryFile(suffix='.zip')
88 with zipfile.ZipFile(zip_path, 'w', compression=zipfile.ZIP_DEFLATED,
[all …]
Dzip_archive_test.cc612 const std::string zip_path = test_data_dir + "/dummy-update.zip"; in TEST() local
613 android::base::unique_fd fd(open(zip_path.c_str(), O_RDONLY | O_BINARY)); in TEST()
623 OpenArchiveFromMemory(file_map->data(), file_map->size(), zip_path.c_str(), &handle)); in TEST()
/system/extras/simpleperf/
Dread_apk_test.cpp47 std::string zip_path; in TEST() local
51 "base.apk]", &zip_path, &entry_name)); in TEST()
52 ASSERT_EQ(zip_path, "/data/app/com.example.simpleperf.simpleperfexamplepurejava" in TEST()
56 &zip_path, &entry_name)); in TEST()
59 " (deleted)", &zip_path, &entry_name)); in TEST()
60 ASSERT_EQ(zip_path, "/data/app/com.example.simpleperf.simpleperfexamplepurejava" in TEST()
64 &zip_path, &entry_name)); in TEST()
69 "(deleted)", &zip_path, &entry_name)); in TEST()
70 ASSERT_EQ(zip_path, "/data/app/getxml.test.com.testgetxml-knxI11ZXLT-OVBs9X9bSkw==/base.apk"); in TEST()
Dread_apk.cpp140 bool ParseExtractedInMemoryPath(const std::string& path, std::string* zip_path, in ParseExtractedInMemoryPath() argument
157 *zip_path = path.substr(zip_path_start, zip_path_end - zip_path_start); in ParseExtractedInMemoryPath()
158 size_t multidex_separator_pos = zip_path->find('!'); in ParseExtractedInMemoryPath()
160 zip_path->resize(multidex_separator_pos); in ParseExtractedInMemoryPath()
Dread_apk.h95 bool ParseExtractedInMemoryPath(const std::string& path, std::string* zip_path,
DJITDebugReader.cpp735 std::string zip_path; in ReadDexFileDebugInfo() local
738 if (ParseExtractedInMemoryPath(it->name, &zip_path, &entry_path)) { in ReadDexFileDebugInfo()
739 file_path = GetUrlInApk(zip_path, entry_path); in ReadDexFileDebugInfo()
Dcmd_record.cpp1495 std::string zip_path; in UpdateMmapRecordForEmbeddedPath() local
1497 if (ParseExtractedInMemoryPath(filename, &zip_path, &entry_name)) { in UpdateMmapRecordForEmbeddedPath()
1498 filename = GetUrlInApk(zip_path, entry_name); in UpdateMmapRecordForEmbeddedPath()