Home
last modified time | relevance | path

Searched refs:IsValidApkPath (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
Dread_apk_test.cpp24 TEST(read_apk, IsValidApkPath) { in TEST() argument
25 ASSERT_FALSE(IsValidApkPath("/dev/zero")); in TEST()
26 ASSERT_FALSE(IsValidApkPath(GetTestData(ELF_FILE))); in TEST()
27 ASSERT_TRUE(IsValidApkPath(GetTestData(APK_FILE))); in TEST()
Dread_apk.cpp53 if (!IsValidApkPath(apk_path)) { in FindElfInApkByOffsetWithoutCache()
114 if (!IsValidApkPath(apk_path)) { in FindElfInApkByName()
141 bool IsValidApkPath(const std::string& apk_path) { in IsValidApkPath() function
Dread_apk.h89 bool IsValidApkPath(const std::string& apk_path);
/system/core/libbacktrace/
DBacktraceOffline.cpp647 static bool IsValidApkPath(const std::string& apk_path) { in IsValidApkPath() function
687 if (!IsValidApkPath(apk_file)) { in OpenEmbeddedElfFile()