Lines Matching refs:DumpFile
161 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()
588 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
892 int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function in android::os::dumpstate::DumpstateUtilTest
1197 EXPECT_EQ(-1, DumpFile("", "/I/cant/believe/I/exist")); in TEST_F()
1205 EXPECT_EQ(-1, DumpFile("Y U NO EXIST?", "/I/cant/believe/I/exist")); in TEST_F()
1213 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
1220 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line-with-newline.txt")); in TEST_F()
1227 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines.txt")); in TEST_F()
1234 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines-with-newline.txt")); in TEST_F()
1243 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
1252 EXPECT_EQ(0, DumpFile("Might as well dump. Dump!", kTestDataPath + "single-line.txt")); in TEST_F()