Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file_test.cpp41 void SetUp() override { close(tmpfile_.release()); } in SetUp()
54 TemporaryFile tmpfile_; member in RecordFileTest
61 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
87 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
110 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
122 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
135 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
152 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
160 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
177 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
[all …]
Dtest_util.h138 tmpfile_.reset(new TemporaryFile); in Start()
139 if (dup2(tmpfile_->fd, STDOUT_FILENO) == -1) { in Start()
151 if (!android::base::ReadFileToString(tmpfile_->path, &s)) { in Finish()
160 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