Searched refs:DumpFile (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 530 int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function in android::os::dumpstate::DumpstateTest 533 int status = ds.DumpFile(title, path); in DumpFile() 917 EXPECT_EQ(-1, DumpFile("", "/I/cant/believe/I/exist")); in TEST_F() 924 EXPECT_EQ(-1, DumpFile("Y U NO EXIST?", "/I/cant/believe/I/exist")); in TEST_F() 933 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F() 939 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line-with-newline.txt")); in TEST_F() 945 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines.txt")); in TEST_F() 951 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines-with-newline.txt")); in TEST_F() 958 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F() 965 EXPECT_EQ(0, DumpFile("Might as well dump. Dump!", kTestDataPath + "single-line.txt")); in TEST_F() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 369 static int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function 370 return ds.DumpFile(title, path); in DumpFile() 521 DumpFile(title, path); in dump_dev_files() 986 DumpFile("LAST KMSG", PSTORE_LAST_KMSG); in DoKmsg() 988 DumpFile("LAST KMSG", ALT_PSTORE_LAST_KMSG); in DoKmsg() 991 DumpFile("LAST KMSG", "/proc/last_kmsg"); in DoKmsg() 1171 ds.DumpFile("VM TRACES JUST NOW", dump_traces_path); in AddAnrTraceDir() 1215 ds.DumpFile("VM TRACES WHEN SLOW", slow_trace_path.c_str()); in AddAnrTraceFiles() 1247 DumpFile("NETWORK DEV INFO", "/proc/net/dev"); in DumpPacketStats() 1681 DumpFile("MEMORY INFO", "/proc/meminfo"); in dumpstate() [all …]
|
D | dumpstate.h | 266 int DumpFile(const std::string& title, const std::string& path);
|