Home
last modified time | relevance | path

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

/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/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(
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(
Dimage_utils.py18 from gsi_util.utils.cmd_utils import run_command
23 run_command(['simg2img', input_filename, output_filename])
Dvintf_utils.py38 returncode, _, stderrdata = cmd_utils.run_command(
Dsepolicy_utils.py78 returncode, _, stderrdata = cmd_utils.run_command(cmd,
Dcmd_utils.py44 def run_command(command, read_stdout=False, read_stderr=False, function
/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/tools/repo_diff/service/repodiff/tools/
Dclear_service_account_keys.py7 def run_command(command): function
16 run_command("gcloud iam service-accounts keys list --iam-account %s" % service_account)
27 run_command(
Dupgrade_db.py22 def run_command(command): function
32 return run_command(
86 run_command(
/development/testrunner/
Druntest.py48 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()
Dadb_interface.py31 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/
Dbuild.py26 from gsi_util.utils.cmd_utils import run_command
67 run_command(['make', '-j', _MAKE_MODULE_NAME], cwd=build_top)
/development/gsi/gsi_util/gsi_util/commands/
Dflash_gsi.py42 cmd_utils.run_command(['avbtool', 'make_vbmeta_image',
/development/testrunner/coverage/
Dcoverage.py32 import run_command
191 run_command.RunCommand(cmd, return_output=False)
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv35769 …tform/frameworks/native,fake_DGbnL6-oQrG-BP4td_yJEA@fakeemail.com,Refactored run_command functions.
35946 …/frameworks/native,fake_DGbnL6-oQrG-BP4td_yJEA@fakeemail.com,Deprecate run_command() and dump_file…