Searched refs:GetTestData (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | read_apk_test.cpp | 26 ASSERT_FALSE(IsValidApkPath(GetTestData(ELF_FILE))); in TEST() 27 ASSERT_TRUE(IsValidApkPath(GetTestData(APK_FILE))); in TEST() 33 ASSERT_TRUE(inspector.FindElfInApkByOffset(GetTestData(APK_FILE), 0) == nullptr); in TEST() 36 EmbeddedElf* ee = inspector.FindElfInApkByOffset(GetTestData(APK_FILE), in TEST() 46 ASSERT_TRUE(ApkInspector::FindElfInApkByName(GetTestData(APK_FILE), "") == nullptr); in TEST() 47 auto ee = ApkInspector::FindElfInApkByName(GetTestData(APK_FILE), NATIVELIB_IN_APK); in TEST() 55 …ASSERT_EQ(ElfStatus::NO_ERROR, GetBuildIdFromApkFile(GetTestData(APK_FILE), NATIVELIB_IN_APK, &bui… in TEST() 62 ParseSymbolsFromApkFile(GetTestData(APK_FILE), NATIVELIB_IN_APK, native_lib_build_id, in TEST()
|
D | cmd_report_sample_test.cpp | 31 ReportSampleCmd()->Run({"-i", GetTestData(PERF_DATA_WITH_SYMBOLS)})); in TEST() 37 {"-i", GetTestData(PERF_DATA_WITH_SYMBOLS), "-o", tmpfile.path})); in TEST() 42 ASSERT_TRUE(ReportSampleCmd()->Run({"-i", GetTestData(CALLGRAPH_FP_PERF_DATA), in TEST() 49 ASSERT_TRUE(ReportSampleCmd()->Run({"-i", GetTestData(PERF_DATA_WITH_SYMBOLS), in TEST()
|
D | read_elf_test.cpp | 65 ASSERT_EQ(ElfStatus::NO_ERROR, GetBuildIdFromElfFile(GetTestData(ELF_FILE), &build_id)); in TEST() 71 …ASSERT_EQ(ElfStatus::NO_ERROR, GetBuildIdFromEmbeddedElfFile(GetTestData(APK_FILE), NATIVELIB_OFFS… in TEST() 100 ASSERT_EQ(ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE), elf_file_build_id, in TEST() 107 ASSERT_EQ(ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE), BuildId(), in TEST() 115 ASSERT_EQ(ElfStatus::BUILD_ID_MISMATCH, ParseSymbolsFromElfFile(GetTestData(ELF_FILE), build_id, in TEST() 121 …ASSERT_EQ(ElfStatus::NO_SYMBOL_TABLE, ParseSymbolsFromEmbeddedElfFile(GetTestData(APK_FILE), NATIV… in TEST() 129 …ASSERT_EQ(ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE_WITH_MINI_DEBUG_INFO),… in TEST() 147 ASSERT_EQ(ElfStatus::NO_ERROR, IsValidElfPath(GetTestData(ELF_FILE))); in TEST() 152 ASSERT_EQ(ElfStatus::NO_ERROR, ParseSymbolsFromElfFile(GetTestData(ELF_FILE), BuildId(), in TEST()
|
D | cmd_dumprecord_test.cpp | 27 ASSERT_TRUE(DumpCmd()->Run({GetTestData("perf.data")})); in TEST() 31 ASSERT_TRUE(DumpCmd()->Run({GetTestData(PERF_DATA_GENERATED_BY_LINUX_PERF)})); in TEST()
|
D | cmd_report_test.cpp | 41 ReportRaw(GetTestData(perf_data), add_args); in Report() 364 {"--symfs", GetTestData(CORRECT_SYMFS_FOR_BUILD_ID_CHECK)}); in TEST_F() 370 {"--symfs", GetTestData(WRONG_SYMFS_FOR_BUILD_ID_CHECK)}); in TEST_F() 395 {"--symfs", GetTestData(SYMFS_FOR_NO_SYMBOL_TABLE_WARNING)}); in TEST_F() 411 {"--symfs", GetTestData(SYMFS_FOR_READ_ELF_FILE_WARNING)}); in TEST_F() 451 Report(PERF_DATA, {"--kallsyms", GetTestData("kallsyms")}); in TEST_F() 457 ASSERT_FALSE(ReportCmd()->Run({"-i", GetTestData(INVALID_PERF_DATA)})); in TEST_F()
|
D | get_test_data.h | 24 std::string GetTestData(const std::string& filename);
|
D | cmd_kmem_test.cpp | 68 KmemReportRawFile(GetTestData(perf_data), additional_args, result); in KmemReportFile()
|
D | gtest_main.cpp | 230 std::string GetTestData(const std::string& filename) { in GetTestData() function
|