Home
last modified time | relevance | path

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

/external/chromium_org/build/android/
Dscreenshot.py23 def _CaptureScreenshot(adb, host_file): argument
24 host_file = adb.TakeScreenshot(host_file)
25 _PrintMessage('Screenshot written to %s' % os.path.abspath(host_file))
28 def _CaptureVideo(adb, 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(adb, host_file, options)
85 _CaptureScreenshot(adb, host_file)
Dadb_profile_chrome.py146 host_file = os.path.join(os.path.curdir, os.path.basename(trace_file))
147 self._adb.PullFileFromDevice(trace_file, host_file)
148 return host_file
247 def _CompressFile(host_file, output): argument
249 with open(host_file, 'rb') as input_file:
251 os.unlink(host_file)
256 for host_file in host_files:
257 z.write(host_file)
258 os.unlink(host_file)
/external/chromium_org/build/android/pylib/
Dscreenshot.py17 def _EnsureHostDirectory(host_file): argument
18 host_dir = os.path.dirname(os.path.abspath(host_file))
23 def TakeScreenshot(adb, host_file): argument
30 host_file = os.path.abspath(host_file or
32 _EnsureHostDirectory(host_file)
35 adb.PullFileFromDevice(device_file, host_file)
37 return host_file
52 def __init__(self, adb, host_file, megabits_per_second=4, size=None, argument
56 self._host_file = host_file or 'screen-recording-%s.mp4' % _GetTimestamp()
Dandroid_commands.py1685 def TakeScreenshot(self, host_file): argument
1695 return screenshot.TakeScreenshot(self, host_file)
1697 def PullFileFromDevice(self, device_file, host_file): argument
1704 assert self._adb.Pull(device_file, host_file)
1705 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)