/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...] |
/external/chromium-trace/trace-viewer/third_party/Paste/docs/modules/ |
session.txt | 1 :mod:`paste.session` -- Simple file-based sessions 4 .. automodule:: paste.session
|
/external/chromium-trace/trace-viewer/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/linux-tools-perf/src/tools/perf/ |
builtin-buildid-list.c | 16 #include "util/session.h" 54 struct perf_session *session; local 63 session = perf_session__new(input_name, O_RDONLY, force, false, 65 if (session == NULL) 71 if (with_hits || session->fd_pipe) 72 perf_session__process_events(session, &build_id__mark_dso_hit_ops); 74 perf_session__fprintf_dsos_buildid(session, stdout, dso__skip_buildid, with_hits); 75 perf_session__delete(session);
|
/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);
|
FileRetrCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
73 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
75 protected void beforeProcessData(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
81 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
83 protected void processData(Command command, Session session, InvocationRecord invocationRecord) { [all...] |
RetrCommandHandler.java | 21 import org.mockftpserver.core.session.Session;
74 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
76 protected void beforeProcessData(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
82 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
84 protected void processData(Command command, Session session, InvocationRecord invocationRecord) { [all...] |
/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.
|
/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,
|
/frameworks/base/core/java/android/print/ |
PrinterDiscoverySession.java | 71 Log.e(LOG_TAG, "Error creating printer discovery session", re); 77 Log.w(LOG_TAG, "Ignoring start printers discovery - session destroyed"); 92 Log.w(LOG_TAG, "Ignoring stop printers discovery - session destroyed"); 107 Log.w(LOG_TAG, "Ignoring start printer state tracking - session destroyed"); 119 Log.w(LOG_TAG, "Ignoring stop printer state tracking - session destroyed"); 131 Log.w(LOG_TAG, "Ignoring validate printers - session destroyed"); 143 Log.w(LOG_TAG, "Ignoring destroy - session destroyed"); 150 Log.w(LOG_TAG, "Ignoring get printers - session destroyed"); 174 Log.e(LOG_TAG, "Destroying leaked printer discovery session"); 189 Log.e(LOG_TAG, "Error destroying printer discovery session", re) 299 PrinterDiscoverySession session = mWeakSession.get(); local 309 PrinterDiscoverySession session = mWeakSession.get(); local [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
ConvergedImageCaptureCommand.java | 119 try (FrameServer.Session session = mFrameServer.createExclusiveSession()) { 122 waitForAFConvergence(session); 125 waitForAEConvergence(session); 127 captureBurst(session, imageStream, imageExposureUpdatable, imageSaver); 131 // Note that this may still throw if the camera or session is 133 resetRepeating(session); 140 private void waitForAFConvergence(FrameServer.Session session) throws CameraAccessException, 153 session.submitRequest(Arrays.asList(idleBuilder.build()) [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
FileRetrCommandHandler.java | 27 import org.mockftpserver.core.session.Session;
76 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
78 protected void beforeProcessData(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
84 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
86 protected void processData(Command command, Session session, InvocationRecord invocationRecord) { [all...] |