Home
last modified time | relevance | path

Searched refs:GetTestDataDir (Results 1 – 12 of 12) sorted by relevance

/system/extras/simpleperf/
Ddso_test.cpp62 ASSERT_TRUE(finder.SetSymFsDir(GetTestDataDir())); in TEST()
64 GetTestDataDir() + "system" + OS_PATH_SEPARATOR + "libc.so"); in TEST()
66 GetTestDataDir() + "data" + OS_PATH_SEPARATOR + "base.apk!/lib/base.so"); in TEST()
69 ASSERT_EQ(finder.FindDebugFile(ELF_FILE, false, build_id), GetTestDataDir() + ELF_FILE); in TEST()
73 GetTestDataDir() + apk_path + "!/" + NATIVELIB_IN_APK); in TEST()
89 ASSERT_FALSE(finder.AddSymbolDir(GetTestDataDir() + "dir_not_exist")); in TEST()
91 std::string symfs_dir = ConvertPathSeparator(GetTestDataDir() + CORRECT_SYMFS_FOR_BUILD_ID_CHECK); in TEST()
100 std::string symfs_dir = ConvertPathSeparator(GetTestDataDir() + "data/symfs_with_build_id_list"); in TEST()
106 symfs_dir = ConvertPathSeparator(GetTestDataDir() + "data/symfs_with_wrong_build_id_list"); in TEST()
115 std::string symfs_dir = ConvertPathSeparator(GetTestDataDir() + "data/symfs_without_build_id"); in TEST()
[all …]
Dcmd_debug_unwind_test.cpp76 ASSERT_TRUE(DebugUnwindCmd()->Run({"-i", input_data, "--symfs", GetTestDataDir(), in TEST()
99 "--symfs", GetTestDataDir(), "--unwind-sample", in TEST()
Dget_test_data.h27 const std::string& GetTestDataDir();
Dgtest_main.cpp125 const std::string& GetTestDataDir() { in GetTestDataDir() function
Dcmd_dumprecord_test.cpp73 GetTestDataDir() + "etm", GetTestData(PERF_DATA_ETM_TEST_LOOP)})); in TEST()
Dcmd_inject_test.cpp37 args.insert(args.end(), {"--symdir", GetTestDataDir() + "etm"}); in RunInjectCmd()
Dcmd_report_sample_test.cpp177 {"--symdir", GetTestDataDir() + CORRECT_SYMFS_FOR_BUILD_ID_CHECK}); in TEST()
Dcmd_report_test.cpp50 std::vector<std::string> args = {"-i", perf_data, "--symfs", GetTestDataDir(), in ReportRaw()
347 Report(PERF_DATA_WITH_SYMBOLS, {"--symfs", GetTestDataDir()}); in TEST_F()
/system/apex/apexd/
Dapexd_verity_test.cpp41 static std::string GetTestDataDir() { return GetExecutableDirectory(); } in GetTestDataDir() function
43 return GetTestDataDir() + "/" + name; in GetTestFile()
Dapex_file_repository_test.cpp48 static std::string GetTestDataDir() { return GetExecutableDirectory(); } in GetTestDataDir() function
50 return GetTestDataDir() + "/" + name; in GetTestFile()
Dapexd_test.cpp63 static std::string GetTestDataDir() { return GetExecutableDirectory(); } in GetTestDataDir() function
65 return GetTestDataDir() + "/" + name; in GetTestFile()
Dapexservice_test.cpp134 static std::string GetTestDataDir() { in GetTestDataDir() function in android::apex::ApexServiceTest
138 return GetTestDataDir() + "/" + name; in GetTestFile()