Searched refs:tmpfile (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_report_sample_test.cpp | 35 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 …]
|
D | cmd_record_test.cpp | 48 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 …]
|
D | cmd_kmem_test.cpp | 76 std::unique_ptr<TemporaryFile> tmpfile; in RunKmemRecordCmd() local 81 tmpfile.reset(new TemporaryFile); in RunKmemRecordCmd() 82 out_file = tmpfile->path; in RunKmemRecordCmd()
|
D | cmd_list.cpp | 52 TemporaryFile tmpfile; in IsEventTypeSupported() local 53 FILE* fp = fopen(tmpfile.path, "w"); in IsEventTypeSupported()
|
D | environment.cpp | 518 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/ |
D | fastboot.cpp | 540 #define tmpfile win32_tmpfile macro 549 return fileno(tmpfile()); in make_temporary_fd()
|