Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfs_avb/tests/
Dutil_test.cpp155 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 …]
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/timezone/
Dupdate-tzdata.py51 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/
Dfile.h41 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/
Dfile.cpp122 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/
Dapex_testbase.h25 TemporaryDir tmp_dir; member
29 root = tmp_dir.path; in SetUp()
/system/core/adb/
Dadb_utils.cpp346 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/
Dconfig_test.cc253 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/
Denvironment.h117 ScopedTempFiles(const std::string& tmp_dir);
Denvironment.cpp844 ScopedTempFiles::ScopedTempFiles(const std::string& tmp_dir) { in ScopedTempFiles() argument
846 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()