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.cpp837 std::string ScopedTempFiles::tmp_dir_; member in ScopedTempFiles
841 CHECK(tmp_dir_.empty()); // No other ScopedTempFiles. in ScopedTempFiles()
842 tmp_dir_ = tmp_dir; in ScopedTempFiles()
846 tmp_dir_.clear(); in ~ScopedTempFiles()
854 CHECK(!tmp_dir_.empty()); in CreateTempFile()
855 std::unique_ptr<TemporaryFile> tmp_file(new TemporaryFile(tmp_dir_)); in CreateTempFile()
Denvironment.h122 static std::string tmp_dir_;