/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
MkdCommandHandlerTest.java | 41 session.sendReply(ReplyCodes.MKD_OK, formattedReplyTextFor(ReplyCodes.MKD_OK, DIR1));
42 session.sendReply(ReplyCodes.MKD_OK, formattedReplyTextFor(ReplyCodes.MKD_OK, DIR2));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
ModeCommandHandlerTest.java | 44 session.sendReply(ReplyCodes.MODE_OK, replyTextFor(ReplyCodes.MODE_OK));
45 session.sendReply(ReplyCodes.MODE_OK, replyTextFor(ReplyCodes.MODE_OK));
46 replay(session);
48 commandHandler.handleCommand(command1, session);
49 commandHandler.handleCommand(command2, session);
50 verify(session);
|
PassCommandHandlerTest.java | 44 session.sendReply(ReplyCodes.PASS_OK, replyTextFor(ReplyCodes.PASS_OK));
45 session.sendReply(ReplyCodes.PASS_OK, replyTextFor(ReplyCodes.PASS_OK));
46 replay(session);
48 commandHandler.handleCommand(command1, session);
49 commandHandler.handleCommand(command2, session);
50 verify(session);
|
RmdCommandHandlerTest.java | 40 session.sendReply(ReplyCodes.RMD_OK, replyTextFor(ReplyCodes.RMD_OK));
41 session.sendReply(ReplyCodes.RMD_OK, replyTextFor(ReplyCodes.RMD_OK));
42 replay(session);
44 commandHandler.handleCommand(command1, session);
45 commandHandler.handleCommand(command2, session);
46 verify(session);
|
RnfrCommandHandlerTest.java | 41 session.sendReply(ReplyCodes.RNFR_OK, replyTextFor(ReplyCodes.RNFR_OK));
42 session.sendReply(ReplyCodes.RNFR_OK, replyTextFor(ReplyCodes.RNFR_OK));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
RntoCommandHandlerTest.java | 41 session.sendReply(ReplyCodes.RNTO_OK, replyTextFor(ReplyCodes.RNTO_OK));
42 session.sendReply(ReplyCodes.RNTO_OK, replyTextFor(ReplyCodes.RNTO_OK));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
StruCommandHandlerTest.java | 44 session.sendReply(ReplyCodes.STRU_OK, replyTextFor(ReplyCodes.STRU_OK));
45 session.sendReply(ReplyCodes.STRU_OK, replyTextFor(ReplyCodes.STRU_OK));
46 replay(session);
48 commandHandler.handleCommand(command1, session);
49 commandHandler.handleCommand(command2, session);
50 verify(session);
|
PasvCommandHandlerTest.java | 48 session.switchToPassiveMode();
49 control(session).setReturnValue(PORT);
50 session.getServerHost();
51 control(session).setReturnValue(SERVER);
52 session.sendReply(ReplyCodes.PASV_OK, formattedReplyTextFor(227, "(192,168,0,2,23,77)"));
53 replay(session);
57 commandHandler.handleCommand(COMMAND, session);
58 verify(session);
|
TypeCommandHandlerTest.java | 42 session.sendReply(ReplyCodes.TYPE_OK, replyTextFor(ReplyCodes.TYPE_OK));
43 session.sendReply(ReplyCodes.TYPE_OK, replyTextFor(ReplyCodes.TYPE_OK));
44 session.sendReply(ReplyCodes.TYPE_OK, replyTextFor(ReplyCodes.TYPE_OK));
45 replay(session);
47 commandHandler.handleCommand(COMMAND1, session);
48 commandHandler.handleCommand(COMMAND2, session);
49 commandHandler.handleCommand(COMMAND3, session);
50 verify(session);
|
/packages/apps/Camera2/src/com/android/camera/session/ |
CaptureSessionManagerImpl.java | 17 package com.android.camera.session; 37 * <li>Create a new capture session.</li> 38 * <li>Pass it around to anywhere where the status of a session needs to be 41 * that processing of this session has started. The Camera app right now will 54 * It's OK to call saveAndFinish either before or after the session has been 57 * If startSession is called after the session has been finished, it will be 250 /** Used to fire events to the session listeners from the main thread. */ 253 /** Failed session messages. Uri -> message ID. */ 262 * @param sessionFactory used to create new capture session objects. 264 * temporary session dat 287 mSessions.put(sessionUri.toString(), session); local 372 CaptureSession session; local [all...] |
/frameworks/av/drm/libdrmframework/include/ |
DrmManagerClientImpl.h | 51 * @param[in] uniqueId Unique identifier for a session 58 * @param[in] uniqueId Unique identifier for a session 66 * @param[in] uniqueId Unique identifier for a session 77 * @param[in] uniqueId Unique identifier for a session 91 * @param[in] uniqueId Unique identifier for a session 103 * @param[in] uniqueId Unique identifier for a session 114 * @param[in] uniqueId Unique identifier for a session 125 * @param[in] uniqueId Unique identifier for a session 136 * @param[in] uniqueId Unique identifier for a session 149 * @param[in] uniqueId Unique identifier for a session [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
IDrmEngine.h | 63 * @param[in] uniqueId Unique identifier for a session 73 * @param[in] uniqueId Unique identifier for a session 86 * @param[in] uniqueId Unique identifier for a session 95 * @param[in] uniqueId Unique identifier for a session 110 * @param[in] uniqueId Unique identifier for a session 122 * @param[in] uniqueId Unique identifier for a session 132 * @param[in] uniqueId Unique identifier for a session 143 * @param[in] uniqueId Unique identifier for a session 154 * @param[in] uniqueId Unique identifier for a session 167 * @param[in] uniqueId Unique identifier for a session [all...] |
/libcore/ojluni/src/main/java/javax/net/ssl/ |
SSLSession.java | 33 * two entities. Each SSL connection involves one session at a time, but 34 * that session may be used on many connections between those entities, 35 * simultaneously or sequentially. The session used on a connection may 36 * also be replaced by a different session. Sessions are created, or 40 * Session management policies are typically used to tune performance. 42 * <P> In addition to the standard session attributes, SSL sessions expose 47 * have been established as part of session setup. Peers are 52 * in a particular session. 54 * <LI> <em>Peer Host.</em> All connections in a session are 69 * Returns the identifier assigned to this Session [all...] |
/system/tpm/trunks/ |
trunks_client_test.cc | 72 scoped_ptr<HmacSession> session = factory_->GetHmacSession(); local 73 if (utility->StartSession(session.get()) != TPM_RC_SUCCESS) { 74 LOG(ERROR) << "Error starting hmac session."; 80 TPM_RC result = utility->StirRandom(entropy_data, session->GetDelegate()); 85 result = utility->GenerateRandom(num_bytes, session->GetDelegate(), 101 scoped_ptr<HmacSession> session = factory_->GetHmacSession(); local 102 if (utility->StartSession(session.get()) != TPM_RC_SUCCESS) { 103 LOG(ERROR) << "Error starting hmac session."; 111 kNoCreationPCR, session->GetDelegate(), &key_blob, nullptr); 117 result = utility->LoadKey(key_blob, session->GetDelegate(), &signing_key) 142 scoped_ptr<HmacSession> session = factory_->GetHmacSession(); local 170 scoped_ptr<HmacSession> session = factory_->GetHmacSession(); local 200 scoped_ptr<HmacSession> session = factory_->GetHmacSession(); local 242 scoped_ptr<HmacSession> session = factory_->GetHmacSession(); local 299 scoped_ptr<HmacSession> session = factory_->GetHmacSession(); local 365 scoped_ptr<HmacSession> session = factory_->GetHmacSession(); local 823 scoped_ptr<HmacSession> session = factory_->GetHmacSession(); local [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/testing/ |
cast.html | 14 console.log('start session'); 20 Start session
|
/external/chromium-trace/catapult/third_party/Paste/docs/modules/ |
session.txt | 1 :mod:`paste.session` -- Simple file-based sessions 4 .. automodule:: paste.session
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
session.py | 5 Creates a session object in your WSGI environment. 11 environ['paste.session.factory']() 14 be saved to disk when the request is completed. The session will be 15 created when you first fetch the session dictionary, and a cookie will 17 cookies, and there's no way to delete a session except to clear its 21 session is accessed concurrently. Also, it loads and saves the 22 session for each request, with no caching. Also, sessions aren't 59 environ['paste.session.factory'] = session_factory 72 # Tricky bastard used the session after start_response 76 "You cannot get the session after content from the [all...] |
/external/dbus/bus/ |
.gitignore | 20 session.conf 26 org.freedesktop.dbus-session.plist
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
RmdCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
38 protected void handle(Command command, Session session) {
39 verifyLoggedIn(session);
40 String path = getRealPath(session, command.getRequiredParameter(0));
48 verifyWritePermission(session, getFileSystem().getParent(path));
51 sendReply(session, ReplyCodes.RMD_OK, "rmd", list(path));
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
UserCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
51 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
53 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
59 sendReply(session, code, replyMessageKey, replyText, null);
61 sendReply(session);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
TypeCommandHandlerTest.java | 42 session.sendReply(ReplyCodes.TYPE_OK, replyTextFor(ReplyCodes.TYPE_OK));
43 session.sendReply(ReplyCodes.TYPE_OK, replyTextFor(ReplyCodes.TYPE_OK));
44 session.sendReply(ReplyCodes.TYPE_OK, replyTextFor(ReplyCodes.TYPE_OK));
45 replay(session);
47 commandHandler.handleCommand(COMMAND1, session);
48 commandHandler.handleCommand(COMMAND2, session);
49 commandHandler.handleCommand(COMMAND3, session);
50 verify(session);
|
/external/toybox/toys/other/ |
setsid.c | 1 /* setsid.c - Run program in a new session ID. 13 Run process in a new session.
|
/external/tpm2/ |
PolicyTicket.c | 26 SESSION *session; local 33 // Get pointer to the session structure 34 session = SessionGet(in->policySession); 36 // NOTE: A trial policy session is not allowed to use this command. 42 if(session->attributes.isTrialPolicy) 53 result = PolicyParameterChecks(session, timeout, 85 &in->cpHashA, timeout, session);
|
/frameworks/av/camera/ndk/impl/ |
ACameraCaptureSession.h | 65 // Make sure the caller does not hold device or session lock! 69 // A session will enter closed state when one of the following happens: 71 // 2. Replaced by a newer session 75 // Close the session and mark app no longer need this session. 97 // Close session because app close camera device, camera device got ERROR_DISCONNECTED, 98 // or a new session is replacing this session.
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
SessionRoute.h | 40 SessionRoute(audio_session_t session, 46 mSession(session), 93 bool hasRoute(audio_session_t session); 95 void removeRoute(audio_session_t session); 97 int incRouteActivity(audio_session_t session); 98 int decRouteActivity(audio_session_t session); 99 bool hasRouteChanged(audio_session_t session); // also clears the changed flag 106 void addRoute(audio_session_t session,
|