Home
last modified time | relevance | path

Searched refs:run_command (Results 1 – 16 of 16) sorted by relevance

/development/gsi/gsi_util/gsi_util/utils/
Dfastboot_utils.py17 from gsi_util.utils.cmd_utils import run_command
30 run_command(cmd, raise_on_error=not allow_error)
37 run_command(['fastboot', '-w'], raise_on_error=not allow_error)
39 run_command(['fastboot', 'erase', partition_name],
45 run_command(['fastboot', 'reboot'], raise_on_error=False)
Dadb_utils.py21 from gsi_util.utils.cmd_utils import run_command
31 run_command(command, raise_on_error=False, read_stdout=True, log_stderr=True)
41 (returncode, _, _) = run_command(
Dimage_utils.py18 from gsi_util.utils.cmd_utils import run_command
23 run_command(['simg2img', input_filename, output_filename])
Ddebugfs.py22 from gsi_util.utils.cmd_utils import run_command
38 run_command([_DEBUGFS, '-R', debugfs_command, image_file], log_stderr=True)
58 _, output, error = run_command(
Dvintf_utils.py38 returncode, _, stderrdata = cmd_utils.run_command(
Dsepolicy_utils.py78 returncode, _, stderrdata = cmd_utils.run_command(cmd,
Dcmd_utils.py27 def run_command(command, read_stdout=False, read_stderr=False, function
/development/gsi/gsi_util/gsi_util/utils/tests/
Dcmd_utils_unittest.py49 result = cmd_utils.run_command(['echo', '123'])
55 result = cmd_utils.run_command('echo uses shell', shell=True)
61 result = cmd_utils.run_command(['echo', '456'], raise_on_error=False,
71 result = cmd_utils.run_command(error_cmd, shell=True, raise_on_error=False,
82 result = cmd_utils.run_command(error_cmd, shell=True, raise_on_error=False,
94 result = cmd_utils.run_command('echo 123; echo 456; exit 7', shell=True,
101 result = cmd_utils.run_command('(echo error1; echo error2)>&2; exit 9',
109 result = cmd_utils.run_command('echo foo; echo bar>&2; exit 11',
119 cmd_utils.run_command(error_cmd, shell=True, raise_on_error=True)
127 result = cmd_utils.run_command('pwd', shell=True,
/development/testrunner/test_defs/
Dnative_test.py27 import run_command
71 if run_command.RunHostCommand(f) != 0:
74 if run_command.HasValgrind():
75 if run_command.RunHostCommand(f, valgrind=True) == 0:
185 return run_command.RunHostCommand(full_path, valgrind=valgrind)
Dhost_test.py25 import run_command
108 run_command.RunOnce(cmd, return_output=False)
Dgtest.py26 import run_command
69 run_command.RunCommand(shell_cmd, return_output=False)
/development/testrunner/
Druntest.py48 import run_command
323 run_command.SetAbortOnError()
325 output = run_command.RunCommand(cmd, return_output=True, timeout_time=600)
331 run_command.RunCommand(alt_cmd, return_output=False, timeout_time=600)
333 output = run_command.RunCommand(cmd, return_output=True, timeout_time=600)
334 run_command.SetAbortOnError(False)
406 output = run_command.RunCommand(cmd, return_output=True)
521 run_command.SetAbortOnError()
Dadb_interface.py31 import run_command
71 return run_command.RunCommand(adb_cmd, timeout_time=timeout_time,
273 run_command.RunCommand(adb_command_string, return_output=False)
/development/gsi/gsi_util/gsi_util/commands/
Dflash_gsi.py42 cmd_utils.run_command(['avbtool', 'make_vbmeta_image',
/development/gsi/gsi_util/
Dbuild.py26 from gsi_util.utils.cmd_utils import run_command
65 run_command(['make', '-j', _MAKE_MODULE_NAME], cwd=build_top)
/development/testrunner/coverage/
Dcoverage.py32 import run_command
191 run_command.RunCommand(cmd, return_output=False)