Home
last modified time | relevance | path

Searched refs:colorize (Results 1 – 16 of 16) sorted by relevance

/tools/asuite/atest/
Dresult_reporter.py339 print(au.colorize('\nRunning Tests...', constants.CYAN))
368 print('\n{}'.format(au.colorize('Summary', constants.CYAN)))
373 print(au.colorize("ITERATION %s" % (int(iter_num) + 1),
400 print(au.colorize('All tests passed!', constants.GREEN))
404 print(au.colorize(message, constants.RED))
414 % au.colorize(self.test_result_link, constants.GREEN))
427 print('\n{}'.format(au.colorize('Summary:' + constants.COLLECT_TESTS_ONLY,
486 failed_label = au.colorize(failed_label, constants.RED)
495 flakes_label = au.colorize('Flakes Percent:',
500 error_label = au.colorize('(Completed With ERRORS)', constants.RED)
[all …]
Dcli_translator.py162 atest_utils.colorize(test, constants.GREEN),
213 % (atest_utils.colorize(mainline_modules, constants.RED),
214 atest_utils.colorize(test, constants.RED)))
218 % (atest_utils.colorize(mainline_modules, constants.RED),
219 atest_utils.colorize(test, constants.RED)))
236 atest_utils.colorize(test, constants.RED))
253 print('%s\n' % (atest_utils.colorize(
258 atest_utils.colorize(constants.REBUILD_MODULE_INFO_FLAG,
296 atest_utils.colorize(results[0], constants.GREEN)), True)
367 atest_utils.colorize(test['name'],
[all …]
Datest_execution_info.py168 print(au.colorize(message, constants.RED))
176 print(au.colorize('{}'.format(
183 au.colorize('LOGCAT-ON-FAILURES:',
187 au.colorize('STACKTRACE:\n', constants.CYAN),
Datest_utils.py281 print('\n%s\n%s' % (colorize("Building Dependencies...", constants.CYAN),
298 colorize(constants.REBUILD_MODULE_INFO_FLAG,
396 def colorize(text, color, highlight=False): function
432 output = colorize(text, color, highlight)
Datest_utils_unittest.py162 converted_str = atest_utils.colorize(original_str, green_no,
168 converted_str = atest_utils.colorize(original_str, green_no,
175 converted_str = atest_utils.colorize(original_str, green_no,
Datest.py557 % (atest_utils.colorize(run_cmd, constants.GREEN)))
568 print('\n%s' % atest_utils.colorize('%s Testable %s modules' % (
/tools/asuite/atest-py2/
Dresult_reporter.py330 print(au.colorize('\nRunning Tests...', constants.CYAN))
342 print('\n%s' % au.colorize('Summary', constants.CYAN))
368 print(au.colorize('All tests passed!', constants.GREEN))
372 print(au.colorize(message, constants.RED))
410 failed_label = au.colorize(failed_label, constants.RED)
412 error_label = au.colorize('(Completed With ERRORS)', constants.RED)
414 passed_label = au.colorize(passed_label, constants.GREEN)
482 print('%s (%s %s)' % (au.colorize(test.test_run_name,
497 au.colorize(
503 print('\t%s: %s' % (au.colorize(key, constants.BLUE), data))
[all …]
Dcli_translator.py121 atest_utils.colorize(test, constants.GREEN),
160 atest_utils.colorize(test, constants.RED))
175 print('%s\n' % (atest_utils.colorize(
180 '\n' % (atest_utils.colorize(
214 atest_utils.colorize(results[0], constants.GREEN)))
296 atest_utils.colorize(test['name'], constants.RED))
301 (atest_utils.colorize(test['name'],
303 atest_utils.colorize(constants.TEST_MAPPING_SUITES,
Datest_execution_info.py141 print(au.colorize(message, constants.RED))
149 print(au.colorize('{}'.format(
156 au.colorize('LOGCAT-ON-FAILURES:',
160 au.colorize('STACKTRACE:\n', constants.CYAN),
Datest_utils.py175 print('\n%s\n%s' % (colorize("Building Dependencies...", constants.CYAN),
297 def colorize(text, color, highlight=False): function
333 output = colorize(text, color, highlight)
Datest_utils_unittest.py140 converted_str = atest_utils.colorize(original_str, green_no,
146 converted_str = atest_utils.colorize(original_str, green_no,
153 converted_str = atest_utils.colorize(original_str, green_no,
Datest.py537 % (atest_utils.colorize(run_cmd, constants.GREEN)))
548 print('\n%s' % atest_utils.colorize('%s Testable %s modules' % (
/tools/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt1613 val usage = getUsage(includeHeader = false, colorize = color) in <lambda>()
2013 private fun helpAndQuit(colorize: Boolean = color) { in <lambda>()
2014 throw DriverException(stdout = getUsage(colorize = colorize)) in <lambda>()
2222 private fun getUsage(includeHeader: Boolean = true, colorize: Boolean = color): String { in <lambda>()
2225 usage(printWriter, includeHeader, colorize) in <lambda>()
2229 private fun usage(out: PrintWriter, includeHeader: Boolean = true, colorize: Boolean = color) { in <lambda>()
2234 if (colorize) { in <lambda>()
2552 if (colorize) { in <lambda>()
2559 if (colorize) { in <lambda>()
/tools/asuite/aidegen/lib/
Dcommon_util.py46 atest_utils.colorize, color=constants.MAGENTA, highlight=False)
48 atest_utils.colorize, color=constants.GREEN, highlight=False)
50 atest_utils.colorize, color=constants.RED, highlight=False)
/tools/asuite/atest/test_runners/
Dtest_runner_base.py116 print(atest_utils.colorize(intro_msg, constants.RED))
/tools/asuite/atest-py2/test_runners/
Dtest_runner_base.py124 print(atest_utils.colorize(intro_msg, constants.RED))