HomeSort by relevance Sort by last modified time
    Searched refs:dest_path (Results 1 - 25 of 33) sorted by null

1 2

  /external/autotest/client/cros/multimedia/
arc_resource.py 79 def stop_microphone_app(self, dest_path):
86 @param dest_path: Destination path of the recorded file on Cros device.
100 self._get_file(dest_path)
146 def _get_file(self, dest_path):
151 @dest_path: Destination path of the recorded file on Cros device.
155 pipes.quote(dest_path)))
190 dest_path = os.path.join(self._PLAYMUSIC_FILE_FOLDER, file_name)
195 pipes.quote(dest_path)))
197 self._files_pushed.append(dest_path)
199 return dest_path
    [all...]
  /test/vts/utils/python/reporting/
report_file_utils.py 99 dest_path = os.path.join(self._destination_dir, relative_path)
101 url = dest_path
105 return dest_path, url
107 def _PushReportFile(self, src_path, dest_path):
112 dest_path: string, destination path of report file
115 dest_path = NotNoneStr(dest_path)
117 parent_dir = os.path.dirname(dest_path)
123 shutil.copy(src_path, dest_path)
146 dest_path, url = self._ConvertReportPath
    [all...]
  /external/autotest/client/bin/
harness_autoserv.py 85 def fetch_package(self, pkg_name, dest_path):
90 @param dest_path: The path the package should be copied to.
92 self._send_and_wait('AUTOTEST_FETCH_PACKAGE', pkg_name, dest_path)
101 def fetch_pkg_file(self, filename, dest_path):
102 if os.path.exists(dest_path):
103 os.remove(dest_path)
115 logging.info('Fetching %s from autoserv to %s.', filename, dest_path)
116 self.job_harness.fetch_package(filename, dest_path)
117 if os.path.exists(dest_path):
  /frameworks/layoutlib/rename_font/
build_font_single.py 72 dest_path = argv[-1]
77 convert_font(input_path, dest_path)
79 shutil.copy(input_path, dest_path)
82 def convert_font(input_path, dest_path):
86 ttx_path = dest_path[:-1] + 'x'
99 ttx_args = ['-q', '-o', dest_path, ttx_path]
110 shutil.copy(input_path, dest_path)
  /external/autotest/server/
crashcollect.py 50 def _collect_log_file_with_summary(host, source_path, dest_path):
55 @param dest_path: A path (file or directory) to write the copies logs into.
62 host.get_file(source_path, dest_path, preserve_perm=False)
66 # If dest_path is a file, use its parent folder to store the
68 if os.path.isfile(dest_path):
69 dest_path = os.path.dirname(dest_path)
70 # If dest_path doesn't exist, that means get_file failed, there is
72 skip_summary_collection |= not os.path.exists(dest_path)
74 host, source_path, dest_path,
    [all...]
