Searched refs:DumpFile (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 557 int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function in android::os::dumpstate::DumpstateTest 560 int status = ds.DumpFile(title, path); in DumpFile() 940 EXPECT_EQ(-1, DumpFile("", "/I/cant/believe/I/exist")); in TEST_F() 947 EXPECT_EQ(-1, DumpFile("Y U NO EXIST?", "/I/cant/believe/I/exist")); in TEST_F() 956 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F() 962 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line-with-newline.txt")); in TEST_F() 968 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines.txt")); in TEST_F() 974 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines-with-newline.txt")); in TEST_F() 981 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F() 988 EXPECT_EQ(0, DumpFile("Might as well dump. Dump!", kTestDataPath + "single-line.txt")); in TEST_F() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 311 static int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function 312 return ds.DumpFile(title, path); in DumpFile() 473 DumpFile(title, path); in dump_dev_files() 917 DumpFile("LAST KMSG", PSTORE_LAST_KMSG); in DoKmsg() 919 DumpFile("LAST KMSG", ALT_PSTORE_LAST_KMSG); in DoKmsg() 922 DumpFile("LAST KMSG", "/proc/last_kmsg"); in DoKmsg() 1063 ds.DumpFile("VM TRACES JUST NOW", dump_traces_path); in AddAnrTraceDir() 1108 ds.DumpFile("VM TRACES WHEN SLOW", slow_trace_path.c_str()); in AddAnrTraceFiles() 1140 DumpFile("NETWORK DEV INFO", "/proc/net/dev"); in DumpPacketStats() 1141 DumpFile("QTAGUID NETWORK INTERFACES INFO", "/proc/net/xt_qtaguid/iface_stat_all"); in DumpPacketStats() [all …]
|
D | dumpstate.h | 259 int DumpFile(const std::string& title, const std::string& path);
|