Home
last modified time | relevance | path

Searched refs:executionEnvironment (Results 1 – 21 of 21) sorted by relevance

/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/common/
DMetalavaCommandTest.kt45 val (executionEnvironment, stdout, stderr) = ExecutionEnvironment.forTest() in Test error handling when invalid command line() constant
49 executionEnvironment = executionEnvironment, in Test error handling when invalid command line()
88 val (executionEnvironment, stdout, stderr) = ExecutionEnvironment.forTest() in Test error handling when invalid option in an argument file() constant
98 executionEnvironment = executionEnvironment, in Test error handling when invalid option in an argument file()
126 val (executionEnvironment, _, stderr) = ExecutionEnvironment.forTest() in Test print stack trace() constant
130 executionEnvironment = executionEnvironment, in Test print stack trace()
DBaseCommandTest.kt204 val (executionEnvironment, stdout, stderr) = ExecutionEnvironment.forTest() in runTest() constant
207 command = test.commandFactory(executionEnvironment) in runTest()
208 exitCode = runCommand(executionEnvironment, command) in runTest()
221 private fun runCommand(executionEnvironment: ExecutionEnvironment, command: C): Int { in runCommand()
222 val progressTracker = ProgressTracker(stdout = executionEnvironment.stdout) in runCommand()
226 executionEnvironment = executionEnvironment, in runCommand()
DBaseOptionGroupTest.kt53 val (executionEnvironment, stdout, stderr) = ExecutionEnvironment.forTest() in createOptions() constant
54 val rootCommand = MetalavaCommand(executionEnvironment, null, ProgressTracker()) in createOptions()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DMainCommand.kt27 import com.android.tools.metalava.cli.common.executionEnvironment in <lambda>()
53 executionEnvironment: ExecutionEnvironment, in <lambda>()
91 IssueReportingOptions(executionEnvironment.reporterEnvironment, commonOptions) in <lambda>()
102 executionEnvironment = executionEnvironment, in <lambda>()
112 executionEnvironment = executionEnvironment, in <lambda>()
119 executionEnvironment = executionEnvironment, in <lambda>()
177 optionGroup.parse(executionEnvironment, remainingArgs) in <lambda>()
185 executionEnvironment.testEnvironment?.sourceModelProvider in <lambda>()
189 .createEnvironmentManager(executionEnvironment.disableStderrDumping()) in <lambda>()
190 .use { processFlags(executionEnvironment, it, progressTracker) } in <lambda>()
DDriver.kt70 val executionEnvironment = ExecutionEnvironment() in <lambda>() constant
71 val exitCode = run(executionEnvironment = executionEnvironment, originalArgs = args) in <lambda>()
73 executionEnvironment.stdout.flush() in <lambda>()
74 executionEnvironment.stderr.flush() in <lambda>()
84 executionEnvironment: ExecutionEnvironment, in run()
87 val stdout = executionEnvironment.stdout in run()
88 val stderr = executionEnvironment.stderr in run()
92 val modifiedArgs = preprocessArgv(executionEnvironment, originalArgs) in run()
103 maybeDumpArgv(executionEnvironment, originalArgs, modifiedArgs) in run()
108 executionEnvironment, in run()
[all …]
DCommandArgsPreprocessor.kt36 executionEnvironment: ExecutionEnvironment, in <lambda>()
39 return if (!executionEnvironment.isUnderTest()) { in <lambda>()
70 executionEnvironment: ExecutionEnvironment, in maybeDumpArgv()
75 if (dumpOption == null || dumpOption == VALUE_FALSE || executionEnvironment.isUnderTest()) { in maybeDumpArgv()
79 val out = executionEnvironment.stdout in maybeDumpArgv()
DGeneralReportingOptions.kt37 executionEnvironment: ExecutionEnvironment = ExecutionEnvironment(),
54 executionEnvironment,
DAndroidJarsToSignaturesCommand.kt21 import com.android.tools.metalava.cli.common.executionEnvironment in <lambda>()
73 executionEnvironment, in <lambda>()
DJarToJDiffCommand.kt20 import com.android.tools.metalava.cli.common.executionEnvironment in <lambda>()
71 executionEnvironment, in <lambda>()
DJarCodebaseLoader.kt106 executionEnvironment: ExecutionEnvironment, in create()
114 executionEnvironment.disableStderrDumping() in create()
DOptions.kt207 private lateinit var executionEnvironment: ExecutionEnvironment variable
211 get() = executionEnvironment.stdout
214 get() = executionEnvironment.stderr
350 get() = executionEnvironment.testEnvironment?.skipEmitPackages ?: emptyList()
690 executionEnvironment: ExecutionEnvironment, in parse()
693 this.executionEnvironment = executionEnvironment in parse()
947 environment = executionEnvironment.reporterEnvironment, in parse()
955 environment = executionEnvironment.reporterEnvironment, in parse()
964 environment = executionEnvironment.reporterEnvironment, in parse()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DMetalavaCommand.kt44 internal val executionEnvironment: ExecutionEnvironment, constant in com.android.tools.metalava.cli.common.MetalavaCommand
68 private val stdout = executionEnvironment.stdout
69 private val stderr = executionEnvironment.stderr
73 console = MetalavaConsole(executionEnvironment) in <lambda>()
308 val CliktCommand.executionEnvironment: ExecutionEnvironment constant
309 get() = metalavaCommand.executionEnvironment
313 get() = executionEnvironment.stderr
317 get() = executionEnvironment.stdout
DMetalavaConsole.kt22 class MetalavaConsole(executionEnvironment: ExecutionEnvironment) : CliktConsole {
23 private val stdout = executionEnvironment.stdout
24 private val stderr = executionEnvironment.stderr
DBaselineOptionsMixin.kt37 executionEnvironment: ExecutionEnvironment,
93 if (executionEnvironment.isBuildingAndroid()) in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DOptionsTest.kt28 val (executionEnvironment, stdout, stderr) = ExecutionEnvironment.forTest() in runTest() constant
30 executionEnvironment = executionEnvironment, in runTest()
DMainCommandTest.kt38 BaseCommandTest<MainCommand>({ executionEnvironment -> in <lambda>() method
41 executionEnvironment = executionEnvironment, in <lambda>()
DDriverTest.kt152 val executionEnvironment = in <lambda>() constant
159 val exitCode = run(executionEnvironment, args) in <lambda>()
/tools/asuite/asuite_plugin/src/java/com/android/atest/run/
DAtestRunConfiguration.java155 @NotNull Executor executor, @NotNull ExecutionEnvironment executionEnvironment) in getState() argument
158 AtestToolWindow.getInstance(executionEnvironment.getProject()); in getState()
160 if (!showAtestTW(executionEnvironment.getProject())) { in getState()
164 AtestUtils.getAndroidRoot(executionEnvironment.getProject().getBasePath()); in getState()
174 executionEnvironment.getProject()); in getState()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/lint/
DApiLintOptions.kt43 executionEnvironment: ExecutionEnvironment = ExecutionEnvironment(),
117 executionEnvironment,
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/compatibility/
DCompatibilityCheckOptions.kt48 executionEnvironment: ExecutionEnvironment = ExecutionEnvironment(), in <lambda>()
136 executionEnvironment, in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/
DDocAnalyzer.kt72 private val executionEnvironment: ExecutionEnvironment, in <lambda>() constant in com.android.tools.metalava.doc.DocAnalyzer
699 underTest = executionEnvironment.isUnderTest(), in <lambda>()