/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | uploader_unittest.py | 16 self.local_path = os.path.abspath(os.path.join('path', 'to', 'dependency')) 17 self.fs.CreateFile(self.local_path) 22 None, self.remote_path, self.local_path) 24 self.bucket, None, self.local_path) 29 self.fs.RemoveObject(self.local_path) 31 self.bucket, self.remote_path, self.local_path) 35 self.bucket, self.remote_path, self.local_path) 39 expected_local_path = self.local_path 47 self.bucket, self.remote_path, self.local_path) 49 self.bucket, self.remote_path, self.local_path) [all …]
|
D | uploader.py | 17 def __init__(self, bucket, remote_path, local_path, cs_backup_path=None): argument 18 if not bucket or not remote_path or not local_path: 21 'remote_path %s, and local_path %s', bucket, remote_path, local_path) 22 if not os.path.exists(local_path): 24 'local path %s', local_path) 28 self._local_path = local_path
|
D | manager.py | 116 local_path = dependency_info.GetLocalPath() 117 if not local_path or not os.path.exists(local_path): 119 return local_path 137 local_path = dependency_info.GetLocalPath() 138 if local_path:
|
/external/autotest/client/site_tests/video_PlaybackPerf/ |
D | video_PlaybackPerf.py | 64 def start_playback(self, cr, local_path): argument 74 tab.Navigate(cr.browser.platform.http_server.UrlOf(local_path)) 93 local_path = os.path.join(self.bindir, video_name) 94 file_utils.download_file(url, local_path) 98 keyvals = self.test_dropped_frames(local_path) 113 keyvals = self.test_cpu_usage(local_path) 117 keyvals = self.test_power(local_path) 121 def test_dropped_frames(self, local_path): argument 149 return self.test_playback(local_path, get_dropped_frames) 152 def test_cpu_usage(self, local_path): argument [all …]
|
/external/autotest/client/site_tests/video_WebRtcPerf/ |
D | video_WebRtcPerf.py | 137 local_path = os.path.join(self.bindir, VIDEO_NAME) 138 file_utils.download_file(url, local_path) 141 keyvals = self.test_decode_time(local_path) 155 keyvals = self.test_cpu_usage(local_path) 159 keyvals = self.test_power(local_path) 163 def test_webrtc(self, local_path, gather_result): argument 175 EXTRA_BROWSER_ARGS.append(FAKE_FILE_ARG % local_path) 212 def test_cpu_usage(self, local_path): argument 239 return self.test_webrtc(local_path, get_cpu_usage) 245 def test_power(self, local_path): argument [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
D | extension_to_load.py | 54 def local_path(self): member in ExtensionToLoad 59 @local_path.setter 60 def local_path(self, local_path): member in ExtensionToLoad 61 self._local_path = local_path
|
/external/chromium-trace/catapult/catapult_base/catapult_base/ |
D | cloud_storage.py | 210 def Get(bucket, remote_path, local_path): argument 211 with _PseudoFileLock(local_path): 212 _GetLocked(bucket, remote_path, local_path) 246 def _GetLocked(bucket, remote_path, local_path): argument 248 logging.info('Downloading %s to %s', url, local_path) 249 _CreateDirectoryIfNecessary(os.path.dirname(local_path)) 251 dir=os.path.dirname(local_path), 261 shutil.move(partial_download_path.name, local_path) 267 def Insert(bucket, remote_path, local_path, publicly_readable=False): argument 285 command_and_args += [local_path, url] [all …]
|
D | cloud_storage_unittest.py | 49 def _FakeGet(self, bucket, remote_path, local_path): argument 88 local_path = 'test-local-path.html' 90 remote_path, local_path)
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | system_stub.py | 196 def Insert(self, bucket, remote_path, local_path): argument 198 if not local_path in self.GetLocalDataFiles(): 202 CloudStorageModuleStub.CalculateHash(self, local_path)) 205 def GetHelper(self, bucket, remote_path, local_path, only_if_changed): argument 212 local_hash = self.local_file_hashes[local_path] 216 self.local_file_hashes[local_path] = remote_hash 217 self.local_hash_files[local_path + '.sha1'] = remote_hash 220 def Get(self, bucket, remote_path, local_path): argument 222 local_path, False) 224 def GetIfChanged(self, local_path, bucket=None): argument [all …]
|
/external/autotest/client/site_tests/audio_PlaybackPower/ |
D | audio_PlaybackPower.py | 81 local_path = os.path.join(self.bindir, '%s' % test_file) 82 file_utils.download_file(_DOWNLOAD_BASE + test_file, local_path) 84 local_path, checksum) 85 with open(local_path, 'r') as r: 91 url = cr.browser.platform.http_server.UrlOf(local_path)
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
D | functional.rb | 25 def local_path( *parts ) method 30 local_path( name ) 110 path = local_path( name.to_s ) 162 def local_path( *args ) method in ANTLR3.Test.Functional 163 self.class.local_path( *args )
|
/external/autotest/client/site_tests/video_ChromeRTCHWDecodeUsed/ |
D | video_ChromeRTCHWDecodeUsed.py | 44 local_path = os.path.join(self.bindir, video_name) 45 file_utils.download_file(url, local_path) 48 EXTRA_BROWSER_ARGS.append(FAKE_FILE_ARG % local_path)
|
/external/autotest/client/site_tests/firmware_TouchMTB/tools/ |
D | expect_scp | 8 set local_path [lindex $argv 1] 11 "$local_path" "$remote_path"
|
/external/autotest/client/site_tests/video_ChromeRTCHWEncodeUsed/ |
D | video_ChromeRTCHWEncodeUsed.py | 95 local_path = os.path.join(self.bindir, VIDEO_NAME) 96 file_utils.download_file(url, local_path) 99 EXTRA_BROWSER_ARGS.append(FAKE_FILE_ARG % local_path)
|
/external/v8/ |
D | PRESUBMIT.py | 164 local_path = f.LocalPath() 168 '%s:%d\n %s' % (local_path, line_number, line.strip())) 205 local_path = f.LocalPath() 211 '%s:%d\n %s' % (local_path, line_number, line.strip()))
|
/external/jsoncpp/devtools/ |
D | antglob.py | 189 def local_path( paths ): function 191 … test_cases.append( (ant_pattern, local_path(accepted_matches), local_path( rejected_matches )) )
|
/external/skia/infra/bots/flavor/ |
D | chromeos_flavor.py | 26 local_path = self._bot_info.out_dir.join( 30 self.copy_file_to_device(local_path, remote_path)
|
/external/autotest/utils/ |
D | 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
|
/external/autotest/client/common_lib/ |
D | file_utils.py | 120 def download_file(remote_path, local_path): argument 167 with open(local_path, 'wb') as local_file:
|
D | 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))
|
/external/autotest/server/cros/multimedia/ |
D | audio_facade_adapter.py | 100 def get_recorded_file(self, remote_path, local_path): argument 107 self._client.get_file(remote_path, local_path)
|
/external/autotest/server/ |
D | crashcollect.py | 173 for hostname, remote_path, local_path in logs: 176 hostname, remote_path, local_path) 177 host.get_file(remote_path + "/", local_path + "/")
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
D | browser_backend_unittest.py | 32 bucket='ABC', remote_path='def', local_path='/foo/bar')
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
D | cros_browser_backend.py | 38 e.local_path = os.path.join(extension_dir, os.path.basename(e.path)) 165 self._cri.RmRF(os.path.dirname(e.local_path))
|
/external/autotest/client/virt/ |
D | virt_test_utils.py | 447 def copy_if_hash_differs(vm, local_path, remote_path): argument 458 local_hash = utils.hash_file(local_path) 459 basename = os.path.basename(local_path) 476 vm.copy_files_to(local_path, remote_path)
|