Home
last modified time | relevance | path

Searched refs:tmpfile (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
Dcmd_report_sample_test.cpp35 TemporaryFile tmpfile; in TEST() local
37 {"-i", GetTestData(PERF_DATA_WITH_SYMBOLS), "-o", tmpfile.path})); in TEST()
41 TemporaryFile tmpfile; in TEST() local
43 "-o", tmpfile.path, "--show-callchain"})); in TEST()
47 TemporaryFile tmpfile; in TEST() local
50 "-o", tmpfile.path, "--protobuf"})); in TEST()
52 {"--dump-protobuf-report", tmpfile.path, "-o", tmpfile2.path})); in TEST()
59 TemporaryFile tmpfile; in TEST() local
62 "-o", tmpfile.path, "--protobuf"})); in TEST()
63 ASSERT_TRUE(ReportSampleCmd()->Run({"--dump-protobuf-report", tmpfile.path, "-o", in TEST()
[all …]
Dcmd_record_test.cpp48 std::unique_ptr<TemporaryFile> tmpfile; in RunRecordCmd() local
53 tmpfile.reset(new TemporaryFile); in RunRecordCmd()
54 out_file = tmpfile->path; in RunRecordCmd()
80 TemporaryFile tmpfile; in TEST() local
81 ASSERT_TRUE(RecordCmd()->Run({"-o", tmpfile.path, "sleep", SLEEP_SEC})); in TEST()
85 TemporaryFile tmpfile; in TEST() local
86 ASSERT_TRUE(RunRecordCmd({}, tmpfile.path)); in TEST()
88 RecordFileReader::CreateInstance(tmpfile.path); in TEST()
108 TemporaryFile tmpfile; in TEST() local
109 ASSERT_TRUE(RunRecordCmd({}, tmpfile.path)); in TEST()
[all …]
Dcmd_kmem_test.cpp76 std::unique_ptr<TemporaryFile> tmpfile; in RunKmemRecordCmd() local
81 tmpfile.reset(new TemporaryFile); in RunKmemRecordCmd()
82 out_file = tmpfile->path; in RunKmemRecordCmd()
Dcmd_list.cpp52 TemporaryFile tmpfile; in IsEventTypeSupported() local
53 FILE* fp = fopen(tmpfile.path, "w"); in IsEventTypeSupported()
Denvironment.cpp518 std::unique_ptr<TemporaryFile> tmpfile(new TemporaryFile); in PrepareVdsoFile() local
519 if (!android::base::WriteStringToFile(s, tmpfile->path)) { in PrepareVdsoFile()
522 Dso::SetVdsoFile(std::move(tmpfile), sizeof(size_t) == sizeof(uint64_t)); in PrepareVdsoFile()
/system/core/fastboot/
Dfastboot.cpp540 #define tmpfile win32_tmpfile macro
549 return fileno(tmpfile()); in make_temporary_fd()