Lines Matching refs:tmpfile
37 TemporaryFile tmpfile; in GetReport() local
38 close(tmpfile.release()); in GetReport()
39 if (!CreateCommandInstance("report")->Run({"-i", record_file, "-g", "-o", tmpfile.path})) { in GetReport()
43 if (!android::base::ReadFileToString(tmpfile.path, &data)) { in GetReport()
56 TemporaryFile tmpfile; in TEST() local
57 close(tmpfile.release()); in TEST()
58 ASSERT_FALSE(MergeCmd()->Run({"-o", tmpfile.path})); in TEST()
59 ASSERT_TRUE(MergeCmd()->Run({"-i", input_file, "-o", tmpfile.path})); in TEST()
61 ASSERT_TRUE(MergeCmd()->Run({"-i", input_file + "," + input_file, "-o", tmpfile.path})); in TEST()
63 ASSERT_TRUE(MergeCmd()->Run({"-i", input_file, "-i", input_file, "-o", tmpfile.path})); in TEST()
82 TemporaryFile tmpfile; in TEST() local
83 close(tmpfile.release()); in TEST()
84 ASSERT_TRUE(MergeCmd()->Run({"-i", input_file1 + "," + input_file2, "-o", tmpfile.path})); in TEST()
85 report = GetReport(tmpfile.path); in TEST()