Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 49) 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/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/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/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/framework/harnesses/host_controller/command_processor/
Dcommand_adb.py72 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
75 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
78 if stdout:
79 logging.info(stdout)
Dcommand_fastboot.py83 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(cmd)
85 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
89 if stdout:
90 logging.info(stdout)
Dcommand_shell.py52 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
54 if stdout:
55 logging.info(stdout)
Dcommand_device.py79 stdout, stderr, returncode = cmd_utils.ExecuteOneShellCommand(
81 lines_adb = stdout.split("\n")
82 stdout, stderr, returncode = cmd_utils.ExecuteOneShellCommand(
84 lines_fastboot = stdout.split("\n")
113 stdout, _, retcode = cmd_utils.ExecuteOneShellCommand(
Dcommand_gsispl.py145 stdout, stderr, err_code = cmd_utils.ExecuteOneShellCommand(command)
152 logging.error("gsispl error: {} {}".format(stdout, stderr))
/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)
/test/vts/drivers/shell/
DShellDriver.cpp85 result->stdout = ss.str(); in ExecShellCommandPopen()
118 result->stdout = string(stdout_file_name); in ExecShellCommandNohup()
120 result->stdout = ReadFile(stdout_file_name); in ExecShellCommandNohup()
141 responseMessage->add_stdout(result->stdout); in ExecShellCommand()
/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/framework/harnesses/host_controller/utils/gcp/
Dgcs_utils.py83 stdout, _, ret_code = cmd_utils.ExecuteOneShellCommand(ls_command)
84 return stdout.strip("\n").split("\n") if ret_code == 0 else []
/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/harnesses/tradefed/tests/src/com/android/tradefed/util/
DProcessHelperTest.java46 String stdout, String stderr, int exitValue, long executionTimeMsecs) { in createMockProcess() argument
52 InputStream stdoutStream = new ByteArrayInputStream(stdout.getBytes()); in createMockProcess()
/test/vts-testcase/fuzz/kernel/syzkaller/
Dsyzkaller_test.py109 stdout, stderr, err_code = cmd_utils.ExecuteOneShellCommand(
114 logging.info(stdout)
/test/vts/runners/adapters/acts/
Dacts_adapter.py146 stdout=subprocess.PIPE,
150 for line in iter(p.stdout.readline, b''):
/test/vts-testcase/vndk/
Dutils.py36 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
51 stdout=subprocess.PIPE, stderr=subprocess.PIPE)

12