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.old_interface.TakeScreenshot(host_file)
25 _PrintMessage('Screenshot written to %s' % os.path.abspath(host_file))
28 def _CaptureVideo(device, host_file, options): argument
31 host_file,
41 host_file = recorder.Pull()
42 _PrintMessage('Video written to %s' % os.path.abspath(host_file))
79 host_file = args[0] if args else options.file
83 _CaptureVideo(device, host_file, options)
85 _CaptureScreenshot(device, host_file)
/external/chromium_org/tools/android/adb_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.py100 host_file = os.path.join(os.path.curdir, os.path.basename(trace_file))
101 self._device.old_interface.PullFileFromDevice(trace_file, host_file)
102 return host_file
/external/chromium_org/build/android/pylib/
Dscreenshot.py27 def __init__(self, device, host_file, megabits_per_second=4, size=None, argument
35 self._host_file = host_file or ('screen-recording-%s.mp4' %
Dandroid_commands.py1770 def EnsureHostDirectory(host_file): argument
1771 host_dir = os.path.dirname(os.path.abspath(host_file))
1775 def TakeScreenshot(self, host_file=None): argument
1785 host_file = os.path.abspath(host_file or
1787 self.EnsureHostDirectory(host_file)
1791 self.PullFileFromDevice(device_file, host_file)
1793 return host_file
1795 def PullFileFromDevice(self, device_file, host_file): argument
1802 assert self._adb.Pull(device_file, host_file)
1803 assert os.path.exists(host_file)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
Dandroid.py933 def _files_match(self, host_file, device_file): argument
934 assert self._port.host.filesystem.exists(host_file)
939 self._port.host.executive.popen(args=['%s_host' % self._md5sum_path, host_file],
943 def _push_file_if_needed(self, host_file, device_file, log_callback): argument
944 basename = self._port.host.filesystem.basename(host_file)
946 if not self._files_match(host_file, device_file):
948 self._android_commands.push(host_file, device_file)