Home
last modified time | relevance | path

Searched refs:dest_dir (Results 1 – 25 of 25) sorted by relevance

/external/autotest/client/bin/
Dlocal_host_unittest.py159 dest_dir = os.path.join(self.tmpdir.name, 'dest')
161 host.get_file(source_dir, dest_dir)
163 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file')))
174 dest_dir = os.path.join(self.tmpdir.name, 'dest')
175 os.mkdir(dest_dir)
177 host.get_file(source_dir, dest_dir)
179 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file')))
190 dest_dir = os.path.join(self.tmpdir.name, 'dest')
191 os.mkdir(dest_dir)
192 os.mkdir(os.path.join(dest_dir, 'dir'))
[all …]
Dsite_sysinfo.py152 def _copy_new_data_in_file(self, file_path, src_dir, dest_dir): argument
176 target_path = os.path.join(dest_dir,
187 def _log_diff(self, src_dir, dest_dir): argument
198 dest_dir = os.path.join(dest_dir, dir)
200 if not os.path.exists(dest_dir):
201 os.makedirs(dest_dir)
204 self._copy_new_data_in_file(src_file, src_dir, dest_dir)
Dsite_sysinfo_unittest.py23 self.dest_dir = os.path.join(self.tempdir.name, 'dest')
88 info.run(self.dest_dir, collect_init_status=False)
/external/vulkan-validation-layers/build-android/
Dbuild.py232 dest_dir = os.path.join(installdir, properties['dest_dir'])
235 dst = os.path.join(dest_dir, d)
240 print(source_dir, ':', dest_dir, ":", f)
245 install_file(f, source_dir, dest_dir)
247 print(source_dir, ':', dest_dir, ":", f, "SKIPPED")
293 dest_dir = os.path.join(installdir, properties['dest_dir'])
295 dst = os.path.join(dest_dir, d)
/external/toolchain-utils/
Dremote_gcc_build.py233 def ReplaceSysroot(chromeos_root, dest_dir, target): argument
242 command = 'sudo mv {0} {1}'.format(dest_dir, board_dir)
304 dest_dir): argument
309 local_flag = '--local -r {0}'.format(dest_dir)
430 args.chrome_version, args.dest_dir)
431 if args.local or not args.dest_dir:
442 dest_dir = misc.CanonicalizePath(args.dest_dir)
453 DownloadImage(target, build_id, dest_dir, chromeos_version)
454 ret = UnpackImage(dest_dir)
461 ret = ReplaceSysroot(chromeos_root, args.dest_dir, target)
Drepo_to_repo.py76 def _RsyncExcludingRepoDirs(self, source_dir, dest_dir): argument
80 dest_file = os.path.join(dest_dir, f)
85 command = 'rsync -a %s %s' % (source_file, dest_dir)
89 def MapSources(self, dest_dir): argument
91 return self._RsyncExcludingRepoDirs(self._root_dir, dest_dir)
/external/autotest/client/cros/video/
Dchameleon_screenshot_capturer.py23 def __init__(self, chameleon_board, interface, display_facade, dest_dir, argument
39 self.dest_dir = dest_dir
97 fullpath = os.path.join(self.dest_dir, filename)
/external/toolchain-utils/fdo_scripts/
Dprofile_cycler.py68 dest_dir = os.path.join(self._profile_dir,
71 if os.path.exists(dest_dir):
72 command = 'rm -rf %s' % dest_dir
79 command = 'mkdir -p %s' % dest_dir
82 dest_dir,
/external/clang/tools/scan-build-py/tests/unit/
Dtest_intercept.py54 def create_csrutil(dest_dir, status): argument
55 filename = os.path.join(dest_dir, 'csrutil')
59 def create_sestatus(dest_dir, status): argument
60 filename = os.path.join(dest_dir, 'sestatus')
/external/skia/tools/skp/
Dwebpages_playback.py350 self._local_skp_dir, dest_dir=dest_dir_name)
463 def upload_dir_contents(self, source_dir, dest_dir): argument
494 def upload_dir_contents(self, source_dir, dest_dir): argument
496 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))])
512 def upload_dir_contents(self, source_dir, dest_dir): argument
513 def copytree(source_dir, dest_dir): argument
514 if not os.path.exists(dest_dir):
515 os.makedirs(dest_dir)
518 dest = os.path.join(dest_dir, item)
523 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
/external/e2fsprogs/debugfs/
Ddump.c330 char *dest_dir; in do_rdump() local
338 dest_dir = argv[argc - 1]; in do_rdump()
342 if (stat(dest_dir, &st) == -1) { in do_rdump()
343 com_err("rdump", errno, "while statting %s", dest_dir); in do_rdump()
347 com_err("rdump", 0, "%s is not a directory", dest_dir); in do_rdump()
367 rdump_inode(ino, &inode, basename, dest_dir); in do_rdump()
/external/skia/infra/bots/recipe_modules/ct/
Dapi.py17 dest_dir, start_range, num_skps): argument
34 slave_dest_dir = dest_dir.join('slave%s' % slave_num )
/external/autotest/client/common_lib/
Dpackages.py817 def tar_package(self, pkg_name, src_dir, dest_dir, exclude_string=None): argument
823 tarball_path = os.path.join(dest_dir, pkg_name)
843 def untar_required(self, tarball_path, dest_dir): argument
849 checksum_path = os.path.join(dest_dir, '.checksum')
861 def untar_pkg(self, tarball_path, dest_dir): argument
870 (tarball_path, dest_dir))
874 pkg_checksum_path = os.path.join(dest_dir,
/external/toolchain-utils/automation/common/
Dcommand.py223 def UnTar(tar_file, dest_dir): argument
225 MakeDir(dest_dir), Shell('tar', '-x', '-f', tar_file, '-C', dest_dir))
/external/toolchain-utils/crosperf/
Dresults_cache.py64 def CopyFilesTo(self, dest_dir, files_to_copy): argument
67 if not os.path.isdir(dest_dir):
68 command = 'mkdir -p %s' % dest_dir
70 dest_file = os.path.join(dest_dir,
77 def CopyResultsTo(self, dest_dir): argument
78 self.CopyFilesTo(dest_dir, self.perf_data_files)
79 self.CopyFilesTo(dest_dir, self.perf_report_files)
81 self._logger.LogOutput('Perf results files stored in %s.' % dest_dir)
Dresults_cache_unittest.py220 dest_dir = '/tmp/test'
228 self.result.CopyFilesTo(dest_dir, files)
242 self.result.CopyFilesTo(dest_dir, files)
253 self.assertRaises(Exception, self.result.CopyFilesTo, dest_dir, files)
/external/autotest/client/cros/chameleon/
Dchameleon_video_capturer.py124 def write_images(self, frame_indices, dest_dir, image_format): argument
140 path = os.path.join(dest_dir, str(i) + '.' + image_format)
/external/autotest/utils/
Dbuild_externals.py117 def fetch_necessary_packages(dest_dir, install_dir, names_to_check=set()): argument
144 if not package.fetch(dest_dir):
Dpackager.py91 action, dest_dir=None): argument
118 base_test_dir = os.path.join(dest_dir, 'client')
340 action=cur_action, dest_dir=options.output_dir)
Dexternal_packages.py507 def fetch(self, dest_dir): argument
522 if not os.path.exists(dest_dir):
523 os.makedirs(dest_dir)
524 local_path = os.path.join(dest_dir, self.local_filename)
/external/skia/infra/bots/
Dutils.py75 def git_clone(repo_url, dest_dir): argument
77 subprocess.check_call([GIT, 'clone', repo_url, dest_dir])
/external/autotest/site_utils/
Dperf_csv_uploader.py96 def _download(self, dest_dir): argument
114 utils.run('gsutil cp %s %s' % (f, dest_dir))
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.copy/
Dcopy.pass.cpp181 const path dest_dir = env.create_dir("dest_dir"); in TEST_CASE() local
182 const path expect_dest = dest_dir / file.filename(); in TEST_CASE()
184 fs::copy(file, dest_dir, ec); in TEST_CASE()
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc626 FilePath dest_dir(temp_dir_.path().AppendASCII("dest")); in TEST_F() local
627 FilePath dest_subdir(dest_dir.AppendASCII("subdir")); in TEST_F()
641 ASSERT_TRUE(base::Move(source_dir, dest_dir)); in TEST_F()
/external/autotest/server/hosts/
Dadb_host.py1297 def download_file(self, build_url, file, dest_dir, unzip=False, argument
1315 dest_file = os.path.join(dest_dir, file)
1319 unzip_dest = unzip_dest or dest_dir
1321 (dest_dir, file, unzip_dest))