/test/vts/testcases/host/shell/ |
D | SampleShellTest.py | 39 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/ |
D | ShellBinaryCrashTest.py | 43 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/ |
D | VtsCodelabHelloWorldTest.py | 37 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/ |
D | cpu_frequency_scaling.py | 72 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/ |
D | VtsTreblePlatformVersionTest.py | 41 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/ |
D | VtsSelfTestBaseTest.py | 80 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/ |
D | MemorySystemStressTest.py | 45 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/ |
D | const.py | 18 STDOUT = cmd_utils.STDOUT variable
|
/test/vts-testcase/performance/binder_benchmark/ |
D | BinderPerformanceTest.py | 118 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/ |
D | HwBinderPerformanceTest.py | 125 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/common/ |
D | cmd_result_test.py | 67 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')
|
D | cmd_utils.py | 22 STDOUT = 'stdouts' variable 145 return {STDOUT: stdout, STDERR: stderr, EXIT_CODE: exit_code}
|
/test/vts/utils/python/file/ |
D | target_file_utils.py | 93 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/ |
D | FmqPerformanceTest.py | 90 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/precondition/ |
D | precondition_utils.py | 68 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/ |
D | HwBinderLatencyTest.py | 113 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/testcases/codelab/hello_world_multi/ |
D | VtsCodelabHelloWorldMultiDeviceTest.py | 72 serial1 = getSerial(res1[const.STDOUT][0]) 73 serial2 = getSerial(res2[const.STDOUT][0])
|
/test/vts/utils/python/mirror/ |
D | shell_mirror.py | 75 const.STDOUT: [""] * len(command), 86 [result[const.STDOUT], result[const.STDERR]],
|
/test/vts-testcase/kernel/ltp/shell_environment/ |
D | shell_environment.py | 79 not results[const.STDOUT][0]): 84 cpu_info = results[const.STDOUT][0].strip()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
D | ProcessHelper.java | 69 STDOUT, enumConstant 113 case STDOUT: in run() 244 mStdoutReader, mStdout, "process-helper-stdout", ReaderThread.LogType.STDOUT); in ProcessHelper()
|
/test/vts/utils/python/hal/ |
D | hal_service_name_utils.py | 56 % (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/ |
D | hal_hidl_replay_test.py | 138 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/testcases/template/gtest_binary_test/ |
D | gtest_binary_test.py | 115 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]:
|
/test/vts-testcase/kernel/api/sysfs/ |
D | KernelApiSysfsTest.py | 249 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/codelab/hidl_handle_test/ |
D | VtsCodelabHidlHandleTest.py | 81 if result[const.STDOUT][0] != "": 107 self._permission = permission_result[const.STDOUT][0].strip()
|