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.cpp49 std::string zip_path; in TEST() local
55 &zip_path, &entry_name)); in TEST()
56 ASSERT_EQ(zip_path, in TEST()
61 ParseExtractedInMemoryPath("[anon:dalvik-thread local mark stack]", &zip_path, &entry_name)); in TEST()
66 &zip_path, &entry_name)); in TEST()
67 ASSERT_EQ(zip_path, in TEST()
72 &zip_path, &entry_name)); in TEST()
79 &zip_path, &entry_name)); in TEST()
80 ASSERT_EQ(zip_path, "/data/app/getxml.test.com.testgetxml-knxI11ZXLT-OVBs9X9bSkw==/base.apk"); in TEST()
Dread_apk.cpp141 bool ParseExtractedInMemoryPath(const std::string& path, std::string* zip_path, in ParseExtractedInMemoryPath() argument
158 *zip_path = path.substr(zip_path_start, zip_path_end - zip_path_start); in ParseExtractedInMemoryPath()
159 size_t multidex_separator_pos = zip_path->find('!'); in ParseExtractedInMemoryPath()
161 zip_path->resize(multidex_separator_pos); in ParseExtractedInMemoryPath()
Dread_apk.h89 bool ParseExtractedInMemoryPath(const std::string& path, std::string* zip_path,
DJITDebugReader.cpp757 std::string zip_path; in ReadDexFileDebugInfo() local
760 if (ParseExtractedInMemoryPath(it->name, &zip_path, &entry_path)) { in ReadDexFileDebugInfo()
761 file_path = GetUrlInApk(zip_path, entry_path); in ReadDexFileDebugInfo()
Dcmd_record.cpp1541 std::string zip_path; in UpdateMmapRecordForEmbeddedPath() local
1543 if (ParseExtractedInMemoryPath(filename, &zip_path, &entry_name)) { in UpdateMmapRecordForEmbeddedPath()
1544 filename = GetUrlInApk(zip_path, entry_name); in UpdateMmapRecordForEmbeddedPath()