/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
MkdCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
31 private Command command1;
32 private Command command2;
62 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
69 command1 = new Command(CommandNames.MKD, array(DIR1));
70 command2 = new Command(CommandNames.MKD, array(DIR2));
|
ModeCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
34 private Command command1;
35 private Command command2;
65 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
71 command1 = new Command(CommandNames.MODE, array(CODE1));
72 command2 = new Command(CommandNames.MODE, array(CODE2));
|
RnfrCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
31 private Command command1;
32 private Command command2;
62 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
68 command1 = new Command(CommandNames.RNFR, array(FILENAME1));
69 command2 = new Command(CommandNames.RNFR, array(FILENAME2));
|
RntoCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
31 private Command command1;
32 private Command command2;
62 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
68 command1 = new Command(CommandNames.RNTO, array(FILENAME1));
69 command2 = new Command(CommandNames.RNTO, array(FILENAME2));
|
SiteCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
34 private Command command1;
35 private Command command2;
38 * Test the handleCommand(Command,Session) method
64 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
70 command1 = new Command(CommandNames.SITE, array(PARAMETERS1));
71 command2 = new Command(CommandNames.SITE, array(PARAMETERS2));
|
SmntCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
31 private Command command1;
32 private Command command2;
35 * Test the handleCommand(Command,Session) method
61 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
67 command1 = new Command(CommandNames.SMNT, array(DIR1));
68 command2 = new Command(CommandNames.SMNT, array(DIR2));
|
StruCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
34 private Command command1;
35 private Command command2;
65 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
71 command1 = new Command(CommandNames.STRU, array(CODE1));
72 command2 = new Command(CommandNames.STRU, array(CODE2));
|
UserCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
34 private Command command1;
35 private Command command2;
75 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
80 command1 = new Command(CommandNames.USER, array(USERNAME1));
81 command2 = new Command(CommandNames.USER, array(USERNAME2));
|
/external/vogar/src/vogar/commands/ |
Mkdir.java | 23 * A mkdir command. 33 new Command(log, "mkdir", "-p", directory.getPath()).execute();
|
Rm.java | 23 * A rm command. 33 new Command(log, "rm", "-rf", file.getPath()).execute();
|
/frameworks/av/services/audioflinger/ |
FastThreadState.cpp | 33 const char *FastThreadState::commandToString(FastThreadState::Command command) 35 switch (command) {
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
Dicttool.java | 32 public static abstract class Command { 70 static HashMap<String, Class<? extends Command>> sCommands = new HashMap<>(); 76 public static void addCommand(final String commandName, final Class<? extends Command> cls) { 80 private static Command getCommandInstance(final String commandName) { 91 System.out.println("Syntax: dicttool <command [arguments]>\nAvailable commands:\n"); 103 private static Command getCommand(final String[] arguments) { 106 throw new RuntimeException("Unknown command : " + commandName); 108 final Command command = getCommandInstance(commandName); local 110 command.setArgs(argsArray) 120 final Command command = getCommand(arguments); local [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
AbstractStubDataCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractTrackingCommandHandler;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandHandler;
21 import org.mockftpserver.core.command.InvocationRecord;
22 import org.mockftpserver.core.command.ReplyCodes;
36 * Subclasses can optionally override the {@link #beforeProcessData(Command, Session, InvocationRecord)}
37 * method for logic before the data transfer or the {@link #afterProcessData(Command, Session, InvocationRecord)}
86 * Handle the command. Perform the following steps: [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
AbstractStubDataCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandler;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandHandler;
21 import org.mockftpserver.core.command.InvocationRecord;
22 import org.mockftpserver.core.command.ReplyCodes;
36 * Subclasses can optionally override the {@link #beforeProcessData(Command, Session, InvocationRecord)}
37 * method for logic before the data transfer or the {@link #afterProcessData(Command, Session, InvocationRecord)}
87 * Handle the command. Perform the following steps: [all...] |
/system/extras/simpleperf/ |
command.cpp | 17 #include "command.h" 26 bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) { 36 void Command::ReportUnknownOption(const std::vector<std::string>& args, size_t i) { 37 LOG(ERROR) << "Unknown option for " << name_ << " command: '" << args[i] 41 typedef std::function<std::unique_ptr<Command>(void)> callback_t; 44 // commands is used in the constructor of Command. Defining it as a static 51 std::function<std::unique_ptr<Command>(void)> callback) { 59 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name) {
|
/external/llvm/utils/lit/lit/ |
ShUtil.py | 5 from lit.ShCommands import Command, Pipeline, Seq 191 raise ValueError("empty command!") 204 # If this is an argument, just add it to the current command. 221 return Command(args, redirects) 291 Pipeline([Command(['echo', 'hello'], [])], False)) 293 Pipeline([Command(['echo', ''], [])], False)) 295 Pipeline([Command(['echo', '-DFOO=a'], [])], False)) 297 Pipeline([Command(['echo', '-DFOO=a'], [])], False)) 301 Pipeline([Command(['echo', 'hello'], 304 Pipeline([Command(['echo', 'hello'], [(('>',), 'c') [all...] |
/frameworks/base/media/java/android/media/ |
AsyncPlayer.java | 37 private static final class Command { 51 private final LinkedList<Command> mCmdQueue = new LinkedList(); 53 private void startSound(Command cmd) { 86 Command cmd = null; 109 Log.w(mTag, "STOP command without a player"); 196 Command cmd = new Command(); 218 Command cmd = new Command(); 227 private void enqueueLocked(Command cmd) [all...] |
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
AppeCommandHandlerTest.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 74 Command createValidCommand() { 75 return new Command(CommandNames.APPE, [FILE])
|
CdupCommandHandlerTest.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 68 Command createValidCommand() { 69 return new Command(CommandNames.CDUP, [])
|
EprtCommandHandlerTest.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 92 Command createValidCommand() { 93 return new Command(CommandNames.EPRT, PARAMETERS_IPV4)
|
/external/vogar/src/vogar/ |
SshTarget.java | 28 import vogar.commands.Command; 67 new Command.Builder(log) 78 String line = new Command.Builder(log) 93 new Command(log, "ssh", "-p", Integer.toString(port), host, 101 new Command(log, "scp", "-r", "-P", Integer.toString(port), 110 new Command(log, "scp", "-r", "-P", Integer.toString(port),
|
/system/weaved/libweaved/ |
command.h | 37 class LIBWEAVED_EXPORT Command final { 52 ~Command(); 54 // Returns the full command ID. 57 // Returns the full name of the command. 60 // Returns the name of the component this command was sent to. 63 // Returns the command state. 64 Command::State GetState() const; 66 // Returns the origin of the command. 67 Command::Origin GetOrigin() const; 69 // Returns the command parameters [all...] |
/external/icu/icu4c/source/test/perf/utrie2perf/ |
utrie2perf.cpp | 93 class Command : public UPerfFunction { 95 Command(const UTrie2PerfTest &testcase) : testcase(testcase) {} 98 virtual ~Command() {} 113 class CheckFCD : public Command { 115 CheckFCD(const UTrie2PerfTest &testcase) : Command(testcase) {} 133 class CheckFCDAlwaysGet : public Command { 135 CheckFCDAlwaysGet(const UTrie2PerfTest &testcase) : Command(testcase) {} 154 class CheckFCDUTF8 : public Command { 156 CheckFCDUTF8(const UTrie2PerfTest &testcase) : Command(testcase) {} 171 class ToNFC : public Command { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
NotificationPlayer.java | 45 private static final class Command { 59 private LinkedList<Command> mCmdQueue = new LinkedList(); 70 public Command mCmd; 71 public CreationAndCompletionThread(Command cmd) { 114 // command are issued, and on which it receives the completion callbacks. 132 private void startSound(Command cmd) { 174 Command cmd = null; 207 Log.w(mTag, "STOP command without a player"); 299 Command cmd = new Command(); [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
NotificationPlayer.java | 47 private static final class Command { 63 private final LinkedList<Command> mCmdQueue = new LinkedList<Command>(); 74 public Command mCmd; 75 public CreationAndCompletionThread(final Command cmd) { 117 private void startSound(final Command cmd) { 153 private void stopSound(final Command cmd) { 181 Command cmd = null; 279 final Command cmd = new Command(); [all...] |