/test/vts/utils/python/common/ |
D | cmd_result_test.py | 19 import vts.utils.python.common.cmd_utils as cmd_utils namespace 67 self.assertEqual(self.res_single_no_error[cmd_utils.STDOUT][0], 'stdout') 68 self.assertFalse(self.res_single_no_error[cmd_utils.STDERR][0]) 69 self.assertFalse(any(self.res_single_no_error[cmd_utils.STDERR])) 70 self.assertFalse(self.res_single_no_error[cmd_utils.EXIT_CODE][0]) 71 self.assertFalse(any(self.res_single_no_error[cmd_utils.EXIT_CODE])) 86 self.assertEqual(self.res_multiple_no_error[cmd_utils.STDOUT][0], 'stdout1') 87 self.assertEqual(self.res_multiple_no_error[cmd_utils.STDOUT][1], 'stdout2') 88 self.assertFalse(any(self.res_multiple_no_error[cmd_utils.STDERR])) 89 self.assertFalse(any(self.res_multiple_no_error[cmd_utils.EXIT_CODE])) [all …]
|
D | cmd_result.py | 15 import vts.utils.python.common.cmd_utils as cmd_utils namespace 125 if key == cmd_utils.STDOUT: 127 elif key == cmd_utils.STDERR: 129 elif key == cmd_utils.EXIT_CODE:
|
/test/framework/harnesses/host_controller/utils/gcp/ |
D | gcs_utils.py | 19 from vts.utils.python.common import cmd_utils 31 sh_stdout, sh_stderr, ret_code = cmd_utils.ExecuteOneShellCommand( 52 _, _, ret_code = cmd_utils.ExecuteOneShellCommand(check_command) 68 _, _, ret_code = cmd_utils.ExecuteOneShellCommand(copy_command) 83 stdout, _, ret_code = cmd_utils.ExecuteOneShellCommand(ls_command) 103 ret_code = cmd_utils.ExecuteOneShellCommand(rm_command)
|
/test/vts/runners/host/ |
D | const.py | 16 from vts.utils.python.common import cmd_utils 18 STDOUT = cmd_utils.STDOUT 19 STDERR = cmd_utils.STDERR 20 EXIT_CODE = cmd_utils.EXIT_CODE
|
/test/framework/harnesses/host_controller/utils/usb/ |
D | usb_utils.py | 21 from vts.utils.python.common import cmd_utils 36 sh_stdout, sh_stderr, ret_code = cmd_utils.ExecuteOneShellCommand("which udevadm") 42 sh_stdout, _, _ = cmd_utils.ExecuteOneShellCommand( 47 devname, _, _ = cmd_utils.ExecuteOneShellCommand( 50 serial, _, _ = cmd_utils.ExecuteOneShellCommand(
|
/test/vts/utils/python/gcs/ |
D | gcs_utils.py | 23 from vts.utils.python.common import cmd_utils 59 _, stderr, ret_code = cmd_utils.ExecuteOneShellCommand(auth_cmd) 68 sh_stdout, _, ret_code = cmd_utils.ExecuteOneShellCommand( 80 sh_stdout, sh_stderr, ret_code = cmd_utils.ExecuteOneShellCommand(
|
/test/framework/harnesses/host_controller/build/ |
D | build_provider_gcs.py | 24 from vts.utils.python.common import cmd_utils 39 _, stderr, ret_code = cmd_utils.ExecuteOneShellCommand( 49 sh_stdout, _, ret_code = cmd_utils.ExecuteOneShellCommand( 105 _, _, ret_code = cmd_utils.ExecuteOneShellCommand(copy_command)
|
D | build_flasher.py | 27 from vts.utils.python.common import cmd_utils 333 std_out, std_err, err_code = cmd_utils.ExecuteOneShellCommand(
|
/test/vts/testcases/template/host_binary_test/ |
D | host_binary_test.py | 25 from vts.utils.python.common import cmd_utils 53 cmd_result = cmd_utils.ExecuteShellCommand(binary_path) 55 any(cmd_result[cmd_utils.EXIT_CODE]),
|
/test/framework/harnesses/host_controller/command_processor/ |
D | command_adb.py | 23 from vts.utils.python.common import cmd_utils 72 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand( 75 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
|
D | command_fastboot.py | 24 from vts.utils.python.common import cmd_utils 83 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(cmd) 85 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
|
D | command_shell.py | 21 from vts.utils.python.common import cmd_utils 52 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
|
D | command_device.py | 31 from vts.utils.python.common import cmd_utils 79 stdout, stderr, returncode = cmd_utils.ExecuteOneShellCommand( 82 stdout, stderr, returncode = cmd_utils.ExecuteOneShellCommand( 113 stdout, _, retcode = cmd_utils.ExecuteOneShellCommand( 148 _, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
|
D | command_gsispl.py | 28 from vts.utils.python.common import cmd_utils 145 stdout, stderr, err_code = cmd_utils.ExecuteOneShellCommand(command)
|
D | command_dut.py | 22 from vts.utils.python.common import cmd_utils
|
D | command_upload.py | 28 from vts.utils.python.common import cmd_utils 344 _, stderr, err_code = cmd_utils.ExecuteOneShellCommand(copy_command)
|
/test/framework/harnesses/host_controller/acloud/ |
D | acloud_client.py | 28 from vts.utils.python.common import cmd_utils 183 results = cmd_utils.ExecuteShellCommand(cmd) 184 if any(results[cmd_utils.EXIT_CODE]):
|
/test/vts/utils/python/coverage/ |
D | coverage_utils.py | 28 from vts.utils.python.common import cmd_utils 339 results = cmd_utils.ExecuteShellCommand( 341 if (results[cmd_utils.EXIT_CODE][0]): 344 (cmd, str(results[cmd_utils.STDERR][0]))) 691 results = cmd_utils.ExecuteShellCommand("adb -s %s shell %s" % 693 if (results[cmd_utils.EXIT_CODE][0]): 695 (cmd, str(results[cmd_utils.STDERR][0]))) 698 return results[cmd_utils.STDOUT][0]
|
/test/vts/compilation_tools/vtsc/test/ |
D | test_vtsc.py | 27 from vts.utils.python.common import cmd_utils 152 return_code = cmd_utils.RunCommand(vtsc_cmd) 171 return_code = cmd_utils.RunCommand(hidl_gen_cmd) 209 return_code = cmd_utils.RunCommand(vtsc_cmd)
|
/test/vts/utils/python/profiling/ |
D | profiling_utils.py | 26 from vts.utils.python.common import cmd_utils 176 results = cmd_utils.ExecuteShellCommand(file_cmd) 258 results = cmd_utils.ExecuteShellCommand(trace_processor_cmd) 259 if any(results[cmd_utils.EXIT_CODE]):
|
/test/vts/utils/python/controllers/ |
D | adb.py | 25 from vts.utils.python.common import cmd_utils 149 out, err, ret = cmd_utils.ExecuteOneShellCommand(cmd, timeout)
|
/test/vts-testcase/fuzz/kernel/syzkaller/ |
D | syzkaller_test.py | 30 from vts.utils.python.common import cmd_utils 109 stdout, stderr, err_code = cmd_utils.ExecuteOneShellCommand(
|
/test/vts-testcase/kernel/ltp/ |
D | environment_requirement_checker.py | 24 from vts.utils.python.common import cmd_utils
|
/test/framework/harnesses/host_controller/ |
D | console.py | 71 from vts.utils.python.common import cmd_utils 746 cmd_utils.ExecuteOneShellCommand( 748 _, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
|
/test/vts/utils/python/reporting/ |
D | report_file_utils.py | 22 from vts.utils.python.common import cmd_utils
|