/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
ModeCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 45 Command createValidCommand() { 46 return new Command(CommandNames.MODE, [])
|
NoopCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 51 Command createValidCommand() { 52 return new Command(CommandNames.NOOP, [])
|
PasvCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 53 Command createValidCommand() { 54 return new Command(CommandNames.PASV, [])
|
PortCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 62 Command createValidCommand() { 63 return new Command(CommandNames.PORT, PARAMETERS)
|
PwdCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 56 Command createValidCommand() { 57 return new Command(CommandNames.PWD, [])
|
QuitCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 49 Command createValidCommand() { 50 return new Command(CommandNames.QUIT, [])
|
RestCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 45 Command createValidCommand() { 46 return new Command(CommandNames.REST, [])
|
SiteCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 49 Command createValidCommand() { 50 return new Command(CommandNames.SITE, [])
|
StruCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 45 Command createValidCommand() { 46 return new Command(CommandNames.STRU, [])
|
SystCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 54 Command createValidCommand() { 55 return new Command(CommandNames.SYST, [])
|
/system/extras/simpleperf/ |
command.h | 27 class Command { 29 Command(const std::string& name, const std::string& short_help_string, 34 virtual ~Command() { 60 DISALLOW_COPY_AND_ASSIGN(Command); 64 std::function<std::unique_ptr<Command>(void)> callback); 66 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name);
|
/external/libweave/src/commands/ |
command_instance.h | 15 #include <weave/command.h> 28 class CommandInstance final : public Command { 42 // Construct a command instance given the full command |name| which must 46 Command::Origin origin, 50 // Command overrides. 54 Command::State GetState() const override; 55 Command::Origin GetOrigin() const override; 68 // Parses a command instance JSON definition and constructs a CommandInstance 71 // |command_id| is the ID of the command returned, as parsed from the |value| [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
AlloCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
20 import org.mockftpserver.core.command.*;
21 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
39 private Command command1;
40 private Command command2;
75 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R ")), session);
89 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("xx")), session);
102 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R xx")), session);
113 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
119 command1 = new Command(CommandNames.ALLO, array(Integer.toString(BYTES1))); [all...] |
CdupCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
33 private Command command1;
34 private Command command2;
37 * Test the handleCommand(Command,Session) method
56 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp() [all...] |
CwdCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
33 private Command command1;
34 private Command command2;
37 * Test the handleCommand(Command,Session) method
63 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp() [all...] |
DeleCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
33 private Command command1;
34 private Command command2;
37 * Test the handleCommand(Command,Session) method
63 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp() [all...] |
HelpCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
46 final Command COMMAND1 = new Command(CommandNames.HELP, EMPTY);
47 final Command COMMAND2 = new Command(CommandNames.HELP, array("abc")); [all...] |
NlstCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
20 import org.mockftpserver.core.command.Command;
21 import org.mockftpserver.core.command.CommandNames;
22 import org.mockftpserver.core.command.ReplyCodes;
53 Command command1 = new Command(CommandNames.LIST, array(DIR1));
54 Command command2 = new Command(CommandNames.LIST, EMPTY); [all...] |
PassCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
36 private Command command1;
37 private Command command2;
66 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
72 command1 = new Command(CommandNames.PASS, array(PASSWORD1)); [all...] |
ReinCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
33 private Command command1;
34 private Command command2;
37 * Test the handleCommand(Command,Session) method
56 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp() [all...] |
RestCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
36 private Command command1;
37 private Command command2;
67 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
74 command1 = new Command(CommandNames.REST, array(MARKER1)); [all...] |
RmdCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
33 private Command command1;
34 private Command command2;
62 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
68 command1 = new Command(CommandNames.RMD, array(DIR1)); [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
StatCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.StatCommandHandler;
45 final Command COMMAND = new Command(CommandNames.STAT, EMPTY);
47 commandHandler.handleCommand(COMMAND, session); [all...] |
AcctCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
35 private Command command1;
36 private Command command2;
66 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
72 command1 = new Command(CommandNames.ACCT, array(ACCOUNT1));
73 command2 = new Command(CommandNames.ACCT, array(ACCOUNT2)); [all...] |
/external/vogar/src/vogar/android/ |
AdbTarget.java | 30 import vogar.commands.Command; 66 new Command.Builder(log) 82 Command command = new Command.Builder(log) local 86 List<String> output = command.execute(); 88 // the Command class understand a non-zero exit code from an adb shell command. 98 new Command(log, "adb", "remount").execute(); 109 Command command = new Command.Builder(log local [all...] |