Searched refs:TempFile (Results 1 – 4 of 4) sorted by relevance
43 class TempFile {45 explicit TempFile(const char* path);46 ~TempFile();49 TempFile(const TempFile&) = delete;50 TempFile& operator=(const TempFile&) = delete;75 TempFile* newTempFile();
35 TempFile::TempFile(const char* path) { in TempFile() function in android::TempFile57 TempFile::~TempFile() { in ~TempFile()89 TempFile* TempDir::newTempFile() { in newTempFile()90 return new TempFile(mName); in newTempFile()
108 std::unique_ptr<TempFile> tempFile; in TEST_F()130 auto deviceFile = std::unique_ptr<TempFile>(tempDir->newTempFile()); in TEST_F()161 auto deviceFile = std::unique_ptr<TempFile>(tempDir->newTempFile()); in TEST_F()203 auto deviceFile1 = std::unique_ptr<TempFile>(tempDir->newTempFile()); in TEST_F()204 auto deviceFile2 = std::unique_ptr<TempFile>(tempDir->newTempFile()); in TEST_F()
37 // TestHelpers uses mktemp. As the path is given to TempFile, we can't do too much