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

12

/external/autotest/client/site_tests/firmware_TouchMTB/tools/
H A Dexpect_scp8 set local_path [lindex $argv 1]
11 "$local_path" "$remote_path"
/external/autotest/server/site_tests/provision_CheetsUpdate/lib/
H A Dbuild_artifact_fetcher.py43 def fetch(self, remote_path, local_path):
44 logging.info('Fetching %s ...', os.path.basename(local_path))
45 util.makedirs(os.path.dirname(local_path))
50 remote_path, local_path)
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
H A 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...]
H A Duploader.py17 def __init__(self, bucket, remote_path, local_path, cs_backup_path=None):
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
H A Dmanager.py155 local_path = dependency_info.GetLocalPath()
156 if not local_path or not os.path.exists(local_path):
158 return local_path
173 local_path = dependency_info.GetLocalPath()
174 if local_path:
/external/perfetto/tools/
H A Dinstall-build-deps252 local_path = os.path.join(ROOT_DIR, rel_path)
254 CheckoutGitRepo(local_path, url, expected_sha1)
256 is_zip = local_path.endswith('.zip') or local_path.endswith('.tgz')
257 zip_target_dir = local_path[:-4] if is_zip else None
260 if ((not is_zip and HashLocalFile(local_path) == expected_sha1) or
264 if HashLocalFile(local_path) != expected_sha1:
265 download_path = local_path + '.tmp'
266 logging.info('Downloading %s from %s', local_path, url)
273 os.rename(download_path, local_path)
[all...]
/external/skia/experimental/tools/
H A Dandroid_skp_capture.sh28 local_path="$(date '+%Y-%m-%d_%H%M%S')_${package}.skp"
86 adb pull "$remote_path" "$local_path"
87 if ! [ -f "$local_path" ] ; then
92 printf '\nSKP saved to file:\n %s\n\n' "$local_path"
/external/skqp/experimental/tools/
H A Dandroid_skp_capture.sh28 local_path="$(date '+%Y-%m-%d_%H%M%S')_${package}.skp"
86 adb pull "$remote_path" "$local_path"
87 if ! [ -f "$local_path" ] ; then
92 printf '\nSKP saved to file:\n %s\n\n' "$local_path"
/external/autotest/client/site_tests/video_PlaybackPerf/
H A Dvideo_PlaybackPerf.py70 def start_playback(self, cr, local_path):
75 @param local_path: path to the local video file to play.
80 tab.Navigate(cr.browser.platform.http_server.UrlOf(local_path))
102 local_path = os.path.join(self.bindir, os.path.basename(video_name))
103 logging.info("Downloading %s to %s", url, local_path);
104 file_utils.download_file(url, local_path)
109 keyvals = self.test_dropped_frames(local_path)
124 keyvals = self.test_cpu_usage(local_path)
128 tmp = self.test_power(local_path)
149 def test_dropped_frames(self, local_path)
[all...]
/external/autotest/client/site_tests/video_JpegEncodeAccelerator/
H A Dvideo_JpegEncodeAccelerator.py36 local_path = os.path.join(self.bindir, os.path.basename(TEST_IMAGE_PATH))
37 file_utils.download_file(url, local_path)
/external/autotest/client/site_tests/audio_PlaybackPower/
H A Daudio_PlaybackPower.py82 local_path = os.path.join(self.bindir, '%s' % test_file)
83 file_utils.download_file(_DOWNLOAD_BASE + test_file, local_path)
85 local_path, checksum)
86 with open(local_path, 'r') as r:
92 url = cr.browser.platform.http_server.UrlOf(local_path)
/external/autotest/client/site_tests/video_WebRtcPerf/
H A Dvideo_WebRtcPerf.py159 local_path = os.path.join(self.bindir, VIDEO_NAME)
160 file_utils.download_file(url, local_path)
164 keyvals = self.test_decode_time(local_path)
178 keyvals = self.test_cpu_usage(local_path)
182 keyvals = self.test_power(local_path)
186 def test_webrtc(self, local_path, gather_result):
190 @param local_path: the path to the video file.
198 EXTRA_BROWSER_ARGS.append(FAKE_FILE_ARG % local_path)
255 def test_cpu_usage(self, local_path):
259 @param local_path
[all...]
/external/autotest/client/site_tests/video_ChromeRTCHWDecodeUsed/
H A Dvideo_ChromeRTCHWDecodeUsed.py68 local_path = os.path.join(self.bindir, video_name)
69 file_utils.download_file(url, local_path)
72 EXTRA_BROWSER_ARGS.append(FAKE_FILE_ARG % local_path)
/external/toolchain-utils/
H A Drepo_to_repo.py30 remote_path, local_path = mapping.split()
31 if local_path.endswith('/') and not remote_path.endswith('/'):
32 local_path = os.path.join(local_path, os.path.basename(remote_path))
34 canonical_mappings.append(perforce.PathMapping(remote_path, local_path))
43 local_path = parts[1]
45 local_path = '.'
46 return remote_path, local_path
173 remote_path, local_path = SplitMapping(mapping)
174 command = 'svn co %s/%s %s' % (self.address, remote_path, local_path)
[all...]
/external/chromium-trace/catapult/common/py_utils/py_utils/
H A Dcloud_storage.py235 def Get(bucket, remote_path, local_path):
236 with _FileLock(local_path):
237 _GetLocked(bucket, remote_path, local_path)
338 def _GetLocked(bucket, remote_path, local_path):
340 logger.info('Downloading %s to %s', url, local_path)
341 _CreateDirectoryIfNecessary(os.path.dirname(local_path))
343 dir=os.path.dirname(local_path),
353 shutil.move(partial_download_path.name, local_path)
359 def Insert(bucket, remote_path, local_path, publicly_readable=False):
360 """ Upload file in |local_path| t
[all...]
/external/autotest/server/site_tests/firmware_FlashServoKeyboardMap/
H A Dfirmware_FlashServoKeyboardMap.py46 local_path = os.path.join(self.bindir, 'test_data', 'keyboard.hex')
47 host.send_file(local_path, '/tmp')
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dfunctional.rb25 def local_path( *parts ) method in class:ANTLR3.Test.Location
30 local_path( name )
110 path = local_path( name.to_s )
162 def local_path( *args ) method in class:ANTLR3.Test.Functional
163 self.class.local_path( *args )
/external/autotest/client/site_tests/video_ChromeRTCHWEncodeUsed/
H A Dvideo_ChromeRTCHWEncodeUsed.py94 local_path = os.path.join(self.bindir, VIDEO_NAME)
95 file_utils.download_file(url, local_path)
98 EXTRA_BROWSER_ARGS.append(FAKE_FILE_ARG % local_path)
/external/autotest/server/cros/cfm/
H A Dcfm_base_test.py131 def _safe_copy_file(self, remote_path, local_path):
137 remote_path, local_path)
138 self._host.get_file(remote_path, local_path)
/external/toolchain-utils/automation/clients/helper/
H A 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/jsoncpp/devtools/
H A Dantglob.py189 def local_path( paths ): function in function:glob.AntPatternToRETest.test_matching
191 test_cases.append( (ant_pattern, local_path(accepted_matches), local_path( rejected_matches )) )
/external/autotest/client/common_lib/
H A Dfile_utils.py122 def download_file(remote_path, local_path):
127 @param local_path: path, complete path to save downloaded file.
169 with open(local_path, 'wb') as local_file:
/external/autotest/server/cros/multimedia/
H A Daudio_facade_adapter.py116 def get_recorded_file(self, remote_path, local_path):
120 @param local_path: The local path for copy destination.
123 self._client.get_file(remote_path, local_path)
/external/skia/infra/bots/recipe_modules/infra/
H A Dapi.py70 def __init__(self, gs_path, local_path, api):
72 self._local_path = local_path
/external/skqp/infra/bots/recipe_modules/infra/
H A Dapi.py70 def __init__(self, gs_path, local_path, api):
72 self._local_path = local_path

Completed in 933 milliseconds

12