Home
last modified time | relevance | path

Searched refs:local_file (Results 1 – 18 of 18) sorted by relevance

/external/autotest/client/site_tests/video_VideoEncodeAccelerator/
Dvideo_VideoEncodeAccelerator.py28 def _download_video(download_path, local_file): argument
30 logging.info('download "%s" to "%s"', url, local_file)
32 file_utils.download_file(url, local_file)
34 with open(local_file, 'r') as r:
/external/autotest/client/site_tests/video_VDASanity/
Dvideo_VDASanity.py38 def _download_video(self, download_path, local_file): argument
40 logging.info('Downloading "%s" to "%s"', url, local_file)
41 file_utils.download_file(url, local_file)
/external/toybox/toys/pending/
Dtftp.c28 char *local_file; in GLOBALS()
277 fd = xcreate(TT.local_file, O_WRONLY | O_CREAT | O_TRUNC, 0666); in file_get()
282 unlink(TT.local_file); in file_get()
350 unlink(TT.local_file); in file_get()
355 unlink(TT.local_file); in file_get()
361 unlink(TT.local_file); in file_get()
384 fd = xopenro(TT.local_file); in file_put()
432 TT.local_file = (slash) ? slash + 1 : TT.remote_file; in tftp_main()
434 } else if (toys.optflags & FLAG_l) TT.remote_file = TT.local_file; in tftp_main()
/external/autotest/server/site_tests/brillo_HWRandom/
Dbrillo_HWRandom.py143 with tempfile.NamedTemporaryFile() as local_file:
144 host.get_file(dut_file, local_file.name)
145 output_size = os.stat(local_file.name).st_size
151 result = self._run_all_dieharder_tests(local_file.name)
/external/autotest/client/common_lib/cros/network/
Diw_event_logger.py19 def __init__(self, host, command_iw, local_file): argument
24 self._local_file = local_file
54 def local_file(self): member in IwEventLogger
Diw_runner.py910 local_file = IW_LOCAL_EVENT_LOG_FILE % (self._log_id)
913 local_file)
/external/autotest/client/site_tests/video_VEAPerf/
Dvideo_VEAPerf.py174 def _download_video(self, path_on_cloud, local_file): argument
176 logging.info('download "%s" to "%s"', url, local_file)
178 file_utils.download_file(url, local_file)
180 with open(local_file, 'r') as r:
/external/autotest/client/site_tests/video_VDAPerf/
Dvideo_VDAPerf.py209 def _download_video(self, download_path, local_file): argument
211 logging.info('download "%s" to "%s"', url, local_file)
213 file_utils.download_file(url, local_file)
215 with open(local_file, 'r') as r:
/external/skia/infra/bots/recipe_modules/infra/
Dapi.py68 def __init__(self, api, metadata_key, local_file, **kwargs): argument
71 self._local_file = local_file
/external/autotest/client/common_lib/
Dfile_utils.py169 with open(local_path, 'wb') as local_file:
174 local_file.write(block)
Dutils.py2020 def gs_upload(local_file, remote_file, acl, result_dir=None, argument
2045 cmd = '%s cp -a %s %s %s' % (_GSUTIL_BIN, acl, local_file, remote_file)
2050 cmd = '%s cp -a private %s %s' % (_GSUTIL_BIN, local_file, remote_file)
/external/autotest/server/site_tests/telemetry_AFDOGenerate/
Dtelemetry_AFDOGenerate.py310 def _gs_upload(self, local_file, remote_basename): argument
338 if not utils.gs_upload(local_file,
343 (local_file, remote_file))
/external/autotest/client/cros/
Dtouch_playback_test_base.py155 local_file = os.path.join(self.bindir, filename)
159 file_utils.download_file(url, local_file)
165 return local_file
/external/autotest/server/cros/network/
Dpacket_capturer.py364 for remote_file, local_file in pairs:
365 self._host.get_file(remote_file, local_file)
/external/python/cpython2/Lib/distutils/
Ddist.py368 local_file = "setup.cfg"
369 if os.path.isfile(local_file):
370 files.append(local_file)
/external/autotest/server/
Dsite_linux_router.py386 for remote_file, local_file in files_to_copy:
392 self.router.get_file(remote_file, local_file)
/external/autotest/client/common_lib/cros/
Ddev_server.py970 def download_file(cls, remote_file, local_file, timeout=None): argument
982 with open(local_file, 'w') as out_log:
/external/toybox/generated/
Dglobals.h891 char *local_file; member