site_utils.py 240 def remote_wget(source_url, dest_path, ssh_cmd):
241 """wget source_url from localhost to dest_path on remote host using ssh.
244 @param dest_path: The path on the remote host's file system where we would
249 (source_url, ssh_cmd, dest_path))
    [all...]
autotest.py     [all...]
  /external/autotest/client/bin/result_tools/
runner.py 127 def collect_last_summary(host, source_path, dest_path,
138 @param dest_path: A path to write the source_path into. The summary file
144 if not os.path.exists(dest_path):
146 'will be collected', dest_path)
162 dest_dir = dest_path if os.path.isdir(dest_path) else dest_path
  /test/framework/harnesses/host_controller/build/
build_provider.py 106 dest_path = path + ".dir"
111 zip_ref.extractall(dest_path)
112 self.SetFetchedDirectory(dest_path)
129 dest_path = os.path.join(self.tmp_dirpath, "android-vts")
131 zip_ref.extractall(dest_path)
132 bin_path = os.path.join(dest_path, "android-vts",
156 dest_path = os.path.join(
159 zip_ref.extractall(dest_path)
160 path = dest_path
build_provider_gcs.py 108 dest_path = temp_dir_path
112 dest_path = os.path.join(temp_dir_path, os.path.basename(path))
118 self.SetFetchedFile(dest_path, temp_dir_path)
  /test/framework/harnesses/host_controller/command_processor/
command_upload.py 122 dest_path = self.FormatString(args.dest)
127 if not dest_path.startswith("gs://"):
128 print("{} is not correct GCS url.".format(dest_path))
132 copy_command = "{} cp {} {}".format(gsutil_path, src_paths, dest_path)
command_gsispl.py 96 dest_path = tempfile.mkdtemp(dir=tempdir_base)
101 zip_ref.extractall(dest_path)
102 img_path = os.path.join(dest_path, "boot.img")
  /external/owasp/sanitizer/tools/
cut_release.py 101 dest_path = os.path.join(
105 os.mkdir(dest_path)
110 os.path.join(src_path, child), dest_path)
112 shutil.copyfile(src_path, dest_path)
113 mime_type = mime_type_from_path(dest_path)
115 files_to_rewrite.append(dest_path)
116 new_file_paths.append(dest_path)
117 return dest_path
  /external/linux-kselftest/tools/testing/selftests/mount/
unprivileged-remount-test.c 262 const char *dest_path = "/tmp"; local
297 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL);
300 orig_path, dest_path, strerror(errno));
303 ret = mount(dest_path, dest_path, "none",
311 remount_mnt_flags = read_mnt_flags(dest_path);
314 dest_path, orig_path);
  /system/core/sdcard/
sdcard.cpp 100 static bool sdcardfs_setup(const std::string& source_path, const std::string& dest_path,
113 if (mount(source_path.c_str(), dest_path.c_str(), use_esdfs ? "esdfs" : "sdcardfs",
124 static bool sdcardfs_setup_bind_remount(const std::string& source_path, const std::string& dest_path,
128 if (mount(source_path.c_str(), dest_path.c_str(), nullptr,
134 if (mount(source_path.c_str(), dest_path.c_str(), "none",
137 if (umount2(dest_path.c_str(), MNT_DETACH))
146 const std::string& dest_path, uid_t fsuid, gid_t fsgid,
150 return sdcardfs_setup(source_path, dest_path, fsuid, fsgid, multi_user, userid, gid, mask,
153 return sdcardfs_setup_bind_remount(default_path, dest_path, gid, mask);
  /bionic/libc/tools/
genversion-scripts.py 52 dest_path = os.path.join(dirname, name)
63 shutil.copyfile(tmp_path, dest_path)
  /tools/acloud/public/acloud_kernel/
kernel_swapper.py 103 def PushFile(self, src_path, dest_path):
108 dest_path: string, path on target where to push the file to.
114 self._target_ip, dest_path)
  /external/autotest/client/common_lib/
packages.py 126 def fetch_pkg_file(self, filename, dest_path):
130 @param dest_path: Destination path to download the file to.
188 def fetch_pkg_file(self, filename, dest_path):
190 dest_path)
198 cmd = self.curl_cmd_pattern % (package_url, dest_path)
202 if not self.exists(dest_path):
210 self.run_command('rm -f %s' % dest_path)
223 def fetch_pkg_file(self, filename, dest_path):
225 dest_path)
228 self.run_command('cp %s %s' % (local_path, dest_path))
    [all...]
  /development/build/tools/
mk_sources_zip.py 197 dest_path = os.path.join(p.zipfile, arc_path)
198 dest_dir = os.path.dirname(dest_path)
201 shutil.copyfile(filepath, dest_path)
  /external/autotest/site_utils/
gs_offloader.py 533 def offload(self, dir_entry, dest_path, job_complete_time):
537 `dir_entry` to Google storage at `dest_path`.
552 @param dest_path: Location in google storage where we will
558 self._full_offload(dir_entry, dest_path, job_complete_time)
564 def _full_offload(self, dir_entry, dest_path, job_complete_time):
573 @param dest_path: Location in google storage where we will
599 def _full_offload(self, dir_entry, dest_path, job_complete_time):
603 @param dest_path: Location in google storage where we will
612 self._try_offload(dir_entry, dest_path, stdout_file,
619 self._try_offload(dir_entry, dest_path, stdout_file
    [all...]
  /external/autotest/server/cros/servo/
servo.py 659 dest_path = os.path.join('/tmp', os.path.basename(image_path))
660 self._servo_host.send_file(image_path, dest_path)
661 return dest_path
  /development/testrunner/coverage/
coverage.py 175 def _MergeFiles(self, input_paths, dest_path):
180 dest_path: absolute file path of destination file
187 input_args, dest_path))
  /bootable/recovery/updater/
install.cpp 130 const std::string& dest_path = args[1]; local
141 ota_open(dest_path.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR)));
143 PLOG(ERROR) << name << ": can't open " << dest_path << " for write"; local
151 << entry.uncompressed_length << " bytes) to \"" << dest_path
156 PLOG(ERROR) << "fsync of \"" << dest_path << "\" failed";
160 PLOG(ERROR) << "close of \"" << dest_path << "\" failed";
    [all...]
  /external/autotest/server/site_tests/provision_CheetsUpdate/
push_to_device.py 113 def write(self, contents, dest_path):
114 """Writes |contents| into |dest_path| on the remote test device."""
117 self.push(f.name, dest_path)
119 def push(self, source_path, dest_path):
120 """Pushes |source_path| on the host, to |dest_path| on the remote test
125 dest_path: Path to the destination location on the remote test device.
127 target = 'root@%s:%s' % (self._remote, dest_path)
131 def pull(self, source_path, dest_path):
132 """Pulls |source_path| from the remote test device, to |dest_path| on the
137 dest_path: Path to the destination location on the host
    [all...]
  /frameworks/base/media/jni/
android_mtp_MtpDevice.cpp 560 android_mtp_MtpDevice_import_file(JNIEnv *env, jobject thiz, jint object_id, jstring dest_path)
564 const char *destPathStr = env->GetStringUTFChars(dest_path, NULL);
570 env->ReleaseStringUTFChars(dest_path, destPathStr);
    [all...]

Completed in 1430 milliseconds

1 2