Home
last modified time | relevance | path

Searched refs:STDOUT (Results 1 – 25 of 54) sorted by relevance

123

/test/vts/testcases/host/shell/
DSampleShellTest.py39 logging.info(str(results[const.STDOUT]))
40 asserts.assertEqual(len(results[const.STDOUT]), 1)
41 asserts.assertEqual(results[const.STDOUT][0].strip(), "/system/bin/ls")
49 logging.info(str(results[const.STDOUT]))
50 asserts.assertEqual(len(results[const.STDOUT]), self.REPEAT_COUNT)
52 asserts.assertEqual(results[const.STDOUT][index].strip(),
61 logging.info(str(results[const.STDOUT]))
62 asserts.assertEqual(len(results[const.STDOUT]), 1)
63 asserts.assertEqual(results[const.STDOUT][0].strip(),
78 asserts.assertEqual(results[const.STDOUT][0].strip(), directory)
[all …]
/test/vts/testcases/host/shell_binary_crash_test/
DShellBinaryCrashTest.py43 logging.info(str(results[const.STDOUT]))
44 asserts.assertEqual(len(results[const.STDOUT]), 2)
45 asserts.assertEqual(results[const.STDOUT][1].strip(), "")
58 logging.info(str(results[const.STDOUT]))
59 asserts.assertEqual(len(results[const.STDOUT]), 2)
60 asserts.assertEqual(results[const.STDOUT][1].strip(), "")
77 logging.info(str(results[const.STDOUT]))
78 asserts.assertEqual(len(results[const.STDOUT]), 1)
79 asserts.assertEqual(results[const.STDOUT][0].strip(),
/test/vts/testcases/codelab/hello_world/
DVtsCodelabHelloWorldTest.py37 logging.info(str(results[const.STDOUT])) # prints the stdout
38 asserts.assertEqual(results[const.STDOUT][0].strip(),
46 logging.info(str(results[const.STDOUT]))
47 asserts.assertEqual(len(results[const.STDOUT]),
49 asserts.assertEqual(results[const.STDOUT][0].strip(), "hello")
50 asserts.assertEqual(results[const.STDOUT][1].strip(), "world")
/test/vts/utils/python/cpu/
Dcpu_frequency_scaling.py72 asserts.assertEqual(len(results[const.STDOUT]), 1)
73 stdout_lines = results[const.STDOUT][0].split("\n")
110 freq = [int(x) for x in results[const.STDOUT][0].split()]
140 len(results[const.STDOUT]))
147 prev_govs.append(results[const.STDOUT][cpu_no].rstrip())
156 len(results[const.STDOUT]))
208 asserts.assertEqual(2, len(results[const.STDOUT]))
217 configurable_max_frequency = results[const.STDOUT][0].strip()
218 current_frequency = results[const.STDOUT][1].strip()
/test/vts-testcase/hal/treble/platform_version/
DVtsTreblePlatformVersionTest.py41 asserts.assertTrue(len(results[const.STDOUT][0].strip()) > 0,
45 len(results[const.STDOUT][0].strip()) == 0):
49 result = results[const.STDOUT][0].strip()
60 len(results[const.STDOUT][0].strip()) == 0):
64 result = results[const.STDOUT][0].strip()
/test/vts/testcases/vts_selftest/test_framework/base_test/
DVtsSelfTestBaseTest.py80 logging.info(str(results[const.STDOUT])) # prints the stdout
81 asserts.assertEqual(results[const.STDOUT][0].strip(),
88 logging.info(str(results[const.STDOUT]))
89 asserts.assertEqual(results[const.STDOUT][0].strip(), 'hello')
90 asserts.assertEqual(results[const.STDOUT][1].strip(), 'world')
/test/vts-testcase/kernel/memory/
DMemorySystemStressTest.py45 matched = re.search(r'MemFree:\s+(\d+)', str(meminfo_results[const.STDOUT]))
58 logging.info(str(results[const.STDOUT]))
61 … asserts.assertTrue('Status: PASS' in results[const.STDOUT][0].strip(), "Memory test failed.")
/test/vts/runners/host/
Dconst.py18 STDOUT = cmd_utils.STDOUT variable
/test/vts-testcase/performance/binder_benchmark/
DBinderPerformanceTest.py118 asserts.assertEqual(len(results[const.STDOUT]), 2)
120 logging.info("stdout: %s", results[const.STDOUT][1])
125 results[const.STDOUT][1])
/test/vts-testcase/performance/hwbinder_benchmark/
DHwBinderPerformanceTest.py125 asserts.assertEqual(len(results[const.STDOUT]), 2)
127 logging.info("stdout: %s", results[const.STDOUT][1])
132 results[const.STDOUT][1])
/test/vts/utils/python/file/
Dtarget_file_utils.py93 stdout = str(results[const.STDOUT][0])
119 return results[const.STDOUT][0]
143 accessBits = results[const.STDOUT][0].strip()
/test/vts-testcase/performance/fmq_benchmark/
DFmqPerformanceTest.py90 asserts.assertEqual(len(results[const.STDOUT]), 2)
110 asserts.assertEqual(len(results[const.STDOUT]), 2)
117 stdout_lines = results[const.STDOUT][1].split("\n")
/test/vts/utils/python/common/
Dcmd_result_test.py67 self.assertEqual(self.res_single_no_error[cmd_utils.STDOUT][0], 'stdout')
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')
Dcmd_utils.py22 STDOUT = 'stdouts' variable
145 return {STDOUT: stdout, STDERR: stderr, EXIT_CODE: exit_code}
/test/vts/utils/python/precondition/
Dprecondition_utils.py68 hwbinder_service_name not in cmd_results[const.STDOUT][0]):
129 or feature not in cmd_results[const.STDOUT][0]):
213 value = cmd_results[const.STDOUT][0].strip()
/test/vts-testcase/performance/hwbinder_latency_test/
DHwBinderLatencyTest.py113 asserts.assertEqual(len(results[const.STDOUT]), 2)
115 logging.info("stdout: %s", results[const.STDOUT][1])
119 json_result = json.loads(results[const.STDOUT][1]);
/test/vts-testcase/hal/wifi/V1_0/host/
DVtsHalWifiV1_0HostTest.py46 self._nan_on = self.WIFI_AWARE_FEATURE_NAME in pm_list[const.STDOUT][0]
49 self._softap_on = self.WIFI_SOFTAP_FEATURE_NAME in vintf_list[const.STDOUT][0]
/test/vts/testcases/codelab/hello_world_multi/
DVtsCodelabHelloWorldMultiDeviceTest.py72 serial1 = getSerial(res1[const.STDOUT][0])
73 serial2 = getSerial(res2[const.STDOUT][0])
/test/vts/utils/python/mirror/
Dshell_mirror.py75 const.STDOUT: [""] * len(command),
86 [result[const.STDOUT], result[const.STDERR]],
/test/vts-testcase/kernel/ltp/shell_environment/
Dshell_environment.py79 not results[const.STDOUT][0]):
84 cpu_info = results[const.STDOUT][0].strip()
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DProcessHelper.java69 STDOUT, enumConstant
113 case STDOUT: in run()
244 mStdoutReader, mStdout, "process-helper-stdout", ReaderThread.LogType.STDOUT); in ProcessHelper()
/test/vts/utils/python/hal/
Dhal_service_name_utils.py56 % (cmd_results[const.EXIT_CODE][0], cmd_results[const.STDOUT][0],
58 result = json.loads(cmd_results[const.STDOUT][0])
/test/vts/testcases/template/hal_hidl_replay_test/
Dhal_hidl_replay_test.py138 for stdout in command_results[const.STDOUT]:
203 % (results[const.EXIT_CODE][0], results[const.STDOUT][0],
207 for line in results[const.STDOUT][0].split('\n'):
/test/vts-testcase/kernel/api/sysfs/
DKernelApiSysfsTest.py249 active_sources = results[const.STDOUT][0].split()
258 active_sources = results[const.STDOUT][0].split()
262 inactive_sources = results[const.STDOUT][0].split()
/test/vts/testcases/template/gtest_binary_test/
Dgtest_binary_test.py115 for line in cmd_results[const.STDOUT][1].split('\n'):
183 xml_str = command_results[const.STDOUT][1]
200 for stdout in command_results[const.STDOUT]:

123