/device/google/marlin/ |
preloads_copy.sh | 25 dest_dir=/data/preloads 29 cp -rn $file $dest_dir &
|
/external/autotest/client/bin/ |
local_host_unittest.py | 159 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...] |
site_sysinfo.py | 152 def _copy_new_data_in_file(self, file_path, src_dir, dest_dir): 157 @param dest_dir: target directory to store new data of src_dir. 176 target_path = os.path.join(dest_dir, 187 def _log_diff(self, src_dir, dest_dir): 188 """Log all of the new data in src_dir to dest_dir. 191 @param dest_dir: target directory to store new data of src_dir. 198 dest_dir = os.path.join(dest_dir, dir) 200 if not os.path.exists(dest_dir): 201 os.makedirs(dest_dir) [all...] |
site_sysinfo_unittest.py | 23 self.dest_dir = os.path.join(self.tempdir.name, 'dest') 88 info.run(self.dest_dir, collect_init_status=False) 90 # Validate files in dest_dir.
|
/cts/tools/vm-tests-tf/src/util/build/ |
DasmBuildStep.java | 94 String dest_dir = outputFile.folder.getAbsolutePath(); local 97 if (dest_dir != null) { 98 dest_dir = dest_dir + File.separator + class_dir; 100 dest_dir = class_dir; 106 if (dest_dir == null) { 109 out_file = new File(dest_dir, class_name + ".dex"); 111 // check that dest_dir exists 112 File dest = new File(dest_dir); 118 System.err.println("Cannot create directory " + dest_dir); [all...] |
/external/skia/infra/bots/recipe_modules/ct/ |
api.py | 17 dest_dir, start_range, num_skps): 22 The SKPs are downloaded into subdirectories in the dest_dir. 29 dest_dir: path obj. The directory to download SKPs into. 34 slave_dest_dir = dest_dir.join('slave%s' % slave_num )
|
/cts/tools/dasm/src/dasm/ |
Main.java | 115 String dest_dir = destPath; local 119 if (dest_dir != null) { 120 dest_dir = dest_dir + File.separator + class_dir; 122 dest_dir = class_dir; 129 if (dest_dir == null) { 133 out_file = new File(dest_dir, class_name + ".dex"); 134 hr_file = new File(dest_dir, class_name + ".dxt"); 136 // check that dest_dir exists 137 File dest = new File(dest_dir); [all...] |
/external/autotest/client/cros/video/ |
chameleon_screenshot_capturer.py | 23 def __init__(self, chameleon_board, interface, display_facade, dest_dir, 29 @param dest_dir: path, full path to the dest dir to put the screenshot. 39 self.dest_dir = dest_dir 97 fullpath = os.path.join(self.dest_dir, filename)
|
/external/clang/tools/scan-build-py/tests/unit/ |
test_intercept.py | 54 def create_csrutil(dest_dir, status): 55 filename = os.path.join(dest_dir, 'csrutil') 59 def create_sestatus(dest_dir, status): 60 filename = os.path.join(dest_dir, 'sestatus')
|
/frameworks/base/tools/layoutlib/rename_font/ |
build_font.py | 40 dest_dir = '/tmp' variable 70 global dest_dir 71 dest_dir = argv[-1] 74 os.chdir(dest_dir) 88 shutil.copy(input_path, dest_dir) 101 ttx_path = os.path.join(dest_dir, filename) 106 ttx_args = ['-q', '-d', dest_dir, input_path] 115 ttx_args = ['-q', '-d', dest_dir, ttx_path] 126 shutil.copy(input_path, dest_dir)
|
/external/vulkan-validation-layers/build-android/ |
build.py | 172 'dest_dir': 'third_party/shaderc', 188 'dest_dir': 'third_party/shaderc/third_party/spirv-tools', 199 'dest_dir': 209 'dest_dir': 'third_party/shaderc/third_party/glslang', 232 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" [all...] |
/pdk/build/ |
pdk_utils.py | 70 dest_dir = os.path.dirname(dest_file) 71 if not os.path.isdir(dest_dir): 72 os.makedirs(dest_dir) 78 def copy_file_new_name_if_exists(src_full_name, dest_dir, dest_file): 79 """copy src_full_name (including dir + file name) to dest_dir/dest_file 84 dest_full_name = dest_dir + "/" + dest_file 85 if not os.path.isdir(dest_dir): 86 os.makedirs(dest_dir)
|
/external/toolchain-utils/ |
remote_gcc_build.py | 233 def ReplaceSysroot(chromeos_root, dest_dir, target): 242 command = 'sudo mv {0} {1}'.format(dest_dir, board_dir) 304 dest_dir): 309 local_flag = '--local -r {0}'.format(dest_dir) 357 '--dest_dir', 358 dest='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) [all...] |
/system/core/adb/ |
bugreport.cpp | 40 BugreportStandardStreamsCallback(const std::string& dest_dir, const std::string& dest_file, 44 dest_dir_(dest_dir), 171 // - if argument is empty, dest_dir is set as the current directory and dest_file_ will be the 229 std::string dest_file, dest_dir; local 233 if (!getcwd(&dest_dir)) { 240 dest_dir = argv[1]; 267 BugreportStandardStreamsCallback bugz_callback(dest_dir, dest_file, show_progress, this);
|
/external/toolchain-utils/fdo_scripts/ |
profile_cycler.py | 68 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/e2fsprogs/debugfs/ |
dump.c | 330 char *dest_dir; local 338 dest_dir = argv[argc - 1]; 342 if (stat(dest_dir, &st) == -1) { 343 com_err("rdump", errno, "while statting %s", dest_dir); 347 com_err("rdump", 0, "%s is not a directory", dest_dir); 367 rdump_inode(ino, &inode, basename, dest_dir);
|
/external/skia/tools/skp/ |
webpages_playback.py | 350 self._local_skp_dir, dest_dir=dest_dir_name) 463 def upload_dir_contents(self, source_dir, dest_dir): 494 def upload_dir_contents(self, source_dir, dest_dir): 496 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))]) 512 def upload_dir_contents(self, source_dir, dest_dir): 513 def copytree(source_dir, dest_dir): 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)) [all...] |
/system/extras/perfprofd/tests/ |
perfprofd_test.cc | 47 // dest_dir is a subdirectory of test_dir that we'll create on the fly 52 static std::string dest_dir; variable 63 dest_dir.c_str(), seq); 90 ASSERT_FALSE(dest_dir == ""); 93 cmd += dest_dir; 97 cmd += dest_dir; 108 dest_dir = test_dir; 109 dest_dir += "/tmp"; 388 std::string ddparam("destination_directory="); ddparam += dest_dir; 424 std::string ddparam("destination_directory="); ddparam += dest_dir; [all...] |
/external/autotest/client/cros/chameleon/ |
chameleon_video_capturer.py | 124 def write_images(self, frame_indices, dest_dir, image_format): 129 @param dest_dir: path to the desired destination dir. 140 path = os.path.join(dest_dir, str(i) + '.' + image_format)
|
/external/autotest/utils/ |
build_externals.py | 117 def fetch_necessary_packages(dest_dir, install_dir, names_to_check=set()): 119 Fetches all ExternalPackages into dest_dir. 121 @param dest_dir: Directory the packages should be fetched into. 144 if not package.fetch(dest_dir):
|
/development/build/tools/ |
mk_sources_zip.py | 198 dest_dir = os.path.dirname(dest_path) 199 if not os.path.isdir(dest_dir): 200 os.makedirs(dest_dir)
|
/external/toolchain-utils/automation/common/ |
command.py | 223 def UnTar(tar_file, dest_dir): 225 MakeDir(dest_dir), Shell('tar', '-x', '-f', tar_file, '-C', dest_dir))
|
/system/extras/perfprofd/ |
perfprofdcore.cc | 638 std::string dest_dir = config.getStringValue("destination_directory"); 639 DIR* dir = opendir(dest_dir.c_str()); 644 std::string file_path = dest_dir + "/" + e->d_name; 651 dest_dir.c_str()); 665 std::string dest_dir = config.getStringValue("destination_directory"); 668 std::string produced_file_path = dest_dir + "/" + PRODUCED_FILENAME; 677 "%s/perf.data.encoded.%d", dest_dir.c_str(),seq).c_str()) == 0) {
|
/external/autotest/site_utils/ |
perf_csv_uploader.py | 96 def _download(self, dest_dir): 97 """Download the folder containing csv files to the given dest_dir. 99 @param dest_dir: A directory to store the downloaded csv files. 114 utils.run('gsutil cp %s %s' % (f, dest_dir))
|
/external/skia/infra/bots/ |
utils.py | 75 def git_clone(repo_url, dest_dir): 77 subprocess.check_call([GIT, 'clone', repo_url, dest_dir])
|