Home
last modified time | relevance | path

Searched refs:cmd_utils (Results 1 – 25 of 28) sorted by relevance

12

/test/vts/utils/python/common/
Dcmd_result_test.py19 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 …]
Dcmd_result.py15 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/
Dgcs_utils.py19 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/
Dconst.py16 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/
Dusb_utils.py21 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/
Dgcs_utils.py23 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/
Dbuild_provider_gcs.py24 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)
Dbuild_flasher.py27 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/
Dhost_binary_test.py25 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/
Dcommand_adb.py23 from vts.utils.python.common import cmd_utils
72 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
75 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
Dcommand_fastboot.py24 from vts.utils.python.common import cmd_utils
83 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(cmd)
85 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
Dcommand_shell.py21 from vts.utils.python.common import cmd_utils
52 stdout, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
Dcommand_device.py31 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(
Dcommand_gsispl.py28 from vts.utils.python.common import cmd_utils
145 stdout, stderr, err_code = cmd_utils.ExecuteOneShellCommand(command)
Dcommand_dut.py22 from vts.utils.python.common import cmd_utils
Dcommand_upload.py28 from vts.utils.python.common import cmd_utils
344 _, stderr, err_code = cmd_utils.ExecuteOneShellCommand(copy_command)
/test/framework/harnesses/host_controller/acloud/
Dacloud_client.py28 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/
Dcoverage_utils.py28 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/
Dtest_vtsc.py27 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/
Dprofiling_utils.py26 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/
Dadb.py25 from vts.utils.python.common import cmd_utils
149 out, err, ret = cmd_utils.ExecuteOneShellCommand(cmd, timeout)
/test/vts-testcase/fuzz/kernel/syzkaller/
Dsyzkaller_test.py30 from vts.utils.python.common import cmd_utils
109 stdout, stderr, err_code = cmd_utils.ExecuteOneShellCommand(
/test/vts-testcase/kernel/ltp/
Denvironment_requirement_checker.py24 from vts.utils.python.common import cmd_utils
/test/framework/harnesses/host_controller/
Dconsole.py71 from vts.utils.python.common import cmd_utils
746 cmd_utils.ExecuteOneShellCommand(
748 _, stderr, retcode = cmd_utils.ExecuteOneShellCommand(
/test/vts/utils/python/reporting/
Dreport_file_utils.py22 from vts.utils.python.common import cmd_utils

12