Home
last modified time | relevance | path

Searched refs:ahelper (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Dutils_test.cpp38 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(GetTestData(APK_FILE)); in TEST() local
39 ASSERT_TRUE(ahelper); in TEST()
42 ASSERT_TRUE(ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in TEST()
52 ASSERT_TRUE(ahelper->FindEntry(NATIVELIB_IN_APK, &entry)); in TEST()
55 ASSERT_TRUE(ahelper->GetEntryData(entry, &data)); in TEST()
Dread_apk.cpp74 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByOffsetWithoutCache() local
75 if (!ahelper) { in FindElfInApkByOffsetWithoutCache()
85 bool result = ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in FindElfInApkByOffsetWithoutCache()
100 if (IsValidElfFile(ahelper->GetFd(), found_entry.offset) != ElfStatus::NO_ERROR) { in FindElfInApkByOffsetWithoutCache()
110 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByNameWithoutCache() local
111 if (!ahelper) { in FindElfInApkByNameWithoutCache()
115 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache()
Ddso.cpp476 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(std::get<1>(tuple)); in LoadSymbolsImpl() local
479 if (ahelper && ahelper->FindEntry(std::get<2>(tuple), &entry) && in LoadSymbolsImpl()
480 ahelper->GetEntryData(entry, &data)) { in LoadSymbolsImpl()