Searched refs:zip_path (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | read_apk_test.cpp | 47 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()
|
D | read_apk.cpp | 144 bool ParseExtractedInMemoryPath(const std::string& path, std::string* zip_path, in ParseExtractedInMemoryPath() argument 161 *zip_path = path.substr(zip_path_start, zip_path_end - zip_path_start); in ParseExtractedInMemoryPath() 162 size_t multidex_separator_pos = zip_path->find('!'); in ParseExtractedInMemoryPath() 164 zip_path->resize(multidex_separator_pos); in ParseExtractedInMemoryPath()
|
D | read_apk.h | 95 bool ParseExtractedInMemoryPath(const std::string& path, std::string* zip_path,
|
D | JITDebugReader.cpp | 549 std::string zip_path; in ReadDexFileDebugInfo() local 551 if (ParseExtractedInMemoryPath(it->name, &zip_path, &entry_path)) { in ReadDexFileDebugInfo() 552 file_path = GetUrlInApk(zip_path, entry_path); in ReadDexFileDebugInfo()
|
D | cmd_record.cpp | 1378 std::string zip_path; in UpdateMmapRecordForEmbeddedPath() local 1380 if (ParseExtractedInMemoryPath(filename, &zip_path, &entry_name)) { in UpdateMmapRecordForEmbeddedPath() 1381 filename = GetUrlInApk(zip_path, entry_name); in UpdateMmapRecordForEmbeddedPath()
|
/system/core/libziparchive/ |
D | zip_archive_test.cc | 411 const std::string zip_path = test_data_dir + "/" + kUpdateZip; in TEST() local 412 android::base::unique_fd fd(open(zip_path.c_str(), O_RDONLY | O_BINARY)); in TEST() 421 OpenArchiveFromMemory(file_map->data(), file_map->size(), zip_path.c_str(), &handle)); in TEST()
|