Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 9 of 9) sorted by relevance

/system/core/fs_mgr/libfs_avb/tests/
Dutil_test.cpp152 base::FilePath tmp_dir; in TEST() local
153 ASSERT_TRUE(GetTempDir(&tmp_dir)); in TEST()
156 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST()
173 base::FilePath tmp_dir; in TEST() local
174 ASSERT_TRUE(GetTempDir(&tmp_dir)); in TEST()
177 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST()
194 base::FilePath tmp_dir; in TEST() local
195 ASSERT_TRUE(GetTempDir(&tmp_dir)); in TEST()
198 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST()
Dfs_avb_test_util.cpp39 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/core/base/
Dfile.cpp86 char tmp_dir[MAX_PATH]; in GetSystemTempDir()
87 DWORD result = GetTempPathA(sizeof(tmp_dir), tmp_dir); // checks TMP env in GetSystemTempDir()
89 CHECK_LT(result, sizeof(tmp_dir)) << "path truncated to: " << result; in GetSystemTempDir()
93 CHECK_EQ(tmp_dir[result - 1], '\\'); in GetSystemTempDir()
94 tmp_dir[result - 1] = '\0'; in GetSystemTempDir()
95 return tmp_dir; in GetSystemTempDir()
109 TemporaryFile::TemporaryFile(const std::string& tmp_dir) { in TemporaryFile() argument
110 init(tmp_dir); in TemporaryFile()
128 void TemporaryFile::init(const std::string& tmp_dir) { in init() argument
129 snprintf(path, sizeof(path), "%s%cTemporaryFile-XXXXXX", tmp_dir.c_str(), OS_PATH_SEPARATOR); in init()
[all …]
/system/timezone/
Dupdate-tzdata.py51 tmp_dir = tempfile.mkdtemp('-tzdata') variable
82 zone_compactor_setup_file = '%s/setup' % tmp_dir
93 icu_build_dir = '%s/icu' % tmp_dir
134 zic_build_dir = '%s/zic' % tmp_dir
156 zic_output_dir = '%s/data' % tmp_dir
240 iana_data_dir = '%s/iana_data' % tmp_dir
/system/core/base/include/android-base/
Dfile.h40 explicit TemporaryFile(const std::string& tmp_dir);
53 void init(const std::string& tmp_dir);
70 bool init(const std::string& tmp_dir);
/system/core/adb/
Dadb_utils.cpp342 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath()
343 if (tmp_dir == nullptr) tmp_dir = "/tmp"; in GetLogFilePath()
344 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid()); in GetLogFilePath()
/system/extras/simpleperf/
Denvironment.h115 ScopedTempFiles(const std::string& tmp_dir);
Denvironment.cpp840 ScopedTempFiles::ScopedTempFiles(const std::string& tmp_dir) { in ScopedTempFiles() argument
842 tmp_dir_ = tmp_dir; in ScopedTempFiles()
/system/core/libbacktrace/
Dbacktrace_test.cpp1209 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()