/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/session/ |
DefaultSession_RunTest.java | 16 package org.mockftpserver.core.session;
33 import org.mockftpserver.core.session.DefaultSession;
34 import org.mockftpserver.core.session.Session;
41 * Tests for the DefaultSession class that require the session (thread) to be running/active.
54 private DefaultSession session;
field in class:DefaultSession_RunTest 76 public void handleCommand(Command command, Session cmdSession, InvocationRecord invocationRecord) {
78 assertSame("session", session, cmdSession);
94 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) { [all...] |
/external/autotest/client/virt/tests/ |
boot.py | 19 session = vm.wait_for_login(timeout=timeout) 24 session = vm.reboot(session, params["reboot_method"], 0, timeout) 26 session.close()
|
mac_change.py | 22 # This session will be used to assess whether the IP change worked 23 session = vm.wait_for_login(timeout=timeout) 48 if virt_utils.wait_for(session.is_responsive, 120, 20, 3): 49 # Just warning when failed to see the session become dead, 51 logging.warning("The session is still responsive, settings may fail.") 52 session.close() 54 # Re-log into guest and check if session is responsive 56 session = vm.wait_for_login(timeout=timeout) 57 if not session.is_responsive(): 58 raise error.TestFail("The new session is not responsive." [all...] |
/external/clang/test/Driver/ |
modules.m | 7 // RUN: %clang -fbuild-session-file=doesntexist -### %s 2>&1 | FileCheck -check-prefix=NOFILE %s 10 // RUN: touch -m -a -t 201008011501 %t.build-session-file 11 // RUN: %clang -fbuild-session-file=%t.build-session-file -### %s 2>&1 | FileCheck -check-prefix=TIMESTAMP_ONLY %s 13 // RUN: %clang -fbuild-session-timestamp=1280703457 -### %s 2>&1 | FileCheck -check-prefix=TIMESTAMP_ONLY %s 14 // TIMESTAMP_ONLY: -fbuild-session-timestamp=128 16 // RUN: %clang -fbuild-session-file=%t.build-session-file -fbuild-session-timestamp=123 -### %s 2>&1 | FileCheck -check-prefix=CONFLICT %s 17 // CONFLICT: error: invalid argument '-fbuild-session-file={{.*}}.build-session-file' not allowed with '-fbuild-session-timestamp [all...] |
/external/dbus/cmake/ |
dbus-env.bat.cmake | 4 :: session bus address
|
/external/jetty/src/resources/org/eclipse/jetty/servlet/jmx/ |
ServletContextHandler-mbean.properties | 4 sessionHandler: MObject: The context's session handler
|
/external/libmicrohttpd/src/microspdy/ |
io_openssl.h | 80 * @param session SPDY_Session whose socket will be used by openssl 84 SPDYF_openssl_new_session(struct SPDY_Session *session); 89 * closing session's socket. 91 * @param session SPDY_Session whose socket is used by openssl 94 SPDYF_openssl_close_session(struct SPDY_Session *session); 101 * @param session for which data is received 109 SPDYF_openssl_recv(struct SPDY_Session *session, 118 * @param session whose context is used 127 SPDYF_openssl_send(struct SPDY_Session *session, 136 * @param session which is checke [all...] |
io_raw.h | 72 * @param session SPDY_Session whose socket will be used 76 SPDYF_raw_new_session(struct SPDY_Session *session); 81 * closing session's socket. 83 * @param session SPDY_Session whose socket is used 86 SPDYF_raw_close_session(struct SPDY_Session *session); 93 * @param session for which data is received 101 SPDYF_raw_recv(struct SPDY_Session *session, 110 * @param session whose context is used 119 SPDYF_raw_send(struct SPDY_Session *session, 129 * @param session which is checke [all...] |
/external/nanohttpd/fileupload/src/main/java/fi/iki/elonen/ |
NanoFileUpload.java | 58 private NanoHTTPD.IHTTPSession session; field in class:NanoFileUpload.NanoHttpdContext 60 public NanoHttpdContext(NanoHTTPD.IHTTPSession session) { 61 this.session = session; 68 String cl1 = session.getHeaders().get("content-length"); 84 return this.session.getHeaders().get("content-type"); 94 return session.getInputStream(); 98 public static final boolean isMultipartContent(NanoHTTPD.IHTTPSession session) { 99 return session.getMethod() == POST && FileUploadBase.isMultipartContent(new NanoHttpdContext(session)); [all...] |
/external/ppp/pppd/ |
ppp.pam | 6 session required pam_unix.so
|
/frameworks/base/media/java/android/service/media/ |
IMediaBrowserServiceCallbacks.aidl | 7 import android.media.session.MediaSession; 19 * @param session The {@link MediaSession.Token media session token} that can be used to control 23 void onConnect(String root, in MediaSession.Token session, in Bundle extras);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
ObservableFrameServer.java | 37 * availability (whether or not an exclusive session can likely be acquired 43 * The total number of clients which either have an exclusive Session or are 51 private class SessionImpl implements Session { 53 private final Session mDelegate; 55 private SessionImpl(Session delegate) { 85 public Session createExclusiveSession() throws InterruptedException { 90 // the session, which is responsible for decrementing it later. 91 Session session = mDelegate.createExclusiveSession(); local 92 return new SessionImpl(session); 105 Session session = mDelegate.tryCreateExclusiveSession(); local [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
CwdCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
30 * <li>Otherwise, reply with 250 and change the current directory stored in the session</li>
39 protected void handle(Command command, Session session) {
40 verifyLoggedIn(session);
41 String path = getRealPath(session, command.getRequiredParameter(0));
48 verifyExecutePermission(session, path);
50 session.setAttribute(SessionKeys.CURRENT_DIRECTORY, path); [all...] |
DeleCommandHandler.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));
46 verifyWritePermission(session, getFileSystem().getParent(path));
49 sendReply(session, ReplyCodes.DELE_OK, "dele", list(path));
|
AborCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ABOR_OK, "abor");
|
AlloCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ALLO_OK, "allo");
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
NlstCommandHandler.java | 21 import org.mockftpserver.core.session.Session;
45 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
47 protected void beforeProcessData(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
52 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
54 protected void processData(Command command, Session session, InvocationRecord invocationRecord) { [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
AppeCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
46 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
48 protected void beforeProcessData(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
54 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
56 protected void processData(Command command, Session session, InvocationRecord invocationRecord) { [all...] |
NlstCommandHandler.java | 21 import org.mockftpserver.core.session.Session;
46 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
48 protected void beforeProcessData(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
53 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
55 protected void processData(Command command, Session session, InvocationRecord invocationRecord) { [all...] |
StorCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
46 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
48 protected void beforeProcessData(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
54 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
56 protected void processData(Command command, Session session, InvocationRecord invocationRecord) { [all...] |
/system/tpm/trunks/ |
hmac_session.h | 37 // Returns an authorization delegate for this session. Ownership of the 38 // delegate pointer is retained by the session. 41 // Starts a salted session which is bound to |bind_entity| with 43 // true. The session remains active until this object is destroyed or another 44 // session is started with a call to Start*Session. 50 // Starts a salted, unbound session. Encryption is enabled if 51 // |enable_encryption| is true. The session remains active until this object 52 // is destroyed or another session is started with a call to Start*Session [all...] |
/external/curl/docs/libcurl/opts/ |
CURLOPT_COOKIESESSION.3 | 25 CURLOPT_COOKIESESSION \- start a new cookie session 31 Pass a long set to 1 to mark this as a new cookie "session". It will force 32 libcurl to ignore all cookies it is about to load that are "session cookies" 33 from the previous session. By default, libcurl always stores and loads all 34 cookies, independent if they are session cookies or not. Session cookies are 36 this "session" only. 38 A "session" is usually defined in browser land for as long as you have your
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_l2tp.h | 14 __u32 sid; /* session id */ 22 XT_L2TP_SID = (1 << 1), /* match L2TP session id */
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
EpsvCommandHandlerTest.java | 40 session.switchToPassiveMode();
41 control(session).setReturnValue(PORT);
42 session.getServerHost();
43 control(session).setReturnValue(SERVER);
44 session.sendReply(ReplyCodes.EPSV_OK, formattedReplyTextFor(ReplyCodes.EPSV_OK, Integer.toString(PORT)));
45 replay(session);
49 commandHandler.handleCommand(COMMAND, session);
50 verify(session);
|
PasvCommandHandlerTest.java | 46 session.switchToPassiveMode();
47 control(session).setReturnValue(PORT);
48 session.getServerHost();
49 control(session).setReturnValue(SERVER);
50 session.sendReply(ReplyCodes.PASV_OK, formattedReplyTextFor(227, "(192,168,0,2,23,77)"));
51 replay(session);
55 commandHandler.handleCommand(COMMAND, session);
56 verify(session);
|