Lines Matching refs:DumpFile
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()
1001 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
1262 int DumpFile(const std::string& title, const std::string& path) { in DumpFile() function in android::os::dumpstate::DumpstateUtilTest
1559 EXPECT_EQ(-1, DumpFile("", "/I/cant/believe/I/exist")); in TEST_F()
1567 EXPECT_EQ(-1, DumpFile("Y U NO EXIST?", "/I/cant/believe/I/exist")); in TEST_F()
1575 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
1582 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line-with-newline.txt")); in TEST_F()
1589 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines.txt")); in TEST_F()
1596 EXPECT_EQ(0, DumpFile("", kTestDataPath + "multiple-lines-with-newline.txt")); in TEST_F()
1605 EXPECT_EQ(0, DumpFile("", kTestDataPath + "single-line.txt")); in TEST_F()
1614 EXPECT_EQ(0, DumpFile("Might as well dump. Dump!", kTestDataPath + "single-line.txt")); in TEST_F()