Home
last modified time | relevance | path

Searched refs:terminal (Results 1 – 22 of 22) sorted by relevance

/tools/repohooks/rh/
Dterminal_unittest.py32 import rh.terminal
45 c = rh.terminal.Color()
49 c = rh.terminal.Color()
57 c = rh.terminal.Color()
61 c = rh.terminal.Color()
70 c = rh.terminal.Color()
72 c = rh.terminal.Color(False)
77 c = rh.terminal.Color()
79 c = rh.terminal.Color(True)
84 c = rh.terminal.Color(False)
[all …]
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DMetalavaHelpFormatter.kt77 protected val terminal: Terminal by lazy { terminalSupplier() } in <lambda>() constant
92 val formattedProgramName = terminal.colorize(programName, TerminalColor.BLUE) in <lambda>()
174 return terminal.bold(super.renderArgumentName(name)) + namePadding in <lambda>()
183 val styledHelp = styleEnumHelpTextIfNeeded(help, mutableTags, terminal) in <lambda>()
195 return terminal.bold(super.renderOptionName(name)) + namePadding in <lambda>()
199 return terminal.colorize(super.renderSectionTitle(title), TerminalColor.YELLOW) in <lambda>()
203 return terminal.bold(super.renderSubcommandName(name)) + namePadding in <lambda>()
DMetalavaCommand.kt87 { common.terminal }, in <lambda>()
323 val CliktCommand.terminal constant
325 get() = commonOptions.terminal
DMetalavaSubCommand.kt49 this@MetalavaSubCommand::terminal, in <lambda>()
DCommonOptions.kt67 val terminal by lazy { in <lambda>() constant
DIssueReportingOptions.kt175 terminal = commonOptions.terminal, in <lambda>()
DMetalavaOptions.kt349 terminal: Terminal in styleEnumHelpTextIfNeeded()
367 val styledOptionValue = terminal.bold(optionValue) in styleEnumHelpTextIfNeeded()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDefaultReporter.kt75 val terminal: Terminal = plainTerminal, constant in com.android.tools.metalava.DefaultReporter.Config
233 val terminal: Terminal = config.terminal in doReport() constant
234 val formattedMessage = format(severity, location, message, id, terminal) in doReport()
250 terminal: Terminal, in format()
254 sb.append(terminal.attributes(bold = true)) in format()
257 INFO -> sb.append(terminal.attributes(foreground = TerminalColor.CYAN)).append("info: ") in format()
260 sb.append(terminal.attributes(foreground = TerminalColor.YELLOW)) in format()
263 sb.append(terminal.attributes(foreground = TerminalColor.RED)).append("error: ") in format()
267 sb.append(terminal.reset()) in format()
281 format(severity, location, message, id, terminal = plainTerminal) in reportEvenIfSuppressed()
DMainCommand.kt32 import com.android.tools.metalava.cli.common.terminal in <lambda>()
72 { terminal }, in <lambda>()
DOptions.kt1167 fun getUsage(terminal: Terminal, width: Int): String { in getUsage()
1170 usage(printWriter, terminal, width) in getUsage()
1174 private fun usage(out: PrintWriter, terminal: Terminal, width: Int) { in usage()
1374 out.println(terminal.colorize(groupTitle, TerminalColor.YELLOW)) in usage()
1377 val formattedArg = terminal.bold(arg) in usage()
/tools/repohooks/
Dpre-upload.py50 import rh.terminal
61 COLOR = rh.terminal.Color()
111 rh.terminal.print_status_line(status_line, print_newline=True)
130 rh.terminal.print_status_line(status_line)
164 rh.terminal.print_status_line(status_line, print_newline=True)
175 rh.terminal.print_status_line(status_line, print_newline=True)
192 rh.terminal.print_status_line(line, print_newline=True)
199 rh.terminal.print_status_line(
288 response = rh.terminal.str_prompt(
310 if not rh.terminal.boolean_prompt(
[all …]
DREADME.md317 output will be printed to the terminal, but uploading will still be allowed
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/help/
DIssuesCommand.kt23 import com.android.tools.metalava.cli.common.terminal
73 helpFormatter = IssueTableFormatter(this@IssuesCommand::terminal, localization) in <lambda>()
127 replace(substring, terminal.colorize(substring, color)) in colorize()
DHelpCommand.kt22 import com.android.tools.metalava.cli.common.terminal
48 helpFormatter = MetalavaHelpFormatter(this@HelpCommand::terminal, localization) in <lambda>()
/tools/security/remote_provisioning/attestation_testing/
DREADME7 Any failures found during execution will be printed to the terminal in the format of:
/tools/test/mobly_extensions/tools/results_uploader/
DREADME.md25 3. Run the following commands in the terminal:
38 1. Create a new terminal and run the following installation commands (first-time
/tools/tradefederation/core/javatests/com/android/tradefed/command/console/
DConfigCompleterTest.java30 import org.jline.terminal.TerminalBuilder;
/tools/treble/build/sandbox/
Dnsjail.cfg29 # Allow terminal control
/tools/security/remote_provisioning/hwtrust/
DCargo.lock110 "is-terminal",
250 name = "is-terminal"
/tools/external_updater/
Dpoetry.lock17 description = "Cross-platform colored terminal text."
/tools/asuite/atest/bazel/
Datest_bazel_mode.md83 terminal, while in Bazel Mode only test target result is showing. For test case
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java62 import org.jline.terminal.TerminalBuilder;
219 .terminal(TerminalBuilder.builder().system(true).dumb(true).build()) in getReader()