/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustBinaryHostTest.java | 161 List<String> commandLine = new ArrayList<>(); in countTests() local 162 commandLine.add(file.getAbsolutePath()); in countTests() 163 commandLine.addAll(mTestOptions); in countTests() 164 addFiltersToArgs(commandLine, filter); in countTests() 166 List<String> listCommandLine = new ArrayList<>(commandLine); in countTests() 187 List<String> commandLine = new ArrayList<>(); in runTestWithFilter() local 188 commandLine.add(file.getAbsolutePath()); in runTestWithFilter() 189 commandLine.addAll(mTestOptions); in runTestWithFilter() 190 addFiltersToArgs(commandLine, filter); in runTestWithFilter() 193 getRunUtil().runTimedCmd(mTestTimeout, commandLine.toArray(new String[0])); in runTestWithFilter()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTest.java | 349 List<String> commandLine = new ArrayList<>(); in buildCommandLineArray() local 350 commandLine.add(filePath); in buildCommandLineArray() 351 commandLine.add("--"); in buildCommandLineArray() 353 commandLine.add("--config=" + getConfigPath()); in buildCommandLineArray() 356 commandLine.add("--test_bed=" + getTestBed()); in buildCommandLineArray() 358 commandLine.add("--device_serial=" + getDevice().getSerialNumber()); in buildCommandLineArray() 359 commandLine.add("--log_path=" + getLogDirAbsolutePath()); in buildCommandLineArray() 361 commandLine.addAll(getTestOptions()); in buildCommandLineArray() 362 return commandLine.toArray(new String[0]); in buildCommandLineArray()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | DelegatedInvocationExecution.java | 115 List<String> commandLine = new ArrayList<>(); in runTests() local 116 commandLine.add(SystemUtil.getRunningJavaBinaryPath().getAbsolutePath()); in runTests() 118 commandLine.add(String.format("-Djava.io.tmpdir=%s", mTmpDelegatedDir.getAbsolutePath())); in runTests() 119 commandLine.add("-cp"); in runTests() 121 commandLine.add(delegator.createClasspath()); in runTests() 122 commandLine.add("com.android.tradefed.command.CommandRunner"); in runTests() 124 commandLine.addAll(Arrays.asList(delegator.getCommandLine())); in runTests() 140 commandLine.toArray(new String[0])); in runTests()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTest.java | 242 List<String> commandLine = new ArrayList<>(); in runSinglePythonFile() local 243 commandLine.add(pyFile.getAbsolutePath()); in runSinglePythonFile() 247 commandLine.add("-s"); in runSinglePythonFile() 248 commandLine.add(mTestInfo.getDevice().getSerialNumber()); in runSinglePythonFile() 267 commandLine.add("--" + TEST_OUTPUT_FILE_FLAG); in runSinglePythonFile() 268 commandLine.add(tempTestOutputFile.getAbsolutePath()); in runSinglePythonFile() 310 commandLine.addAll(mTestOptions); in runSinglePythonFile() 313 getRunUtil().runTimedCmd(mTestTimeout, commandLine.toArray(new String[0])); in runSinglePythonFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 898 String[] commandLine = {"run", "empty"}; in testInvoke_testtag() local 899 mStubConfiguration.setCommandLine(commandLine); in testInvoke_testtag() 932 String[] commandLine = {"run", "empty"}; in testInvoke_testtag_notset() local 933 mStubConfiguration.setCommandLine(commandLine); in testInvoke_testtag_notset() 962 String[] commandLine = {"run", "empty"}; in testInvoke_notesttag() local 963 mStubConfiguration.setCommandLine(commandLine); in testInvoke_notesttag() 1001 String[] commandLine = {"run", "empty"}; in testInvoke_buildProviderNeedTestTag() local 1002 mStubConfiguration.setCommandLine(commandLine); in testInvoke_buildProviderNeedTestTag() 1281 String[] commandLine = {"empty", "--test-tag", "t"}; in testInvoke_shardableTest_legacy() local 1291 mStubConfiguration.setCommandLine(commandLine); in testInvoke_shardableTest_legacy() [all …]
|
/tools/asuite/asuite_plugin/src/test/unittests/ |
D | CommandRunnerTest.java | 46 GeneralCommandLine commandLine = (GeneralCommandLine) field.get(lsCommand); in testCommandRunnerByLs() local 47 Assert.assertSame(commandLine.getCharset(), StandardCharsets.UTF_8); in testCommandRunnerByLs() 48 Assert.assertEquals(commandLine.getCommandLineString(), "ls"); in testCommandRunnerByLs() 57 GeneralCommandLine commandLine = (GeneralCommandLine) field.get(lsCommand); in testCommandRunnerByTarget() local 58 Assert.assertSame(commandLine.getCharset(), StandardCharsets.UTF_8); in testCommandRunnerByTarget() 60 commandLine.getCommandLineString(), in testCommandRunnerByTarget()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
D | SandboxConfigDumpTest.java | 56 String[] commandLine = in testParseCommandLine() local 58 int res = mConfigDump.parse(commandLine); in testParseCommandLine() 75 String[] commandLine = in testParseCommandLine_filtered() local 79 int res = mConfigDump.parse(commandLine); in testParseCommandLine_filtered() 96 String[] commandLine = in testParseCommandLine_run() local 100 int res = mConfigDump.parse(commandLine); in testParseCommandLine_run()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | TradefedSandbox.java | 348 String commandLine = config.getCommandLine(); in prepareConfiguration() local 353 commandLine = commandLine + " --" + SandboxOptions.USE_PROTO_REPORTER; in prepareConfiguration() 356 commandLine = commandLine + " --no-" + SandboxOptions.USE_PROTO_REPORTER; in prepareConfiguration() 359 QuotationAwareTokenizer.tokenizeLine(commandLine, /* No Logging */ false); in prepareConfiguration()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | AtraceCollector.java | 200 List<String> commandLine = new ArrayList<String>(); in postProcess() local 201 commandLine.add(mLogProcessingBinary.getAbsolutePath()); in postProcess() 203 commandLine.add(entry.replaceAll(mLogProcessingTraceInput, trace.getAbsolutePath())); in postProcess() 206 String[] commandLineArr = new String[commandLine.size()]; in postProcess() 207 commandLine.toArray(commandLineArr); in postProcess()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandConfigBuilder.java | 228 String commandLine = mTestContext.getCommandLine(); in build() 229 if (commandLine == null || commandLine.isEmpty()) { in build() 230 commandLine = mCommand.getCommandLine(); in build() 232 config.injectOptionValue("cluster:command-line", commandLine); in build()
|
D | TestContext.java | 44 public void setCommandLine(String commandLine) { in setCommandLine() argument 45 mCommandLine = commandLine; in setCommandLine()
|
D | SubprocessReportingHelper.java | 58 String commandLine, String classpath, File workDir, String port) { in SubprocessReportingHelper() argument 59 mCommandLine = commandLine; in SubprocessReportingHelper()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | BugreportItem.java | 90 public void setCommandLine(CommandLineItem commandLine) { in setCommandLine() argument 91 setAttribute(COMMAND_LINE, commandLine); in setCommandLine()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryRescheduler.java | 140 String commandLine = previousLoader.getCommandLine(); in run() local 146 QuotationAwareTokenizer.tokenizeLine(commandLine)); in run()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandSchedulerTest.java | 346 String requestId, String commandId, String taskId, String attemptId, String commandLine) 354 ret.put("command_line", commandLine);
|