Home
last modified time | relevance | path

Searched refs:mCmdArgs (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java105 protected List<String> mCmdArgs = null; field in SubprocessTfLauncher
154 mCmdArgs = new ArrayList<String>(); in preRun()
155 mCmdArgs.add("java"); in preRun()
159 mCmdArgs.add(String.format("-Djava.io.tmpdir=%s", mTmpDir.getAbsolutePath())); in preRun()
165 addJavaArguments(mCmdArgs); in preRun()
168 mCmdArgs.add("-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=10088"); in preRun()
171 mCmdArgs.add("--add-opens=java.base/java.nio=ALL-UNNAMED"); in preRun()
172 mCmdArgs.add("-cp"); in preRun()
174 mCmdArgs.add(jarClasspath); in preRun()
175 mCmdArgs.add("com.android.tradefed.command.CommandRunner"); in preRun()
[all …]
DTfTestLauncher.java141 mCmdArgs.add("-n"); in preRun()
144 mCmdArgs.add("--log-level"); in preRun()
145 mCmdArgs.add("VERBOSE"); in preRun()
146 mCmdArgs.add("--log-level-display"); in preRun()
147 mCmdArgs.add("VERBOSE"); in preRun()
149 mCmdArgs.add("--test-tag"); in preRun()
150 mCmdArgs.add(mBuildInfo.getTestTag()); in preRun()
151 mCmdArgs.add("--build-id"); in preRun()
153 mCmdArgs.add(mSubBuildId); in preRun()
155 mCmdArgs.add(mBuildInfo.getBuildId()); in preRun()
[all …]
DVersionedTfLauncher.java75 mCmdArgs.addAll(StringEscapeUtils.paramsToArgs(mTfCommandline)); in preRun()
86 mCmdArgs.add("--null-device"); in preRun()
89 mCmdArgs.add("--serial"); in preRun()
90 mCmdArgs.add(serial); in preRun()
95 mCmdArgs.add("--shard-count"); in preRun()
96 mCmdArgs.add(Integer.toString(mShardCount)); in preRun()
97 mCmdArgs.add("--shard-index"); in preRun()
98 mCmdArgs.add(Integer.toString(mShardIndex)); in preRun()
104 mCmdArgs.add("--additional-tests-zip"); in preRun()
105 mCmdArgs.add(generalTests.getAbsolutePath()); in preRun()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java89 List<String> mCmdArgs = new ArrayList<>(); in run() local
90 mCmdArgs.add("java"); in run()
91 mCmdArgs.add(String.format("-Djava.io.tmpdir=%s", mSandboxTmpFolder.getAbsolutePath())); in run()
92 mCmdArgs.add(String.format("-DTF_JAR_DIR=%s", mRootFolder.getAbsolutePath())); in run()
93 mCmdArgs.add("-cp"); in run()
94 mCmdArgs.add(createClasspath(mRootFolder)); in run()
95 mCmdArgs.add(TradefedSandboxRunner.class.getCanonicalName()); in run()
96 mCmdArgs.add(mSerializedContext.getAbsolutePath()); in run()
97 mCmdArgs.add(mSerializedConfiguration.getAbsolutePath()); in run()
99 mCmdArgs.add("--" + StreamProtoResultReporter.PROTO_REPORT_PORT_OPTION); in run()
[all …]
DSandboxConfigUtil.java78 List<String> mCmdArgs = new ArrayList<>(); in dumpConfigForVersion() local
79 mCmdArgs.add("java"); in dumpConfigForVersion()
80 mCmdArgs.add("-cp"); in dumpConfigForVersion()
81 mCmdArgs.add(classpath); in dumpConfigForVersion()
82 mCmdArgs.add(SandboxConfigDump.class.getCanonicalName()); in dumpConfigForVersion()
83 mCmdArgs.add(dump.toString()); in dumpConfigForVersion()
84 mCmdArgs.add(destination.getAbsolutePath()); in dumpConfigForVersion()
86 mCmdArgs.add(arg); in dumpConfigForVersion()
88 CommandResult result = runUtil.runTimedCmd(DUMP_TIMEOUT, mCmdArgs.toArray(new String[0])); in dumpConfigForVersion()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java244 assertTrue(mTfTestLauncher.mCmdArgs.get(2).startsWith("-javaagent:")); in testRunCoverage()