Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dutils_test.cpp79 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(GetTestData(APK_FILE)); in TEST() local
80 ASSERT_TRUE(ahelper); in TEST()
83 ASSERT_TRUE(ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in TEST()
93 ASSERT_TRUE(ahelper->FindEntry(NATIVELIB_IN_APK, &entry)); in TEST()
96 ASSERT_TRUE(ahelper->GetEntryData(entry, &data)); in TEST()
Dread_apk.cpp72 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByOffsetWithoutCache() local
73 if (!ahelper) { in FindElfInApkByOffsetWithoutCache()
83 bool result = ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in FindElfInApkByOffsetWithoutCache()
99 if (lseek(ahelper->GetFd(), found_entry.offset, SEEK_SET) != found_entry.offset) { in FindElfInApkByOffsetWithoutCache()
103 if (IsValidElfFile(ahelper->GetFd()) != ElfStatus::NO_ERROR) { in FindElfInApkByOffsetWithoutCache()
114 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByNameWithoutCache() local
115 if (!ahelper) { in FindElfInApkByNameWithoutCache()
119 if (!ahelper->FindEntry(entry_name, &zentry)) { in FindElfInApkByNameWithoutCache()
Ddso.cpp429 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(std::get<1>(tuple)); in LoadSymbols() local
432 if (ahelper && in LoadSymbols()
433 ahelper->FindEntry(std::get<2>(tuple), &entry) && ahelper->GetEntryData(entry, &data)) { in LoadSymbols()