/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
AbstractCommandHandlerTestCase.java | 21 import org.mockftpserver.core.session.Session;
44 protected Session session;
field in class:AbstractCommandHandlerTestCase 57 session.sendReply(ReplyCodes.COMMAND_SYNTAX_ERROR, replyTextFor(ReplyCodes.COMMAND_SYNTAX_ERROR));
58 replay(session);
60 commandHandler.handleCommand(command, session);
61 verify(session);
147 session = (Session) createMock(Session.class); [all...] |
SimpleCompositeCommandHandlerTest.java | 20 import org.mockftpserver.core.session.Session;
41 private Session session;
field in class:SimpleCompositeCommandHandlerTest 53 commandHandler1.handleCommand(command, session);
56 simpleCompositeCommandHandler.handleCommand(command, session);
67 commandHandler1.handleCommand(command, session);
68 commandHandler2.handleCommand(command, session);
71 simpleCompositeCommandHandler.handleCommand(command, session);
72 simpleCompositeCommandHandler.handleCommand(command, session);
[all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AbstractCommandHandlerTest.java | 28 import org.mockftpserver.core.session.Session;
49 protected Session session;
field in class:AbstractCommandHandlerTest 63 commandHandler.handleCommand(new Command(commandName, parameters), session);
156 session = (Session) createMock(Session.class);
157 control(session).setDefaultMatcher(MockControl.ARRAY_MATCHER);
158 control(session).expectAndDefaultReturn(session.getClientHost(), DEFAULT_HOST); [all...] |
/external/wpa_supplicant_8/hs20/server/www/ |
est.php | 44 error_log("EST: Session not found for user=$user realm=$realm"); 45 die("Session not found"); 49 error_log("EST: Session fetch failed for user=$user realm=$realm"); 50 die('Session not found'); 57 die("Session not found"); 181 error_log("EST: simpleenroll - Failed to update session database"); 182 die("Failed to update session database");
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
Android.mk | 29 Session.cpp \
|
CryptoPlugin.h | 27 #include "Session.h" 59 android::sp<Session> mSession;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
Runnable.java | 20 * Encapsulates session logging in a Runnable to reduce code duplication when continuing subsessions 25 private Session mSubsession; 59 * call cancel() if this session is never going to be run (removed from a handler queue, for 70 * This method is used to clean up the active session if the Runnable gets removed from a
|
/external/llvm/include/llvm/DebugInfo/PDB/ |
PDBSymbol.h | 86 const IPDBSession &getSession() const { return Session; } 91 const IPDBSession &Session;
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
AbstractStoreFileCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
47 protected void handle(Command command, Session session) {
48 verifyLoggedIn(session);
52 String path = getRealPath(session, filename);
59 verifyWritePermission(session, pathMustBeWritable);
62 verifyExecutePermission(session, parentPath);
64 sendReply(session, ReplyCodes.TRANSFER_DATA_INITIAL_OK);
66 session.openDataConnection(); [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
PasvCommandHandler.java | 27 import org.mockftpserver.core.session.Session;
31 * CommandHandler for the PASV (Passove Mode) command. Request the Session to switch to passive
57 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
59 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord)
62 int port = session.switchToPassiveMode();
63 InetAddress server = session.getServerHost();
69 sendReply(session, hostAndPort);
|
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/samples/echo/ |
SimpleEchoSocket.java | 42 import org.eclipse.jetty.websocket.api.Session; 84 public void onConnect(Session session) { 85 System.out.printf("Got connect: %s%n", session); 90 fut = session.getRemote().sendStringByFuture(message); 93 session.close(StatusCode.NORMAL, "I'm done");
|
/frameworks/av/include/media/stagefright/foundation/ |
ANetworkSession.h | 98 struct Session; 107 KeyedVector<int32_t, sp<Session> > mSessions;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
Mailer.java | 78 // Get session 79 Session session = Session.getDefaultInstance(props, null); local 82 MimeMessage message = new MimeMessage(session); 131 // Get session 132 Session session = Session.getDefaultInstance(props, null); local 135 MimeMessage message = new MimeMessage(session); 179 Session session = Session.getDefaultInstance(props, null); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winevt.h | 326 EVT_HANDLE Session, 337 EVT_HANDLE Session, 358 EVT_HANDLE Session, 478 EVT_HANDLE Session, 484 EVT_HANDLE Session, 494 EVT_HANDLE Session, 500 EVT_HANDLE Session, 505 EVT_HANDLE Session, 520 EVT_HANDLE Session, 557 EVT_HANDLE Session, [all...] |
/frameworks/base/media/java/android/media/tv/ |
TvView.java | 30 import android.media.tv.TvInputManager.Session; 31 import android.media.tv.TvInputManager.Session.FinishedInputEventCallback; 82 private Session mSession; 319 // createSession() was called but the actual session for the given inputId has not 329 // any session is created (e.g. when quickly tuning to a channel from input A and then 376 * @see TvInputService.Session#notifyContentBlocked(TvContentRating) 389 * @see TvInputService.Session#notifyContentBlocked(TvContentRating) 569 Log.w(TAG, "sendAppPrivateCommand - session not yet created (action \"" + action 627 return ret != Session.DISPATCH_NOT_HANDLED; 642 return ret != Session.DISPATCH_NOT_HANDLED [all...] |
TvInputManager.java | 113 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 119 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 125 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 131 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 137 * Reason for {@link TvInputService.Session#notifyVideoUnavailable(int)} and 150 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 157 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 164 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 171 * Status for {@link TvInputService.Session#notifyTimeShiftStatusChanged(int)} and 179 * Value returned by {@link TvInputService.Session#onTimeShiftGetCurrentPosition()} an [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
DataCollector.java | 36 import static com.android.systemui.statusbar.phone.TouchAnalyticsProto.Session; 37 import static com.android.systemui.statusbar.phone.TouchAnalyticsProto.Session.PhoneEvent; 44 * A session starts when the screen is turned on. 45 * A session ends when the screen is turned off or user unlocks the phone. 130 SensorLoggerSession session = mCurrentSession; local 133 session.end(System.currentTimeMillis(), result); 134 queueSession(session); 141 byte[] b = Session.toByteArray(currentSession.toProto()); 143 if (currentSession.getResult() != Session.SUCCESS) { 177 onSessionEnd(Session.UNKNOWN) [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
CallerInfoLookupHelperTest.java | 31 import com.android.server.telecom.Session; 107 ArgumentCaptor<Session> logSessionCaptor = ArgumentCaptor.forClass(Session.class); 144 ArgumentCaptor<Session> logSessionCaptor = ArgumentCaptor.forClass(Session.class); 182 ArgumentCaptor<Session> logSessionCaptor = ArgumentCaptor.forClass(Session.class);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
AbstractFtpServer.java | 23 import org.mockftpserver.core.session.DefaultSession;
24 import org.mockftpserver.core.session.Session;
83 // Simple value object that holds the socket and thread for a single session
98 // Map of Session -> SessionInfo
156 Session session = createSession(clientSocket);
local 157 Thread sessionThread = new Thread(session);
163 sessions.put(session, sessionInfo);
340 * Create a new Session instance for the specified client Socket 352 Session session = (Session) entry.getKey(); local [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/command/ |
_AbstractCommandHandlerTest.java | 23 import org.mockftpserver.core.session.Session;
55 private Session session;
field in class:_AbstractCommandHandlerTest 59 * Test the handleCommand(Command,Session) method
63 commandHandler.handleCommand(COMMAND, session);
69 * Test the handleCommand(Command,Session) method, passing in a null Command
73 commandHandler.handleCommand(null, session);
82 * Test the handleCommand(Command,Session) method, passing in a null Session
[all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/ |
StubFtpServerTest.java | 27 import org.mockftpserver.core.session.Session;
173 protected void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
179 public void handleCommand(Command command, Session session) throws Exception {
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/simple/ |
SimpleTvInputService.java | 44 public Session onCreateSession(String inputId) { 49 * Simple session implementation which plays local videos on the application's tune request. 51 private class SimpleSessionImpl extends TvInputService.Session {
|
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/ |
SampleSpellCheckerService.java | 33 public Session createSession() { 37 private static class AndroidSpellCheckerSession extends Session { 53 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)} 55 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)} 57 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)}. 80 * {@link SpellCheckerService.Session#onGetSentenceSuggestionsMultiple(TextInfo[], int)} 82 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)}
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/session/ |
StubSession.groovy | 16 package org.mockftpserver.core.session
19 * Stub implementation of the {@link Session} interface for testing
25 class StubSession implements Session {
41 * @see org.mockftpserver.core.session.Session#close()
48 * @see org.mockftpserver.core.session.Session#closeDataConnection()
55 * @see org.mockftpserver.core.session.Session#getAttribute(java.lang.String)
62 * @see org.mockftpserver.core.session.Session#getAttributeNames() [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/ |
StubFtpServer_MultipleClientsIntegrationTest.java | 24 import org.mockftpserver.core.session.Session;
43 // Custom CommandHandler for PWD so that we can verify unique session-specific responses.
44 // Send back the hashCode for the Session as the reply text.
46 protected void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
47 String replyText = quotes(Integer.toString(session.hashCode()));
48 sendReply(session, 257, null, replyText, null);
80 // Make sure all session ids are unique
|