Home
last modified time | relevance | path

Searched refs:tmpfile_ (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
Drecord_file_test.cpp39 void SetUp() override { close(tmpfile_.release()); } in SetUp()
53 TemporaryFile tmpfile_; member in RecordFileTest
60 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
86 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
108 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
120 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
132 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
149 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
156 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
173 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
Dtest_util.h135 tmpfile_.reset(new TemporaryFile); in Start()
136 if (dup2(tmpfile_->fd, STDOUT_FILENO) == -1) { in Start()
148 if (!android::base::ReadFileToString(tmpfile_->path, &s)) { in Finish()
157 std::unique_ptr<TemporaryFile> tmpfile_; variable
DMapRecordReader.cpp103 tmpfile_ = ScopedTempFiles::CreateTempFile(); in MapRecordThread()
104 fp_.reset(fdopen(tmpfile_->release(), "r+")); in MapRecordThread()
DMapRecordReader.h70 std::unique_ptr<TemporaryFile> tmpfile_; variable