Home
last modified time | relevance | path

Searched refs:tmp_dir_ (Results 1 – 3 of 3) sorted by relevance

/system/bt/osi/test/
Dwakelock_test.cc53 tmp_dir_ = "/tmp/btwlXXXXXX"; in SetUp()
55 tmp_dir_ = "/data/local/tmp/btwlXXXXXX"; in SetUp()
58 char* buffer = const_cast<char*>(tmp_dir_.c_str()); in SetUp()
65 lock_path_ = tmp_dir_ + "/wake_lock"; in SetUp()
66 unlock_path_ = tmp_dir_ + "/wake_unlock"; in SetUp()
80 rmdir(tmp_dir_.c_str()); in TearDown()
125 std::string tmp_dir_; member in WakelockTest
/system/extras/simpleperf/
Denvironment.cpp832 std::string ScopedTempFiles::tmp_dir_; member in simpleperf::ScopedTempFiles
843 CHECK(tmp_dir_.empty()); // No other ScopedTempFiles. in ScopedTempFiles()
844 tmp_dir_ = tmp_dir; in ScopedTempFiles()
848 tmp_dir_.clear(); in ~ScopedTempFiles()
856 CHECK(!tmp_dir_.empty()); in CreateTempFile()
857 std::unique_ptr<TemporaryFile> tmp_file(new TemporaryFile(tmp_dir_)); in CreateTempFile()
858 CHECK_NE(tmp_file->fd, -1) << "failed to create tmpfile under " << tmp_dir_; in CreateTempFile()
Denvironment.h113 static std::string tmp_dir_; variable