Home
last modified time | relevance | path

Searched refs:CommandLine (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java59 private Map<String, CommandLine> mMacros = new HashMap<String, CommandLine>();
60 private Map<String, List<CommandLine>> mLongMacros = new HashMap<String, List<CommandLine>>();
61 private List<CommandLine> mLines = new LinkedList<CommandLine>();
66 public static class CommandLine extends LinkedList<String> { class in CommandFileParser
70 CommandLine(File file, int lineNumber) { in CommandLine() method in CommandFileParser.CommandLine
76 CommandLine(Collection<? extends String> c, File file, int lineNumber) { in CommandLine() method in CommandFileParser.CommandLine
102 if(o instanceof CommandLine) { in equals()
103 CommandLine otherLine = (CommandLine) o; in equals()
206 private static boolean isLineMacro(CommandLine line) { in isLineMacro()
216 private static boolean isLineLongMacro(CommandLine line) { in isLineLongMacro()
[all …]
DCommandScheduler.java25 import com.android.tradefed.command.CommandFileParser.CommandLine;
1636 List<CommandLine> commands = parser.parseFile(cmdFile); in internalAddCommandFile()
1642 for (CommandLine command : commands) { in internalAddCommandFile()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandFileParserTest.java27 import com.android.tradefed.command.CommandFileParser.CommandLine;
103 List<CommandLine> data = parser.parseFile(file); in assertParsedData()
307 Set<CommandLine> expectedSet = ImmutableSet.<CommandLine>builder() in testCommandLineLocation()
308 .add(new CommandLine(Arrays.asList("this", "--is-a-cmd"), mMockFile, 3)) in testCommandLineLocation()
309 .add(new CommandLine(Arrays.asList("one", "--final-cmd"), mMockFile, 4)) in testCommandLineLocation()
310 .add(new CommandLine(Arrays.asList("two", "--final-command"), mMockFile, 6)) in testCommandLineLocation()
313 Set<CommandLine> parsedSet = ImmutableSet.<CommandLine>builder() in testCommandLineLocation()
340 Set<CommandLine> expectedSet = ImmutableSet.<CommandLine>builder() in testCommandLineLocation_withInclude()
341 .add(new CommandLine(Arrays.asList("this", "--is-a-cmd"), mockFile, 4)) in testCommandLineLocation_withInclude()
342 .add(new CommandLine(Arrays.asList("one", "--final-cmd"), mockFile, 5)) in testCommandLineLocation_withInclude()
[all …]
DCommandSchedulerTest.java37 import com.android.tradefed.command.CommandFileParser.CommandLine;
575 final List<CommandLine> cmdFileContent = in testAddCommandFile()
576 Arrays.asList(new CommandLine(Arrays.asList("foo"), null, 0)); in testAddCommandFile()
580 public List<CommandLine> parseFile(File cmdFile) { in testAddCommandFile()
611 final List<CommandLine> cmdFileContent1 = in testAddCommandFile_reload()
612 Arrays.asList(new CommandLine(Arrays.asList("fromFile1"), null, 0)); in testAddCommandFile_reload()
613 final List<CommandLine> cmdFileContent2 = in testAddCommandFile_reload()
614 Arrays.asList(new CommandLine(Arrays.asList("fromFile2"), null, 0)); in testAddCommandFile_reload()
620 public List<CommandLine> parseFile(File cmdFile) { in testAddCommandFile_reload()
660 final List<CommandLine> cmdFileContent1 = in testAddCommandFile_twice()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DNoisyDryRunTest.java21 import com.android.tradefed.command.CommandFileParser.CommandLine;
76 List<CommandLine> commands = testCommandFile(listener, mCmdfile); in run()
82 private List<CommandLine> testCommandFile(ITestInvocationListener listener, File file) { in testCommandFile()
148 private void testCommandLines(ITestInvocationListener listener, List<CommandLine> commands) { in testCommandLines()
/tools/platform-compat/java/com/android/class2nonsdklist/
DClass2NonSdkList.java31 import org.apache.commons.cli.CommandLine;
128 CommandLine cmd; in main()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationRunner.java21 import org.apache.commons.cli.CommandLine;
255 CommandLine cmd; in parseFlags()
/tools/asuite/atest/coverage/com/android/jacocolcov/
DJacocoToLcovConverter.java25 import org.apache.commons.cli.CommandLine;
85 CommandLine cmd; in main()
/tools/asuite/atest/bazel/runner/src/main/protobuf/
Dcommand_line.proto24 message CommandLine { message
Dbuild_event_stream.proto1158 command_line.CommandLine structured_command_line = 22;