| /external/parameter-framework/upstream/remote-processor/ |
| BackgroundRemoteProcessorServer.h | 44 std::unique_ptr<IRemoteCommandHandler> &&commandHandler);
|
| /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
| RetrCommandHandlerTest.groovy | 19 import org.mockftpserver.core.command.CommandHandler 98 assert commandHandler.convertLfToCrLf('abc'.bytes) == 'abc'.bytes 99 assert commandHandler.convertLfToCrLf('abc\r\ndef'.bytes) == 'abc\r\ndef'.bytes 100 assert commandHandler.convertLfToCrLf('abc\ndef'.bytes) == 'abc\r\ndef'.bytes 101 assert commandHandler.convertLfToCrLf('abc\ndef\nghi'.bytes) == 'abc\r\ndef\r\nghi'.bytes 102 assert commandHandler.convertLfToCrLf('\n'.bytes) == '\r\n'.bytes 103 assert commandHandler.convertLfToCrLf('\r\nabc\n'.bytes) == '\r\nabc\r\n'.bytes 110 CommandHandler createCommandHandler() {
|
| /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
| AbstractCommandHandlerTestCase.java | 29 * Abstract superclass for CommandHandler tests
50 * @param commandHandler - the CommandHandler to test
54 protected void testHandleCommand_InvalidParameters(AbstractTrackingCommandHandler commandHandler,
60 commandHandler.handleCommand(command, session);
63 verifyNumberOfInvocations(commandHandler, 1);
64 verifyNoDataElements(commandHandler.getInvocation(0));
68 * Verify that the CommandHandler contains the specified number of invocation records
70 * @param commandHandler - the CommandHandler
[all...] |
| /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
| AbstractCommandHandlerTest.java | 33 * Abstract superclass for CommandHandler tests
55 * @param commandHandler - the CommandHandler to test
59 protected void testHandleCommand_InvalidParameters(AbstractCommandHandler commandHandler,
63 commandHandler.handleCommand(new Command(commandName, parameters), session);
71 verifyNumberOfInvocations(commandHandler, 1);
75 * Verify that the CommandHandler contains the specified number of invocation records
77 * @param commandHandler - the CommandHandler
80 protected void verifyNumberOfInvocations(InvocationHistory commandHandler, int expected) { [all...] |
| /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
| FakeFtpServer.java | 18 import org.mockftpserver.core.command.CommandHandler;
217 * Initialize a CommandHandler that has been registered to this server.
219 * If the CommandHandler implements the <code>ServerConfigurationAware</code> interface, then set its
222 * If the CommandHandler implements the <code>ReplyTextBundleAware</code> interface, then set its
225 * @param commandHandler - the CommandHandler to initialize
227 protected void initializeCommandHandler(CommandHandler commandHandler) {
228 if (commandHandler instanceof ServerConfigurationAware) {
229 ServerConfigurationAware sca = (ServerConfigurationAware) commandHandler;
[all...] |
| /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
| AbstractFtpServer.java | 22 import org.mockftpserver.core.command.CommandHandler;
40 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link org.mockftpserver.core.command.CommandHandler}
51 * You can set the existing {@link CommandHandler} defined for an FTP server command
52 * by calling the {@link #setCommandHandler(String, CommandHandler)} method, passing
53 * in the FTP server command name and {@link CommandHandler} instance.
57 * You can retrieve the existing {@link CommandHandler} defined for an FTP server command by
227 * Return the CommandHandler defined for the specified command name
230 * @return the CommandHandler defined for name
232 public CommandHandler getCommandHandler(String name) {
233 return (CommandHandler) commandHandlers.get(Command.normalizeName(name)); [all...] |
| /cts/suite/audio_quality/lib/include/audio/ |
| RemoteAudio.h | 33 class CommandHandler; 75 class CommandHandler; 82 android::sp<android::MessageHandler>& commandHandler); 84 void doStop(android::sp<android::MessageHandler>& commandHandler, AudioProtocol::CommandId id); 86 CommandHandler* toCommandHandler(android::sp<android::MessageHandler>& command) { 87 return reinterpret_cast<CommandHandler*>(command.get()); 107 friend class CommandHandler; 109 class CommandHandler: public android::MessageHandler { 114 CommandHandler(RemoteAudio& thread, int command) 119 virtual ~CommandHandler() {}; [all...] |
| /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/ |
| StubFtpServer.java | 18 import org.mockftpserver.core.command.CommandHandler;
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
36 * or reply codes. Or it can be replaced with a custom {@link CommandHandler}
60 * You can retrieve the existing {@link CommandHandler} defined for an FTP server command
68 * You can replace the existing {@link CommandHandler} defined for an FTP server command
69 * by calling the {@link #setCommandHandler(String, CommandHandler)} method, passing
70 * in the FTP server command name and {@link CommandHandler} instance. For example:
99 // Initialize the default CommandHandler mappings
144 protected void initializeCommandHandler(CommandHandler commandHandler) {
[all...] |
| /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/ |
| DefaultSession.java | 22 import org.mockftpserver.core.command.CommandHandler;
83 * @param commandHandlers - the Map of command name -> CommandHandler. It is assumed that the
380 CommandHandler connectCommandHandler = (CommandHandler) commandHandlers.get(CommandNames.CONNECT);
414 CommandHandler commandHandler = (CommandHandler) commandHandlers.get(normalizedCommandName);
416 if (commandHandler == null) {
417 commandHandler = (CommandHandler) commandHandlers.get(CommandNames.UNSUPPORTED); [all...] |
| /cts/suite/audio_quality/lib/src/audio/ |
| RemoteAudio.cpp | 32 mDownloadHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdDownload)), 33 mPlaybackHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdStartPlayback)), 34 mRecordingHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdStartRecording)), 35 mDeviceInfoHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdGetDeviceInfo)), 110 CommandHandler* handler = NULL; 112 handler = reinterpret_cast<CommandHandler*>(mDownloadHandler.get()); 114 handler = reinterpret_cast<CommandHandler*>(mPlaybackHandler.get()); 116 handler = reinterpret_cast<CommandHandler*>(mRecordingHandler.get()); 118 handler = reinterpret_cast<CommandHandler*>(mDeviceInfoHandler.get()); 163 android::sp<android::MessageHandler>& commandHandler) [all...] |
| /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/session/ |
| DefaultSession.java | 40 import org.mockftpserver.core.command.CommandHandler;
83 * @param commandHandlers - the Map of command name -> CommandHandler. It is assumed that the
378 CommandHandler connectCommandHandler = (CommandHandler) commandHandlers.get(CommandNames.CONNECT);
413 CommandHandler commandHandler = (CommandHandler) commandHandlers.get(normalizedCommandName);
414 Assert.notNull(commandHandler, "CommandHandler for command [" + normalizedCommandName + "]");
415 commandHandler.handleCommand(command, this); [all...] |
| /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/ |
| StubFtpServer.java | 30 import org.mockftpserver.core.command.CommandHandler;
79 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
85 * or reply codes. Or it can be replaced with a custom {@link CommandHandler}
101 * You can retrieve the existing {@link CommandHandler} defined for an FTP server command
109 * You can replace the existing {@link CommandHandler} defined for an FTP server command
110 * by calling the {@link #setCommandHandler(String, CommandHandler)} method, passing
111 * in the FTP server command name and {@link CommandHandler} instance. For example:
169 // Initialize the default CommandHandler mappings
316 * Return the CommandHandler defined for the specified command name
318 * @return the CommandHandler defined for name [all...] |
| /external/parameter-framework/upstream/parameter/ |
| ParameterMgr.cpp | [all...] |