Searched refs:tmp_dir (Results 1 – 11 of 11) sorted by relevance
/system/core/fs_mgr/libfs_avb/tests/ |
D | util_test.cpp | 155 base::FilePath tmp_dir; in TEST() local 156 ASSERT_TRUE(GetTempDir(&tmp_dir)); in TEST() 159 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST() 176 base::FilePath tmp_dir; in TEST() local 177 ASSERT_TRUE(GetTempDir(&tmp_dir)); in TEST() 180 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST() 197 base::FilePath tmp_dir; in TEST() local 198 ASSERT_TRUE(GetTempDir(&tmp_dir)); in TEST() 201 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST() 218 base::FilePath tmp_dir; in TEST() local [all …]
|
D | fs_avb_test_util.cpp | 39 base::FilePath tmp_dir; in SetUp() local 40 ASSERT_TRUE(GetTempDir(&tmp_dir)); in SetUp() 41 base::CreateTemporaryDirInDir(tmp_dir, "libfs_avb-tests.", &test_dir_); in SetUp()
|
/system/timezone/ |
D | update-tzdata.py | 51 tmp_dir = tempfile.mkdtemp('-tzdata') variable 95 zone_compactor_setup_file = '%s/setup' % tmp_dir 108 icu_build_dir = '%s/icu' % tmp_dir 149 zic_build_dir = '%s/zic' % tmp_dir 171 zic_output_dir = '%s/data' % tmp_dir 268 iana_data_dir = '%s/iana_data' % tmp_dir
|
/system/libbase/include/android-base/ |
D | file.h | 41 explicit TemporaryFile(const std::string& tmp_dir); 54 void init(const std::string& tmp_dir); 71 bool init(const std::string& tmp_dir);
|
/system/libbase/ |
D | file.cpp | 122 std::string tmp_dir; in GetSystemTempDir() 123 CHECK(android::base::WideToUTF8(tmp_dir_w, &tmp_dir)) << "path can't be converted to utf8"; in GetSystemTempDir() 125 return tmp_dir; in GetSystemTempDir() 139 TemporaryFile::TemporaryFile(const std::string& tmp_dir) { in TemporaryFile() argument 140 init(tmp_dir); in TemporaryFile() 158 void TemporaryFile::init(const std::string& tmp_dir) { in init() argument 159 snprintf(path, sizeof(path), "%s%cTemporaryFile-XXXXXX", tmp_dir.c_str(), OS_PATH_SEPARATOR); in init() 202 bool TemporaryDir::init(const std::string& tmp_dir) { in init() argument 203 snprintf(path, sizeof(path), "%s%cTemporaryDir-XXXXXX", tmp_dir.c_str(), OS_PATH_SEPARATOR); in init()
|
/system/linkerconfig/modules/tests/ |
D | apex_testbase.h | 25 TemporaryDir tmp_dir; member 29 root = tmp_dir.path; in SetUp()
|
/system/core/adb/ |
D | adb_utils.cpp | 346 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath() local 347 if (tmp_dir == nullptr) tmp_dir = "/tmp"; in GetLogFilePath() 348 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid()); in GetLogFilePath()
|
/system/bt/osi/test/ |
D | config_test.cc | 253 auto tmp_dir = std::filesystem::temp_directory_path(); in TEST_F() local 254 auto filename = tmp_dir / "test.checksum"; in TEST_F() 267 auto tmp_dir = std::filesystem::temp_directory_path(); in TEST_F() local 268 auto filename = tmp_dir / "test.checksum"; in TEST_F()
|
/system/extras/simpleperf/ |
D | environment.h | 117 ScopedTempFiles(const std::string& tmp_dir);
|
D | environment.cpp | 844 ScopedTempFiles::ScopedTempFiles(const std::string& tmp_dir) { in ScopedTempFiles() argument 846 tmp_dir_ = tmp_dir; in ScopedTempFiles()
|
/system/core/libbacktrace/ |
D | backtrace_test.cpp | 1209 static void CopySharedLibrary(const char* tmp_dir, std::string* tmp_so_name) { in CopySharedLibrary() argument 1219 *tmp_so_name = std::string(tmp_dir) + "/libbacktrace_test.so"; in CopySharedLibrary() 1220 std::string cp_cmd = android::base::StringPrintf("cp %s %s", test_lib.c_str(), tmp_dir); in CopySharedLibrary()
|