Home
last modified time | relevance | path

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

12

/external/autotest/client/site_tests/video_PlaybackPerf/
Dvideo_PlaybackPerf.py65 def start_playback(self, cr, local_path): argument
75 tab.Navigate(cr.browser.platform.http_server.UrlOf(local_path))
96 local_path = os.path.join(self.bindir, os.path.basename(video_name))
97 logging.info("Downloading %s to %s", url, local_path);
98 file_utils.download_file(url, local_path)
103 keyvals = self.test_dropped_frames(local_path)
118 keyvals = self.test_cpu_usage(local_path)
122 keyvals = self.test_power(local_path)
126 def test_dropped_frames(self, local_path): argument
154 return self.test_playback(local_path, get_dropped_frames)
[all …]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Duploader_unittest.py16 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 …]
Duploader.py17 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
Dmanager.py155 local_path = dependency_info.GetLocalPath()
156 if not local_path or not os.path.exists(local_path):
158 return local_path
176 local_path = dependency_info.GetLocalPath()
177 if local_path:
/external/autotest/client/site_tests/video_WebRtcPerf/
Dvideo_WebRtcPerf.py140 local_path = os.path.join(self.bindir, VIDEO_NAME)
141 file_utils.download_file(url, local_path)
145 keyvals = self.test_decode_time(local_path)
159 keyvals = self.test_cpu_usage(local_path)
163 keyvals = self.test_power(local_path)
167 def test_webrtc(self, local_path, gather_result): argument
179 EXTRA_BROWSER_ARGS.append(FAKE_FILE_ARG % local_path)
226 def test_cpu_usage(self, local_path): argument
253 return self.test_webrtc(local_path, get_cpu_usage)
259 def test_power(self, local_path): argument
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
Dextension_to_load.py49 def local_path(self): member in ExtensionToLoad
54 @local_path.setter
55 def local_path(self, local_path): argument
56 self._local_path = local_path
/external/toolchain-utils/
Drepo_to_repo.py29 remote_path, local_path = mapping.split()
30 if local_path.endswith('/') and not remote_path.endswith('/'):
31 local_path = os.path.join(local_path, os.path.basename(remote_path))
33 canonical_mappings.append(perforce.PathMapping(remote_path, local_path))
42 local_path = parts[1]
44 local_path = '.'
45 return remote_path, local_path
174 remote_path, local_path = SplitMapping(mapping)
175 command = 'svn co %s/%s %s' % (self.address, remote_path, local_path)
182 remote_path, local_path = SplitMapping(mapping)
[all …]
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage.py234 def Get(bucket, remote_path, local_path): argument
235 with _FileLock(local_path):
236 _GetLocked(bucket, remote_path, local_path)
337 def _GetLocked(bucket, remote_path, local_path): argument
339 logger.info('Downloading %s to %s', url, local_path)
340 _CreateDirectoryIfNecessary(os.path.dirname(local_path))
342 dir=os.path.dirname(local_path),
352 shutil.move(partial_download_path.name, local_path)
358 def Insert(bucket, remote_path, local_path, publicly_readable=False): argument
376 command_and_args += [local_path, url]
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dsystem_stub.py213 def Insert(self, bucket, remote_path, local_path): argument
215 if not local_path in self.GetLocalDataFiles():
219 CloudStorageModuleStub.CalculateHash(self, local_path))
222 def GetHelper(self, bucket, remote_path, local_path, only_if_changed): argument
229 local_hash = self.local_file_hashes[local_path]
233 self.local_file_hashes[local_path] = remote_hash
234 self.local_hash_files[local_path + '.sha1'] = remote_hash
237 def Get(self, bucket, remote_path, local_path): argument
239 local_path, False)
241 def GetIfChanged(self, local_path, bucket=None): argument
[all …]
/external/autotest/client/site_tests/audio_PlaybackPower/
Daudio_PlaybackPower.py81 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/
Dfunctional.rb25 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/libmojo/
Dbuild_mojom.mk19 local_path := $(LOCAL_PATH)
30 mojom_type_mappings := $$(local_path)/$$(LOCAL_MOJOM_TYPE_MAPPINGS)
34 $$(gen_cc) : PRIVATE_PATH := $$(local_path)
48 $$(gen_cc) : $$(local_path)/$$(mojom_file) $$(mojom_type_mappings) \
Dbuild_generated_jni.mk17 local_path := $(LOCAL_PATH)
21 $$(gen_h) : PRIVATE_PATH := $$(local_path)
31 $$(gen_h) : $$(local_path)/$$(java_file) $$(JNI_GENERATOR_TOOL)
/external/chromium-trace/catapult/telemetry/telemetry/util/
Dscreenshot_unittest.py45 local_path = '123456abcdefg.png'
49 return_value=local_path):
54 local_path,
/external/autotest/client/site_tests/video_ChromeRTCHWDecodeUsed/
Dvideo_ChromeRTCHWDecodeUsed.py67 local_path = os.path.join(self.bindir, video_name)
68 file_utils.download_file(url, local_path)
71 EXTRA_BROWSER_ARGS.append(FAKE_FILE_ARG % local_path)
/external/toolchain-utils/automation/clients/helper/
Dperforce.py37 for remote_path, local_path in tuple_list:
38 mappings.append(cls(remote_path, local_path))
204 local_path, file_part = mapping.local.rsplit('/', 1)
207 remote_dir = os.path.join(snapshot, local_path)
208 local_dir = os.path.join(self.checkout_dir, os.path.dirname(local_path))
/external/autotest/client/site_tests/video_ChromeRTCHWEncodeUsed/
Dvideo_ChromeRTCHWEncodeUsed.py93 local_path = os.path.join(self.bindir, VIDEO_NAME)
94 file_utils.download_file(url, local_path)
97 EXTRA_BROWSER_ARGS.append(FAKE_FILE_ARG % local_path)
/external/autotest/client/site_tests/firmware_TouchMTB/tools/
Dexpect_scp8 set local_path [lindex $argv 1]
11 "$local_path" "$remote_path"
/external/openssh/
Dsftp-client.c1145 const char *local_path, Attrib *a, int preserve_flag, int resume_flag, in do_download() argument
1214 local_fd = open(local_path, in do_download()
1218 local_path, strerror(errno)); in do_download()
1225 local_path, strerror(errno)); in do_download()
1229 error("\"%s\" has negative size", local_path); in do_download()
1234 "local file is larger than remote", local_path); in do_download()
1385 "server reordered requests", local_path); in do_download()
1389 error("ftruncate \"%s\": %s", local_path, in do_download()
1398 error("Couldn't write to \"%s\": %s", local_path, in do_download()
1411 if (preserve_flag && chmod(local_path, mode) == -1) in do_download()
[all …]
/external/v8/
DPRESUBMIT.py160 local_path = f.LocalPath()
164 '%s:%d\n %s' % (local_path, line_number, line.strip()))
201 local_path = f.LocalPath()
207 '%s:%d\n %s' % (local_path, line_number, line.strip()))
/external/autotest/server/site_tests/firmware_FlashServoKeyboardMap/
Dfirmware_FlashServoKeyboardMap.py46 local_path = os.path.join(self.bindir, 'test_data', 'keyboard.hex')
47 host.send_file(local_path, '/tmp')
/external/jsoncpp/devtools/
Dantglob.py189 def local_path( paths ): function
191 … test_cases.append( (ant_pattern, local_path(accepted_matches), local_path( rejected_matches )) )
/external/autotest/client/common_lib/
Dfile_utils.py120 def download_file(remote_path, local_path): argument
167 with open(local_path, 'wb') as local_file:
/external/autotest/utils/
Dexternal_packages.py524 local_path = os.path.join(dest_dir, self.local_filename)
527 if os.path.exists(local_path):
528 actual_hex_sum = _checksum_file(local_path)
532 self.verified_package = local_path
536 os.rename(local_path, local_path + '.wrong-checksum')
557 output = open(local_path, 'wb')
573 os.unlink(local_path)
576 self.verified_package = local_path
/external/autotest/server/cros/multimedia/
Daudio_facade_adapter.py105 def get_recorded_file(self, remote_path, local_path): argument
112 self._client.get_file(remote_path, local_path)

12