Home
last modified time | relevance | path

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

/tools/asuite/asuite_plugin/src/java/com/android/atest/commandAdapter/
DCommandRunner.java48 private PtyCommandLine mCommand; field in CommandRunner
59 mCommand = new PtyCommandLine(cmds); in CommandRunner()
60 mCommand.setCharset(StandardCharsets.UTF_8); in CommandRunner()
61 mCommand.setWorkDirectory(workPath); in CommandRunner()
95 mCommand = new PtyCommandLine(cmds); in CommandRunner()
96 mCommand.setCharset(StandardCharsets.UTF_8); in CommandRunner()
97 mCommand.setWorkDirectory(workPath); in CommandRunner()
118 sProcessHandler = new KillableColoredProcessHandler(mCommand); in run()
126 LOG.error("Command executes fail: " + mCommand.getCommandLineString()); in run()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandConfigBuilder.java50 private ClusterCommand mCommand; field in ClusterCommandConfigBuilder
63 mCommand = command; in setClusterCommand()
162 return new Configuration("Cluster Command " + mCommand.getCommandId(), ""); in initConfiguration()
176 assert mCommand != null; in build()
185 assert 0 < mCommand.getTargetDeviceSerials().size(); in build()
203 envVars.put("TF_ATTEMPT_ID", mCommand.getAttemptId()); in build()
207 for (String serial : mCommand.getTargetDeviceSerials()) { in build()
241 config.injectOptionValue("cluster:request-id", mCommand.getRequestId()); in build()
242 config.injectOptionValue("cluster:command-id", mCommand.getCommandId()); in build()
243 config.injectOptionValue("cluster:attempt-id", mCommand.getAttemptId()); in build()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DDeviceConcurrentUtil.java86 private String mCommand; field in DeviceConcurrentUtil.ShellCommandCallable
96 mCommand = command; in ShellCommandCallable()
102 mCommand = command; in setCommand()
119 mDevice.executeShellCommand(mCommand, receiver, mTimeout, TimeUnit.MILLISECONDS, 1); in call()
121 CLog.v("raw output for \"%s\"\n%s", mCommand, output); in call()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/baseline/
DCommandBaselineSetter.java30 private final String mCommand; field in CommandBaselineSetter
34 mCommand = object.getString("command"); in CommandBaselineSetter()
39 CommandResult result = mDevice.executeShellV2Command(mCommand); in setBaseline()
/tools/tradefederation/core/src/com/android/tradefed/config/
DSandboxConfigurationFactory.java216 private DumpCmd mCommand; field in SandboxConfigurationFactory.RunSandboxConfigurationFactory
219 mCommand = command; in RunSandboxConfigurationFactory()
229 if (mCommand.equals(DumpCmd.RUN_CONFIG) || mCommand.equals(DumpCmd.TEST_MODE)) { in createConfigurationDef()
246 if (mCommand.equals(DumpCmd.RUN_CONFIG) || mCommand.equals(DumpCmd.TEST_MODE)) { in createConfigurationDef()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandConfigBuilderTest.java74 private ClusterCommand mCommand; field in ClusterCommandConfigBuilderTest
90 mCommand = in setUp()
100 mCommand.setTargetDeviceSerials(List.of(DEVICE_SERIAL)); in setUp()
119 .setClusterCommand(mCommand) in setUp()
268 mCommand.getExtraOptions().put("key", "hello"); in testBuild_extraOptions()
269 mCommand.getExtraOptions().put("key", "${E1}"); in testBuild_extraOptions()
/tools/tradefederation/core/src/com/android/tradefed/device/
DBackgroundDeviceAction.java49 private String mCommand; field in BackgroundDeviceAction
66 mCommand = command; in BackgroundDeviceAction()
103 .executeShellCommand(mCommand, mReceiver, 0, TimeUnit.MILLISECONDS); in run()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDeviceActionTargetPreparer.java59 private Command mCommand; field in DeviceActionTargetPreparer
122 mDeviceActionUtil.saveToLogs(mCommand, mTestLogger); in setUp()
136 mCommand, result.getStatus()), in setUp()
161 switch (mCommand) { in performAction()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DClangProfileIndexerTest.java123 private List<String> mCommand = new ArrayList<>(); field in ClangProfileIndexerTest.CommandArgumentCaptor
129 mCommand = Arrays.asList(cmd); in runTimedCmd()
139 return mCommand; in getCommand()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java257 private String mCommand; field in CameraTestBase.MeminfoTimer
262 mCommand = DUMPSYS_MEMINFO_COMMAND; in MeminfoTimer()
264 mCommand += " -e " + process; in MeminfoTimer()
282 dumpMeminfo(mCommand, mOutputFile); in start()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DClangCodeCoverageCollectorTest.java642 private List<String> mCommand = new ArrayList<>(); field in ClangCodeCoverageCollectorTest.CommandArgumentCaptor
648 mCommand = Arrays.asList(cmd); in runTimedCmd()
657 return mCommand; in getCommand()