Home
last modified time | relevance | path

Searched refs:cmd_results (Results 1 – 7 of 7) sorted by relevance

/test/vts/utils/python/precondition/
Dprecondition_utils.py65 cmd_results = shell.Execute("ps -A")
67 if (any(cmd_results[const.EXIT_CODE]) or
68 hwbinder_service_name not in cmd_results[const.STDOUT][0]):
127 cmd_results = shell.Execute("LD_LIBRARY_PATH= pm list features")
128 if (any(cmd_results[const.EXIT_CODE])
129 or feature not in cmd_results[const.STDOUT][0]):
208 cmd_results = shell.Execute('getprop %s' % sysprop_key)
209 if any(cmd_results[const.EXIT_CODE]):
213 value = cmd_results[const.STDOUT][0].strip()
/test/vts/utils/python/hal/
Dhal_service_name_utils.py52 cmd_results = shell.Execute(str(cmd))
54 any(cmd_results[const.EXIT_CODE]),
56 % (cmd_results[const.EXIT_CODE][0], cmd_results[const.STDOUT][0],
57 cmd_results[const.STDERR][0]))
58 result = json.loads(cmd_results[const.STDOUT][0])
/test/vts/testcases/template/binary_test/
Dbinary_test.py210 cmd_results = self.shell.Execute(cmd)
211 if any(cmd_results[const.EXIT_CODE]):
213 '%s\n%s', cmd, cmd_results)
341 cmd_results = self.shell.Execute(cmd, no_except=True)
342 if not cmd_results or any(cmd_results[const.EXIT_CODE]):
343 logging.warning('Failed to clean up test class: %s', cmd_results)
351 cmd_results = self.shell.Execute(cmd, no_except=True)
352 if not cmd_results or any(cmd_results[const.EXIT_CODE]):
353 logging.warning('Failed to remove: %s', cmd_results)
/test/vts-testcase/kernel/ltp/
DKernelLtpTest.py215 def CheckResult(self, test_case, cmd_results, result=None, note=None): argument
227 asserts.assertTrue(cmd_results, "No response received. Socket timeout")
229 logging.info("stdout: %s", cmd_results[const.STDOUT])
230 logging.info("stderr: %s", cmd_results[const.STDERR])
231 logging.info("exit_code: %s", cmd_results[const.EXIT_CODE])
234 result, note = self.Verify(test_case, cmd_results)
427 cmd_results = shell.Execute(cmd)
432 result, note = self.Verify(test_case, cmd_results)
442 (test_case, cmd_results, result, note))
/test/vts/testcases/template/hal_hidl_replay_test/
Dhal_hidl_replay_test.py161 cmd_results = self.shell.Execute(
163 if not cmd_results or any(cmd_results[const.EXIT_CODE]):
164 logging.warning("Failed to remove: %s", cmd_results)
/test/vts/testcases/template/gtest_binary_test/
Dgtest_binary_test.py108 cmd_results = self.shell.Execute(cmd)
110 asserts.assertFalse(any(cmd_results[const.EXIT_CODE]),
112 (path, cmd, cmd_results))
115 for line in cmd_results[const.STDOUT][1].split('\n'):
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/
DVtsHalAutomotiveVehicleV2_0HostTest.py77 cmd_results = self.shell.Execute("rm -rf %s" % self.DEVICE_TMP_DIR)
78 if not cmd_results or any(cmd_results[const.EXIT_CODE]):
79 logging.info("Failed to remove: %s", cmd_results)