Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp524 int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function in android::os::dumpstate::DumpstateTest
527 int status = ds.DumpFile(title, path); in DumpFile()
911 EXPECT_EQ(-1, DumpFile("", "/I/cant/believe/I/exist")); in TEST_F()
918 EXPECT_EQ(-1, DumpFile("Y U NO EXIST?", "/I/cant/believe/I/exist")); in TEST_F()
927 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
933 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line-with-newline.txt")); in TEST_F()
939 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines.txt")); in TEST_F()
945 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines-with-newline.txt")); in TEST_F()
952 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
959 EXPECT_EQ(0, DumpFile("Might as well dump. Dump!", kTestDataPath + "single-line.txt")); in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp349 static int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function
350 return ds.DumpFile(title, path); in DumpFile()
511 DumpFile(title, path); in dump_dev_files()
972 DumpFile("LAST KMSG", PSTORE_LAST_KMSG); in DoKmsg()
974 DumpFile("LAST KMSG", ALT_PSTORE_LAST_KMSG); in DoKmsg()
977 DumpFile("LAST KMSG", "/proc/last_kmsg"); in DoKmsg()
1137 ds.DumpFile("VM TRACES JUST NOW", dump_traces_path); in AddAnrTraceDir()
1182 ds.DumpFile("VM TRACES WHEN SLOW", slow_trace_path.c_str()); in AddAnrTraceFiles()
1214 DumpFile("NETWORK DEV INFO", "/proc/net/dev"); in DumpPacketStats()
1614 DumpFile("MEMORY INFO", "/proc/meminfo"); in dumpstate()
[all …]
Ddumpstate.h268 int DumpFile(const std::string& title, const std::string& path);