/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AlloCommandHandlerTest.java | 47 session.sendReply(ReplyCodes.ALLO_OK, replyTextFor(ReplyCodes.ALLO_OK));
48 session.sendReply(ReplyCodes.ALLO_OK, replyTextFor(ReplyCodes.ALLO_OK));
49 replay(session);
51 commandHandler.handleCommand(command1, session);
52 commandHandler.handleCommand(command2, session);
53 verify(session);
75 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R ")), session);
89 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("xx")), session);
102 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R xx")), session);
|
RetrCommandHandlerTest.java | 99 session.sendReply(ReplyCodes.SEND_DATA_INITIAL_OK, replyTextFor(ReplyCodes.SEND_DATA_INITIAL_OK));
100 session.openDataConnection();
101 session.sendData(FILE_CONTENTS.getBytes(), FILE_CONTENTS.length());
102 control(session).setMatcher(MockControl.ARRAY_MATCHER);
103 session.closeDataConnection();
104 session.sendReply(ReplyCodes.SEND_DATA_FINAL_OK, replyTextFor(ReplyCodes.SEND_DATA_FINAL_OK));
105 replay(session);
108 commandHandler.handleCommand(command, session);
109 verify(session);
|
RestCommandHandlerTest.java | 44 session.sendReply(ReplyCodes.REST_OK, replyTextFor(ReplyCodes.REST_OK));
45 session.sendReply(ReplyCodes.REST_OK, replyTextFor(ReplyCodes.REST_OK));
46 replay(session);
48 commandHandler.handleCommand(command1, session);
49 commandHandler.handleCommand(command2, session);
50 verify(session);
|
UserCommandHandlerTest.java | 44 session.sendReply(ReplyCodes.USER_NEED_PASSWORD_OK, replyTextFor(ReplyCodes.USER_NEED_PASSWORD_OK));
45 session.sendReply(ReplyCodes.USER_LOGGED_IN_OK, replyTextFor(ReplyCodes.USER_LOGGED_IN_OK));
46 replay(session);
48 commandHandler.handleCommand(command1, session);
50 commandHandler.handleCommand(command2, session);
51 verify(session);
|
/frameworks/base/wifi/java/android/net/wifi/nan/ |
WifiNanSession.java | 22 * A representation of a single publish or subscribe NAN session. This object 60 * Terminate the current publish or subscribe session - i.e. stop 61 * transmitting packet on-air (for an active session) or listening for 62 * matches (for a passive session). Note that the session may still receive 70 * Destroy the current publish or subscribe session. Performs a 71 * {@link WifiNanSession#stop()} function but in addition destroys the session - 87 + " was not explicitly destroyed. The session may use resources until " 95 * part of the current discovery session - i.e. executed subsequent to a
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
HandshakeProtocolTest.java | 105 hs_protocol.session = ses; 106 hs_protocol.session.protocol = ProtocolVersion.TLSv1; 111 hs_protocol.session.protocol.version, 112 hs_protocol.session.id, 115 hs_protocol.session.protocol.version, hs_protocol.session.id, 121 assertEquals(48, hs_protocol.session.master_secret.length); 149 hs_protocol.session = ses; 150 hs_protocol.session.protocol = ProtocolVersion.SSLv3; 155 hs_protocol.session.protocol.version [all...] |
/external/curl/docs/libcurl/opts/ |
CURLOPT_RTSP_REQUEST.3 | 33 commands require the Session ID to be initialized. 36 responsible for parsing and obeying the response. \fB(The session ID is not 43 if the \fICURLOPT_TIMECONDITION(3)\fP option is active. \fB(The session ID is 46 When sent by a client, this method changes the description of the session. For 49 session. ANNOUNCE acts like a HTTP PUT or POST just like 52 Setup is used to initialize the transport layer for the session. The 53 application must set the desired Transport options for a session by using the 54 \fICURLOPT_RTSP_TRANSPORT(3)\fP option prior to calling setup. If no session 56 extract and use the session ID in the response to this request. \fB(The 57 session ID is not needed for this method).\f [all...] |
/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/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...] |
/hardware/qcom/audio/hal/ |
voice.c | 44 struct voice_session *session = NULL; local 47 ret = voice_extn_get_session_from_use_case(adev, usecase_id, &session); 49 session = &adev->voice.session[VOICE_SESS_IDX]; 52 return session; 111 struct voice_session *session = NULL; local 115 session = (struct voice_session *)voice_get_session_from_use_case(adev, usecase_id); 124 session->state.current = CALL_INACTIVE; 130 ret = platform_stop_voice_call(adev->platform, session->vsid); 133 if (session->pcm_rx) 161 struct voice_session *session = NULL; local [all...] |
/external/curl/tests/data/ |
test320 | 21 <p>Session ID: <i>003030000100000001000000000000000030330001000000B062410001000000</i></p> 22 <h5>If your browser supports session resuming, then you should see the same session ID, when you press the <b>reload</b> button.</h5> 71 <h5>If your browser supports session resuming, then you should see the same session ID, when you press the <b>reload</b> button.</h5> 89 s/^<p>Session ID:.*//
|
/external/dbus/bus/ |
session.conf.in | 1 <!-- This configuration file controls the per-user-login-session message bus. 2 Add a session-local.conf and edit that rather than changing this 9 <type>session</type> 30 <includedir>session.d</includedir> 34 <include ignore_missing="yes">session-local.conf</include> 38 <!-- For the session bus, override the default relatively-low limits
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIAEnumSymbols.cpp | 19 : Session(PDBSession), Enumerator(DiaEnumerator) {} 32 std::unique_ptr<DIARawSymbol> RawSymbol(new DIARawSymbol(Session, Item)); 33 return std::unique_ptr<PDBSymbol>(PDBSymbol::create(Session, std::move(RawSymbol))); 42 std::unique_ptr<DIARawSymbol> RawSymbol(new DIARawSymbol(Session, Item)); 44 PDBSymbol::create(Session, std::move(RawSymbol))); 53 return new DIAEnumSymbols(Session, EnumeratorClone);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
StatCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
53 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
60 sendReply(session, code, replyMessageKey, replyText, new String[]{status});
62 sendReply(session, status);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
PortCommandHandlerTest.java | 46 session.setClientDataPort(PORT);
47 session.setClientDataHost(HOST);
48 session.sendReply(ReplyCodes.PORT_OK, replyTextFor(ReplyCodes.PORT_OK));
49 replay(session);
51 commandHandler.handleCommand(COMMAND, session);
52 verify(session);
|
RestCommandHandlerTest.java | 44 session.sendReply(ReplyCodes.REST_OK, replyTextFor(ReplyCodes.REST_OK));
45 session.sendReply(ReplyCodes.REST_OK, replyTextFor(ReplyCodes.REST_OK));
46 replay(session);
48 commandHandler.handleCommand(command1, session);
49 commandHandler.handleCommand(command2, session);
50 verify(session);
|
UserCommandHandlerTest.java | 42 session.sendReply(ReplyCodes.USER_NEED_PASSWORD_OK, replyTextFor(ReplyCodes.USER_NEED_PASSWORD_OK));
43 session.sendReply(ReplyCodes.USER_LOGGED_IN_OK, replyTextFor(ReplyCodes.USER_LOGGED_IN_OK));
44 replay(session);
46 commandHandler.handleCommand(command1, session);
48 commandHandler.handleCommand(command2, session);
49 verify(session);
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/ |
StaticReplyCommandHandler.java | 18 import org.mockftpserver.core.session.Session;
64 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
66 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
67 sendReply(session);
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
AlloCommandHandler.java | 24 import org.mockftpserver.core.session.Session;
56 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
58 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
72 sendReply(session);
|
HelpCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
53 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
55 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
57 sendReply(session, helpMessage);
|
SystCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
52 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
54 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
55 sendReply(session, quotes(systemName));
|
/external/replicaisland/src/com/replica/replicaisland/ |
EventReporter.java | 22 public long session; field in class:EventReporter.Event 55 public void addEvent(int eventType, float x, float y, float time, String level, int version, long session) { 62 event.session = session; 93 + "&session=" + event.session);
|
/frameworks/base/core/java/android/hardware/display/ |
WifiDisplaySessionInfo.java | 23 * This class contains information regarding a wifi display session 24 * (such as session id, source ip address, etc.). This is needed for 44 int session = in.readInt(); 49 return new WifiDisplaySessionInfo(client, session, group, pp, ip); 63 boolean client, int session, String group, String pp, String ip) { 65 mSessionId = session;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
PictureTakerImpl.java | 30 import com.android.camera.session.CaptureSession; 54 CaptureSession session) { 57 mSession = session; 80 public void takePicture(OneCamera.PhotoCaptureParameters params, final CaptureSession session) { 94 session); 97 imageExposureCallback, imageSaver, session));
|
/system/tpm/trunks/ |
hmac_session_impl.h | 40 // HmacSessionImpl session(factory); 41 // session.StartBoundSession(bind_entity, bind_authorization, true); 42 // session.SetEntityAuthorizationValue(entity_authorization); 43 // factory.GetTpm()->RSA_EncrpytSync(_,_,_,_, session.GetDelegate()); 45 // TPM Ownership is taken. This is because starting a session uses the 71 // This object is used to manage the TPM session associated with this
|