Searched refs:run_command (Results 1 – 16 of 16) sorted by relevance
/development/gsi/gsi_util/gsi_util/utils/ |
D | fastboot_utils.py | 17 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)
|
D | adb_utils.py | 21 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(
|
D | image_utils.py | 18 from gsi_util.utils.cmd_utils import run_command 23 run_command(['simg2img', input_filename, output_filename])
|
D | debugfs.py | 22 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(
|
D | vintf_utils.py | 38 returncode, _, stderrdata = cmd_utils.run_command(
|
D | sepolicy_utils.py | 78 returncode, _, stderrdata = cmd_utils.run_command(cmd,
|
D | cmd_utils.py | 27 def run_command(command, read_stdout=False, read_stderr=False, function
|
/development/gsi/gsi_util/gsi_util/utils/tests/ |
D | cmd_utils_unittest.py | 49 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/ |
D | native_test.py | 27 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)
|
D | host_test.py | 25 import run_command 108 run_command.RunOnce(cmd, return_output=False)
|
D | gtest.py | 26 import run_command 69 run_command.RunCommand(shell_cmd, return_output=False)
|
/development/testrunner/ |
D | runtest.py | 48 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()
|
D | adb_interface.py | 31 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/ |
D | flash_gsi.py | 42 cmd_utils.run_command(['avbtool', 'make_vbmeta_image',
|
/development/gsi/gsi_util/ |
D | build.py | 26 from gsi_util.utils.cmd_utils import run_command 65 run_command(['make', '-j', _MAKE_MODULE_NAME], cwd=build_top)
|
/development/testrunner/coverage/ |
D | coverage.py | 32 import run_command 191 run_command.RunCommand(cmd, return_output=False)
|