Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp161 int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function in android::os::dumpstate::DumpstateTest
164 int status = ds.DumpFile(title, path); in DumpFile()
525 EXPECT_EQ(-1, DumpFile("", "/I/cant/believe/I/exist")); in TEST_F()
532 EXPECT_EQ(-1, DumpFile("Y U NO EXIST?", "/I/cant/believe/I/exist")); in TEST_F()
541 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
547 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line-with-newline.txt")); in TEST_F()
553 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines.txt")); in TEST_F()
559 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines-with-newline.txt")); in TEST_F()
566 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
573 EXPECT_EQ(0, DumpFile("Might as well dump. Dump!", kTestDataPath + "single-line.txt")); in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp134 static int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function
135 return ds.DumpFile(title, path); in DumpFile()
307 DumpFile(title, path); in dump_dev_files()
870 DumpFile("LAST KMSG", PSTORE_LAST_KMSG); in DoKmsg()
872 DumpFile("LAST KMSG", ALT_PSTORE_LAST_KMSG); in DoKmsg()
875 DumpFile("LAST KMSG", "/proc/last_kmsg"); in DoKmsg()
941 ds.DumpFile("VM TRACES JUST NOW", dump_traces_path); in AddGlobalAnrTraceFile()
989 ds.DumpFile("VM TRACES JUST NOW", dump_traces_path); in AddAnrTraceDir()
1059 ds.DumpFile("VM TRACES WHEN SLOW", slow_trace_path.c_str()); in AddAnrTraceFiles()
1092 DumpFile("NETWORK DEV INFO", "/proc/net/dev"); in DumpPacketStats()
[all …]
Ddumpstate.h229 int DumpFile(const std::string& title, const std::string& path);
Dutils.cpp559 int Dumpstate::DumpFile(const std::string& title, const std::string& path) { in DumpFile() function in Dumpstate
1059 ds.DumpFile("RT_TABLES", RT_TABLES_PATH); in dump_route_tables()