Home
last modified time | relevance | path

Searched refs:check_return (Results 1 – 17 of 17) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/
Dbattery_utils_test.py112 mock.ANY, check_return=True, as_root=True, large_output=True), []),
121 mock.ANY, check_return=True, as_root=True, large_output=True), []),
130 mock.ANY, check_return=True, as_root=True, large_output=True), []),
145 ['dumpsys', 'battery', 'set', 'ac', '0'], check_return=True), []),
147 ['dumpsys', 'battery', 'set', 'usb', '0'], check_return=True),
151 ['dumpsys', 'battery', 'reset'], check_return=True), []),
154 ['dumpsys', 'battery'], check_return=True), ['UPDATES STOPPED']),
157 ['dumpsys', 'battery'], check_return=True), [])):
168 ['dumpsys', 'battery', 'set', 'ac', '0'], check_return=True), []),
170 ['dumpsys', 'battery', 'set', 'usb', '0'], check_return=True),
[all …]
Dbattery_utils.py248 check_return=True, large_output=True)
298 ['dumpsys', 'battery'], check_return=True)[1:]:
347 check_return=True)
349 check_return=True)
367 ['dumpsys', 'battery'], check_return=True)))
370 check_return=True)
560 command, check_return=True, as_root=True, large_output=True)
608 ['dumpsys', 'battery', 'set', 'usb', '1'], check_return=True)
610 ['dumpsys', 'battery', 'set', 'ac', '1'], check_return=True)
612 ['dumpsys', 'batterystats', '--reset'], check_return=True)
[all …]
Ddevice_utils_test.py325 ['pm', 'path', 'android'], check_return=True),
334 ['pm', 'path', 'not.installed.app'], check_return=True),
343 ['pm', 'path', 'android'], check_return=True),
874 self.device.RunShellCommand(cmd, check_return=True))
881 self.device.RunShellCommand(cmd, check_return=True)
888 self.device.RunShellCommand(cmd, check_return=False))
903 cmd, large_output=True, check_return=True))
909 self.device.RunShellCommand(cmd, check_return=True)
923 self.device.RunShellCommand(cmd, check_return=True))
932 check_return=True),
[all …]
Ddevice_utils.py290 self.RunShellCommand('ls /root', check_return=True)
315 '%s && ! ls /root' % self._Su('ls /root'), check_return=True,
387 check_return=True)
425 ['pm', 'path', package], check_return=should_check_return)
447 ['dumpsys', 'package', package], check_return=True)
500 check_return=True)
516 check_return=False)
717 def RunShellCommand(self, cmd, check_return=False, cwd=None, env=None, argument
783 if check_return:
914 self.RunShellCommand(cmd, as_root=as_root, check_return=True)
[all …]
Dmd5sum.py92 out = device.RunShellCommand(md5sum_script, check_return=True)
101 as_root=True, check_return=True)
106 device.RunShellCommand(mkdir_cmd, check_return=True)
109 out = device.RunShellCommand(md5sum_script, check_return=True)
Dapp_ui.py76 self._device.RunShellCommand(['input', 'tap', x, y], check_return=True)
179 check_return=True)
Dinstall_commands.py52 ['chmod', '755', shell_file], check_return=True)
Dforwarder.py305 check_return=True)
344 check_return=True)
Dports.py119 ['netstat', '-a'], check_return=True, large_output=True)
Dapp_ui_test.py91 ['input', 'tap', str(x), str(y)], check_return=True)
/external/chromium-trace/catapult/devil/devil/android/perf/
Dperf_control.py20 'ls -d cpu[0-9]*', cwd=self._CPU_PATH, check_return=True, as_root=True)
101 script, cwd=self._CPU_PATH, check_return=True, as_root=True)
150 self._device.RunShellCommand(script, check_return=True, as_root=True)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dandroid_command_line_backend_unittest.py83 device.RunShellCommand(['rm', '-f', cmd_file], check_return=True)
98 device.RunShellCommand(['rm', '-f', cmd_file], check_return=True)
Dandroid_command_line_backend.py111 as_root=True, check_return=True)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/tracing_agent/
Dchrome_tracing_agent.py33 ['rm', '-f', trace_config_file], check_return=True, as_root=True)
187 ['rm', '-f', self._trace_config_file], check_return=True,
/external/chromium-trace/catapult/devil/devil/android/tools/
Dadb_run_shell_cmd.py53 args.cmd, large_output=True, as_root=args.as_root, check_return=True)
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py269 as_root=True, check_return=True)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_platform_backend.py237 self._device.RunShellCommand(cmd, as_root=True, check_return=True)
732 check_return=True)