Searched refs:run_command (Results 1 – 18 of 18) 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 | 44 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/tools/repo_diff/service/repodiff/tools/ |
D | clear_service_account_keys.py | 7 def run_command(command): function 16 run_command("gcloud iam service-accounts keys list --iam-account %s" % service_account) 27 run_command(
|
D | upgrade_db.py | 22 def run_command(command): function 32 return run_command( 86 run_command(
|
/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 327 run_command.SetAbortOnError() 329 output = run_command.RunCommand(cmd, return_output=True, timeout_time=600) 335 run_command.RunCommand(alt_cmd, return_output=False, timeout_time=600) 337 output = run_command.RunCommand(cmd, return_output=True, timeout_time=600) 338 run_command.SetAbortOnError(False) 410 output = run_command.RunCommand(cmd, return_output=True) 525 run_command.SetAbortOnError()
|
D | adb_interface.py | 31 import run_command 71 return run_command.RunCommand(adb_cmd, timeout_time=timeout_time, 277 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 67 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)
|