Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp604 int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function in android::os::dumpstate::DumpstateTest
607 int status = ds.DumpFile(title, path); in DumpFile()
989 EXPECT_EQ(-1, DumpFile("", "/I/cant/believe/I/exist")); in TEST_F()
996 EXPECT_EQ(-1, DumpFile("Y U NO EXIST?", "/I/cant/believe/I/exist")); in TEST_F()
1005 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
1011 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line-with-newline.txt")); in TEST_F()
1017 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines.txt")); in TEST_F()
1023 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines-with-newline.txt")); in TEST_F()
1030 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
1037 EXPECT_EQ(0, DumpFile("Might as well dump. Dump!", kTestDataPath + "single-line.txt")); in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp286 static int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function
287 return ds.DumpFile(title, path); in DumpFile()
446 DumpFile(title, path); in dump_dev_files()
872 DumpFile("LAST KMSG", PSTORE_LAST_KMSG); in DoKmsg()
874 DumpFile("LAST KMSG", ALT_PSTORE_LAST_KMSG); in DoKmsg()
877 DumpFile("LAST KMSG", "/proc/last_kmsg"); in DoKmsg()
993 ds.DumpFile("VM TRACES JUST NOW", dump_traces_path); in AddAnrTraceDir()
1038 ds.DumpFile("VM TRACES WHEN SLOW", slow_trace_path.c_str()); in AddAnrTraceFiles()
1070 DumpFile("NETWORK DEV INFO", "/proc/net/dev"); in DumpPacketStats()
1071 DumpFile("QTAGUID NETWORK INTERFACES INFO", "/proc/net/xt_qtaguid/iface_stat_all"); in DumpPacketStats()
[all …]
Ddumpstate.h255 int DumpFile(const std::string& title, const std::string& path);