/external/chromium-trace/catapult/common/py_utils/py_utils/ |
cloud_storage_unittest.py | 49 def _FakeGet(self, bucket, remote_path, local_path): 88 local_path = 'test-local-path.html' 90 remote_path, local_path) 117 # The file at |local_path| doesn't exist. We should download file from cs. 119 'remote_path', 'local_path', 'cs_bucket', 'hash') 121 get_mock.assert_called_once_with('cs_bucket', 'remote_path', 'local_path') 126 # A local file exists at |local_path| but has the wrong hash. 129 'remote_path', 'local_path', 'cs_bucket', 'new_hash') 131 get_mock.assert_called_once_with('cs_bucket', 'remote_path', 'local_path') 133 calc_hash_mock.assert_called_once_with('local_path') [all...] |
/external/autotest/utils/ |
external_packages.py | 465 local_path = os.path.join(dest_dir, self.local_filename) 468 if os.path.exists(local_path): 469 actual_hex_sum = _checksum_file(local_path) 473 self.verified_package = local_path 477 os.rename(local_path, local_path + '.wrong-checksum') 498 output = open(local_path, 'wb') 514 os.unlink(local_path) 517 self.verified_package = local_path [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
cros_browser_backend.py | 38 e.local_path = os.path.join(extension_dir, os.path.basename(e.path)) 188 self._cri.RmRF(os.path.dirname(e.local_path))
|
chrome_browser_backend.py | 92 extensions = [extension.local_path 99 component_extensions = [extension.local_path
|
/ndk/ |
ndk-gdb.py | 424 local_path = "{}/gdbserver/{}/gdbserver" 425 local_path = local_path.format(NDK_PATH, arch) 427 args.device.push(local_path, remote_path) 466 local_path = os.path.realpath(out_dir + required_file) 467 local_dirname = os.path.dirname(local_path) 470 log("Pulling '{}' to '{}'".format(required_file, local_path)) 471 device.pull(required_file, local_path)
|
/external/autotest/client/virt/ |
virt_test_utils.py | 447 def copy_if_hash_differs(vm, local_path, remote_path): 452 @param local_path: Local path. 458 local_hash = utils.hash_file(local_path) 459 basename = os.path.basename(local_path) 476 vm.copy_files_to(local_path, remote_path)
|
virt_utils.py | 859 def scp_to_remote(host, port, username, password, local_path, remote_path, 867 @param local_path: Path on the local machine where we are copying from 876 (port, local_path, username, host, remote_path)) 883 def scp_from_remote(host, port, username, password, remote_path, local_path, 891 @param local_path: Path on the local machine where we are copying from 900 (port, username, host, remote_path, local_path)) 931 def copy_files_to(address, client, username, password, port, local_path, 939 @param local_path: Path on the local machine where we are copying from [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
browser_backend.py | 59 local_path=self.log_file_path)
|
/external/autotest/client/common_lib/ |
base_packages.py | 203 local_path = os.path.join(self.url, filename) 205 self.run_command('cp %s %s' % (local_path, dest_path)) 207 local_path) 574 local_path = os.path.join(dir_path, "*") 579 utils.run('scp %s %s:%s' % (local_path, hostline, 587 utils.run("cp %s %s " % (local_path, upload_path)) [all...] |
/system/core/adb/ |
file_sync_client.cpp | 54 static void ensure_trailing_separators(std::string& local_path, std::string& remote_path) { 55 if (!adb_is_separator(local_path.back())) { 56 local_path.push_back(OS_PATH_SEPARATOR); 83 copyinfo(const std::string& local_path, 87 : lpath(local_path), rpath(remote_path), mode(mode) { [all...] |
test_device.py | 655 def _verify_local(self, checksum, local_path): 656 with open(local_path, 'rb') as host_file: [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/ |
main-scripts.rb | 38 input_path = local_path( 'input.txt' )
|
/external/skia/tools/skp/ |
webpages_playback.py | 517 def download_file(self, name, local_path, *args): 518 shutil.copyfile(os.path.join(self._base_dir, name), local_path)
|
/external/autotest/server/ |
server_job.py | [all...] |
/frameworks/compile/libbcc/gdb_plugin/ |
android-commands.py | 297 # adb pull <remote_path> <local_path> 298 def pull(self, remote_path, local_path): 299 self._call_adb(*["pull", remote_path, local_path])
|