Searched refs:tmp_dir (Results 1 – 3 of 3) sorted by relevance
/art/test/ |
D | run-test | 50 def __init__(self, tmp_dir: Path, target: bool, chroot, dex_location, test_name) -> None: 58 self.expected_stdout = tmp_dir / "expected-stdout.txt" 59 self.expected_stderr = tmp_dir / "expected-stderr.txt" 111 tmp_dir = f"/tmp/{USER}/{test_dir}" variable 113 tmp_dir = f"{TMPDIR}/{test_dir}" variable 244 DEX_LOCATION = tmp_dir 262 DEX_LOCATION = tmp_dir 515 DEX_LOCATION = tmp_dir 584 tmp_dir = os.path.realpath(tmp_dir) variable 586 if not tmp_dir: [all …]
|
D | run_test_build.py | 297 with TemporaryDirectory() as tmp_dir: 298 tmp_file = Path(tmp_dir) / "aligned.zip" 355 with TemporaryDirectory() as tmp_dir: 356 zipfile.ZipFile(dst_jar, "r").extractall(tmp_dir) 357 (Path(tmp_dir) / "classes.dex").rename(dst_dex) 367 tmp_dir = self.test_dir / "dexmerge" 368 tmp_dir.mkdir() 372 flags += ["--min-api", str(api_level), "--output", tmp_dir] 374 assert not (tmp_dir / "classes2.dex").exists() 377 (tmp_dir / "classes.dex").rename(dst_dex) [all …]
|
/art/artd/ |
D | artd.cc | 1762 std::string tmp_dir = pre_reboot_tmp_dir_.value_or(kDefaultPreRebootTmpDir); in preRebootInit() local 1763 std::string preparation_done_file = tmp_dir + "/preparation_done"; in preRebootInit() 1764 std::string classpath_file = tmp_dir + "/classpath.txt"; in preRebootInit() 1765 std::string art_apex_data_dir = tmp_dir + "/art_apex_data"; in preRebootInit() 1766 std::string odrefresh_dir = tmp_dir + "/odrefresh"; in preRebootInit() 1772 bool is_empty = std::filesystem::is_empty(tmp_dir, ec); in preRebootInit() 1774 return NonFatal(ART_FORMAT("Failed to check dir '{}': {}", tmp_dir, ec.message())); in preRebootInit()
|