Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 38) sorted by relevance

12

/test/vts/utils/python/common/
Dcmd_utils.py94 command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
95 (stdout, stderr) = proc.communicate()
98 '(stdout: %s\n stderr: %s\n)' % (command, stdout,
122 stdout=subprocess.PIPE,
124 stdout, stderr = p.communicate()
125 return (stdout, stderr, p.returncode)
144 stdout, stderr, exit_code = zip(*results)
145 return {STDOUT: stdout, STDERR: stderr, EXIT_CODE: exit_code}
Dcmd_result.py47 def __init__(self, stdout, stderr, returncode, cmd=None, exception=None): argument
53 self.AddResult(stdout, stderr, returncode, cmd=cmd, exception=exception)
56 def stdout(self): member in CmdResult
95 def AddResult(self, stdout, stderr, returncode, cmd=None, exception=None): argument
107 self.stdouts.append(stdout)
Dcmd_result_test.py49 self.assertEqual(self.res_single_no_error.stdout, 'stdout')
58 self.assertEqual(self.res_multiple_no_error.stdout, 'stdout2')
/test/vts-testcase/vndk/golden/
Ddump_abi.py37 cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, **kwargs)
38 stdout, stderr = proc.communicate()
41 cmd, stdout, stderr))
43 print("Warning: cmd=%s\nstdout=%s\nstderr=%s" % (cmd, stdout, stderr))
44 return stdout.strip()
60 stdout = _ExecuteCommand(cmd, cwd=build_top_dir)
61 print(stdout)
62 return [line.split("=", 1)[1].strip("'") for line in stdout.splitlines()]
/test/vts-testcase/kernel/checkpoint/
Dcheckpoint_utils.py27 def __init__(self, cmd, stdout, stderr, ret_code): argument
29 self.stdout = stdout
35 ) % (self.cmd, self.ret_code, self.stdout, self.stderr)
66 stdout=subprocess.PIPE)
/test/vts/utils/python/io/
Dcapture_printout.py33 self.sys_stdout = sys.stdout
34 sys.stdout = StringIO()
38 self.extend(sys.stdout.getvalue().splitlines())
39 sys.stdout = self.sys_stdout
/test/vti/test_serving/gae/testing/
De2e_test.py45 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
46 stdout, stderr = p.communicate()
47 return (stdout, stderr, p.returncode)
72 stdout, stderr, _ = ExecuteOneShellCommand(
78 sdk_path = str.strip(stdout)
/test/vts/utils/python/controllers/
Dadb.py38 def __init__(self, cmd, stdout, stderr, ret_code): argument
40 self.stdout = stdout
46 ) % (self.cmd, self.ret_code, self.stdout, self.stderr)
162 raise AdbError(cmd=cmd, stdout=out, stderr=err, ret_code=ret)
Dfastboot.py37 proc = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)
/test/app_compat/csuite/tools/script/
Dgenerate_module.py202 current_out, current_err = sys.stdout, sys.stderr
204 sys.stdout, sys.stderr = out, err
207 sys.stdout, sys.stderr = current_out, current_err
210 def parse_args(args, out=sys.stdout, err=sys.stderr):
/test/app_compat/csuite/integration_tests/
Dcsuite_crash_detection_test.py42 self.expect_regex(completed_process.stdout, r"""PASSED\s*:\s*1""")
54 self.expect_regex(completed_process.stdout, r"""FAILED\s*:\s*1""")
100 self.assertIn('App launched', logcat_process.stdout)
Dcsuite_cli_test.py29 self.assertIn('App Compatibility Test Suite', completed_process.stdout)
/test/vts/utils/python/systrace/
Dsystrace_controller.py140 stdout=subprocess.PIPE,
146 line += process.stdout.read(1)
157 stdout, stderr = process.communicate()
158 logging.error('stdout: %s', line + stdout)
/test/vts/testcases/template/hal_hidl_replay_test/
Dhal_hidl_replay_test.py138 for stdout in command_results[const.STDOUT]:
139 if stdout and stdout.strip():
140 for line in stdout.split('\n'):
/test/vts/testcases/template/gtest_binary_test/
Dgtest_binary_test.py200 for stdout in command_results[const.STDOUT]:
201 if stdout and stdout.strip():
202 for line in stdout.split('\n'):
/test/vts-testcase/security/poc/host/
DSecurityPoCKernelTest.py156 stdout = self._dut.adb.shell(test_cmd)
158 const.STDOUT: stdout,
164 const.STDOUT: e.stdout,
/test/vts/testcases/template/llvmfuzzer_test/
Dllvmfuzzer_test.py186 stdout = self._dut.adb.shell("'%s'" % fuzz_cmd)
188 const.STDOUT: stdout,
194 const.STDOUT: e.stdout,
/test/vts/utils/python/file/
Dtarget_file_utils.py93 stdout = str(results[const.STDOUT][0])
95 return filter(None, stdout.strip().split("\n"))
/test/vts/runners/adapters/acts/
Dacts_adapter.py146 stdout=subprocess.PIPE,
150 for line in iter(p.stdout.readline, b''):
/test/vts/runners/host/
Dutils.py337 cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
449 stdout=subprocess.PIPE,
456 stdout=subprocess.PIPE,
/test/vts-testcase/vndk/
Dutils.py39 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
54 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
/test/vti/test_serving/configs/infra/test/androidtestcenter-test/scripts/
Dhome_bot_config.py166 stdout = self._exec_ssh_cmd('getprop')
167 for line in stdout.strip().split('\n'):
/test/vti/test_serving/configs/infra/prod/androidtestcenter/scripts/
Dhome_bot_config.py166 stdout = self._exec_ssh_cmd('getprop')
167 for line in stdout.strip().split('\n'):
/test/vts/runners/host/tcp_client/
Dvts_tcp_client.py452 stdout = []
465 stdout = resp.stdout
471 const.STDOUT: stdout,
/test/vts/proto/
DVtsDriverControlMessage.proto137 // The stdout message for each command
138 repeated bytes stdout = 1001; field

12