/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandFileParser.java | 59 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 …]
|
D | CommandScheduler.java | 25 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/ |
D | CommandFileParserTest.java | 27 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 …]
|
D | CommandSchedulerTest.java | 37 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/ |
D | NoisyDryRunTest.java | 21 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/ |
D | Class2NonSdkList.java | 31 import org.apache.commons.cli.CommandLine; 128 CommandLine cmd; in main()
|
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/ |
D | IsolationRunner.java | 21 import org.apache.commons.cli.CommandLine; 255 CommandLine cmd; in parseFlags()
|
/tools/asuite/atest/coverage/com/android/jacocolcov/ |
D | JacocoToLcovConverter.java | 25 import org.apache.commons.cli.CommandLine; 85 CommandLine cmd; in main()
|
/tools/asuite/atest/bazel/runner/src/main/protobuf/ |
D | command_line.proto | 24 message CommandLine { message
|
D | build_event_stream.proto | 1158 command_line.CommandLine structured_command_line = 22;
|