Home
last modified time | relevance | path

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

/hardware/libhardware/tests/input/evdev/
DTestHelpers.h43 class TempFile {
45 explicit TempFile(const char* path);
46 ~TempFile();
49 TempFile(const TempFile&) = delete;
50 TempFile& operator=(const TempFile&) = delete;
75 TempFile* newTempFile();
DTestHelpers.cpp35 TempFile::TempFile(const char* path) { in TempFile() function in android::TempFile
57 TempFile::~TempFile() { in ~TempFile()
89 TempFile* TempDir::newTempFile() { in newTempFile()
90 return new TempFile(mName); in newTempFile()
DInputHub_test.cpp108 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()
DAndroid.bp37 // TestHelpers uses mktemp. As the path is given to TempFile, we can't do too much