Home
last modified time | relevance | path

Searched refs:host_file (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/build/android/
Dscreenshot.py23 def _CaptureScreenshot(device, host_file): argument
24 host_file = device.TakeScreenshot(host_file)
25 _PrintMessage('Screenshot written to %s' % os.path.abspath(host_file))
28 def _CaptureVideo(device, host_file, options): argument
40 host_file = recorder.Pull(host_file)
41 _PrintMessage('Video written to %s' % os.path.abspath(host_file))
78 host_file = args[0] if args else options.file
82 _CaptureVideo(device, host_file, options)
84 _CaptureScreenshot(device, host_file)
/external/chromium_org/tools/profile_chrome/
Dtrace_packager.py30 def _CompressFile(host_file, output): argument
32 open(host_file, 'rb') as input_file:
34 os.unlink(host_file)
39 for host_file in host_files:
40 z.write(host_file)
41 os.unlink(host_file)
Dchrome_controller.py105 host_file = os.path.join(os.path.curdir, os.path.basename(trace_file))
106 self._device.PullFile(trace_file, host_file)
107 return host_file
/external/chromium_org/build/android/pylib/
Dscreenshot.py77 def Pull(self, host_file=None): argument
85 host_file_name = host_file or ('screen-recording-%s.mp4' %
Dandroid_commands.py1761 def EnsureHostDirectory(host_file): argument
1762 host_dir = os.path.dirname(os.path.abspath(host_file))
1766 def TakeScreenshot(self, host_file=None): argument
1776 host_file = os.path.abspath(host_file or
1778 self.EnsureHostDirectory(host_file)
1782 self.PullFileFromDevice(device_file, host_file)
1784 return host_file
1786 def PullFileFromDevice(self, device_file, host_file): argument
1793 if not self._adb.Pull(device_file, host_file):
1795 ['pull', device_file, host_file], 'Failed to pull file from device.')
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
Dandroid.py926 def _files_match(self, host_file, device_file): argument
927 assert self._port.host.filesystem.exists(host_file)
932 self._port.host.executive.popen(args=['%s_host' % self._md5sum_path, host_file],
936 def _push_file_if_needed(self, host_file, device_file, log_callback): argument
937 basename = self._port.host.filesystem.basename(host_file)
939 if not self._files_match(host_file, device_file):
941 self._android_commands.push(host_file, device_file)