Home
last modified time | relevance | path

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

/tools/asuite/atest/
Dresult_reporter.py347 print(au.colorize('\nRunning Tests...', constants.CYAN))
382 print('\n{}'.format(au.colorize(f'Summary {device_detail}',
388 print(au.colorize("ITERATION %s" % (int(iter_num) + 1),
416 print(au.colorize('All tests passed!', constants.GREEN))
420 print(au.colorize(message, constants.RED))
432 % au.colorize(self.test_result_link, constants.GREEN))
441 print('\n{}'.format(au.colorize(
456 print('{}:'.format(au.colorize(test_name, constants.CYAN)))
502 print('\n{}'.format(au.colorize('Summary:' + constants.COLLECT_TESTS_ONLY,
561 failed_label = au.colorize(failed_label, constants.RED)
[all …]
Dcli_translator.py193 atest_utils.colorize(test, constants.GREEN),
202 atest_utils.colorize(test, constants.RED)))
245 return atest_utils.colorize(items, constants.RED)
296 print('%s\n' % (atest_utils.colorize(
330 atest_utils.colorize(results[0], constants.GREEN)), True)
414 atest_utils.colorize(test['name'], constants.RED))
420 (atest_utils.colorize(test['name'],
422 atest_utils.colorize(constants.TEST_MAPPING_SUITES,
Datest_main.py163 atest_utils.colorize('Reading config:', constants.CYAN),
164 atest_utils.colorize(_config, constants.YELLOW)))
180 atest_utils.colorize(arg_in_line, constants.YELLOW),
187 atest_utils.colorize(arg_in_line, constants.YELLOW),
411 logging.debug(atest_utils.colorize(
520 logging.error(atest_utils.colorize(
710 % (atest_utils.colorize(run_cmd, constants.GREEN)))
721 print('\n%s' % atest_utils.colorize('%s Testable %s modules' % (
797 atest_utils.colorize(test_commands, constants.GREEN),
798 atest_utils.colorize(constants.RUNNER_COMMAND_PATH,
[all …]
Datest_execution_info.py169 print(au.colorize(message, constants.RED))
177 print(au.colorize('{}'.format(
184 au.colorize('LOGCAT-ON-FAILURES:',
188 au.colorize('STACKTRACE:\n', constants.CYAN),
Datest_utils_unittest.py171 converted_str = atest_utils.colorize(original_str, green_no,
177 converted_str = atest_utils.colorize(original_str, green_no,
184 converted_str = atest_utils.colorize(original_str, green_no)
Datest_utils.py319 colorize("Building Dependencies...", constants.CYAN),
350 colorize(f'{log_path}', constants.CYAN)
434 def colorize(text, color, bp_color=None): function
477 output = colorize(text, color, bp_color)
/tools/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt1369 val usage = getUsage(includeHeader = false, colorize = color) in <lambda>()
1714 private fun helpAndQuit(colorize: Boolean = color) { in <lambda>()
1715 throw DriverException(stdout = getUsage(colorize = colorize)) in <lambda>()
1923 private fun getUsage(includeHeader: Boolean = true, colorize: Boolean = color): String { in <lambda>()
1926 usage(printWriter, includeHeader, colorize) in <lambda>()
1930 private fun usage(out: PrintWriter, includeHeader: Boolean = true, colorize: Boolean = color) { in <lambda>()
1935 if (colorize) { in <lambda>()
2293 if (colorize) { in <lambda>()
2300 if (colorize) { in <lambda>()
/tools/asuite/aidegen/lib/
Dcommon_util.py45 COLORED_INFO = partial(atest_utils.colorize, color=constants.MAGENTA)
46 COLORED_PASS = partial(atest_utils.colorize, color=constants.GREEN)
47 COLORED_FAIL = partial(atest_utils.colorize, color=constants.RED)
/tools/asuite/atest/test_runners/
Dtest_runner_base.py122 print(atest_utils.colorize(intro_msg, constants.RED))
Datest_tf_test_runner.py98 return atest_utils.colorize(_TF_EXIT_CODE[exit_code], constants.RED)
1034 atest_utils.colorize(
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py387 atest_utils.colorize(','.join(missing_methods), constants.RED),