/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
RestCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.REST_OK, "rest");
|
SiteCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
33 protected void handle(Command command, Session session) {
34 verifyLoggedIn(session);
35 sendReply(session, ReplyCodes.SITE_OK, "site");
|
SmntCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.SMNT_OK, "smnt");
|
StruCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.STRU_OK, "stru");
|
MkdCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
40 protected void handle(Command command, Session session) {
41 verifyLoggedIn(session);
42 String path = getRealPath(session, command.getRequiredParameter(0));
50 verifyWritePermission(session, parent);
53 verifyExecutePermission(session, parent);
57 dirEntry.setPermissions(getUserAccount(session).getDefaultPermissionsForNewDirectory());
59 sendReply(session, ReplyCodes.MKD_OK, "mkd", list(path)); [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
QuitCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
42 sendReply(session);
43 session.close();
|
EpsvCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
28 * CommandHandler for the EPSV (Extended Address Passive Mode) command. Request the Session to switch
50 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
52 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord)
55 int port = session.switchToPassiveMode();
56 InetAddress server = session.getServerHost();
58 sendReply(session, Integer.toString(port)); [all...] |
PasvCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
30 * CommandHandler for the PASV (Passove Mode) command. Request the Session to switch to passive
53 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
55 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord)
58 int port = session.switchToPassiveMode();
59 InetAddress server = session.getServerHost();
65 sendReply(session, hostAndPort); [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
AborCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
43 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
45 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
46 sendReply(session);
|
CdupCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
43 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
45 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
46 sendReply(session);
|
NoopCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
43 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
45 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
46 sendReply(session);
|
ReinCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
44 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
46 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
47 sendReply(session);
|
/external/tpm2/ |
Policy_spt.c | 22 SESSION *session, 36 if(!Memory2BEqual(&nonce->b, &session->nonceTPM.b)) 61 if(cpHashA->t.size != session->u2.policyDigest.t.size) 65 if( session->u1.cpHash.b.size != 0 66 && !Memory2BEqual(&cpHashA->b, &session->u1.cpHash.b)) 75 // Update policy hash Update the policyDigest in policy session by extending policyRef and objectName to 85 SESSION *session // IN/OUT: policy session to be update [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
SessionLibrary.h | 25 #include "Session.h" 34 const android::sp<Session>& createSession(); 36 const android::sp<Session>& findSession( 39 void destroySession(const android::sp<Session>& session); 51 android::DefaultKeyedVector<android::Vector<uint8_t>, android::sp<Session> >
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipSessionListenerProxy.java | 47 public void onCalling(final ISipSession session) { 53 mListener.onCalling(session); 62 public void onRinging(final ISipSession session, final SipProfile caller, 69 mListener.onRinging(session, caller, sessionDescription); 78 public void onRingingBack(final ISipSession session) { 84 mListener.onRingingBack(session); 93 public void onCallEstablished(final ISipSession session, 100 mListener.onCallEstablished(session, sessionDescription); 109 public void onCallEnded(final ISipSession session) { 115 mListener.onCallEnded(session); [all...] |
/hardware/qcom/audio/voice_processing/ |
voice_processing.c | 44 // Session state 63 struct session_s *session; // session the effect is on member in struct:effect_s 66 // Session context 70 struct effect_s effects[NUM_ID]; // effects in this session 72 int id; // audio session ID 73 int io; // handle of input stream this session is on 163 static void session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled); 176 session_set_fx_enabled(effect->session, effect->id, false); 206 session_set_fx_enabled(effect->session, effect->id, false) 397 struct session_s *session; local 483 struct session_s *session; local 675 struct session_s *session; local 708 struct session_s *session; local [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
Session.java | 24 * The session that stores information about a thread's point of entry into the Telecom code that 27 public class Session { 41 private Session mParentSession; 42 private ArrayList<Session> mChildSessions; 46 // session. This can happen if Log.startSession(...) is called multiple times on the same 51 // Optionally provided info about the method/class/component that started the session in order 52 // to make Logging easier. This info will be provided in parentheses along with the session. 55 public Session(String sessionId, String shortMethodName, long startTimeMs, long threadID, 84 public void setParentSession(Session parentSession) { 88 public void addChild(Session childSession) [all...] |
/external/autotest/client/tests/kvm/tests/ |
usb.py | 21 session = vm.wait_for_login(timeout=int(params.get("login_timeout", 360))) 28 output = session.cmd("lsusb -v") 35 output = session.cmd("fdisk -l") 42 devname = session.cmd("ls /dev/disk/by-path/* | grep usb").strip() 43 session.cmd("yes | mkfs %s" % devname, 47 session.cmd("mount %s /mnt" % devname) 51 session.cmd("dd if=/dev/random of=%s bs=1M count=1" % c_file) 54 session.cmd("cp %s /mnt" % c_file) 57 session.cmd("umount %s" % devname) 60 session.cmd("mount %s /mnt" % devname [all...] |
floppy.py | 32 session = vm.wait_for_login(timeout=timeout) 39 status = session.cmd("modprobe floppy") 45 session.cmd(format_cmd, timeout=120) 53 session.cmd("mount /dev/fd0 %s" % dest_dir) 55 session.cmd(params.get("test_floppy_cmd")) 59 session.cmd("%s %s %s" % (params.get("copy_cmd"), source_file, 64 session.cmd("%s %s %s" % (params.get("diff_file_cmd"), source_file, 68 session.cmd(clean_cmd) 70 session.cmd("umount %s" % dest_dir) 71 session.close( [all...] |
/external/libmicrohttpd/src/microspdy/ |
io.h | 44 * Any kind of error ocurred. The session has to be closed. 101 * @param session SPDY_Session whose socket will be used 105 (*SPDYF_IONewSession) (struct SPDY_Session *session); 110 * closing session's socket. 112 * @param session SPDY_Session whose socket is used 115 (*SPDYF_IOCloseSession) (struct SPDY_Session *session); 119 * Reading from session's socket. Reads available data and put it to the 122 * @param session for which data is received 130 (*SPDYF_IORecv) (struct SPDY_Session *session, 136 * Writing to session's socket. Writes the data given into the buffer to th [all...] |
/external/curl/tests/data/ |
test569 | 17 Session: 00.+1-am-aSe55ion_id\$yes-i-am\$;timeout=60 28 Session: \$extraspaces ignore-this-part-------;foo=bar 41 Session: A 66 RTSP Session ID parsing 84 Session: 00.+1-am-aSe55ion_id\$yes-i-am\$
92 Session: \$extraspaces
100 Session: A
104 Got Session ID: [00.+1-am-aSe55ion_id\$yes-i-am\$] 105 Got Session ID: [\$extraspaces] 106 Got Session ID: [A [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
ListCommandHandlerTest.java | 43 session.sendReply(ReplyCodes.TRANSFER_DATA_INITIAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_INITIAL_OK));
44 session.openDataConnection();
46 session.sendData(bytes, bytes.length);
47 control(session).setMatcher(MockControl.ARRAY_MATCHER);
48 session.closeDataConnection();
49 session.sendReply(ReplyCodes.TRANSFER_DATA_FINAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_FINAL_OK));
51 replay(session);
55 commandHandler.handleCommand(command1, session);
56 commandHandler.handleCommand(command2, session);
57 verify(session);
[all...] |
NlstCommandHandlerTest.java | 43 session.sendReply(ReplyCodes.TRANSFER_DATA_INITIAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_INITIAL_OK));
44 session.openDataConnection();
46 session.sendData(bytes, bytes.length);
47 control(session).setMatcher(MockControl.ARRAY_MATCHER);
48 session.closeDataConnection();
49 session.sendReply(ReplyCodes.TRANSFER_DATA_FINAL_OK, replyTextFor(ReplyCodes.TRANSFER_DATA_FINAL_OK));
51 replay(session);
55 commandHandler.handleCommand(command1, session);
56 commandHandler.handleCommand(command2, session);
57 verify(session);
[all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
ListCommandHandlerTest.java | 45 session.sendReply(ReplyCodes.SEND_DATA_INITIAL_OK, replyTextFor(ReplyCodes.SEND_DATA_INITIAL_OK));
46 session.openDataConnection();
48 session.sendData(bytes, bytes.length);
49 control(session).setMatcher(MockControl.ARRAY_MATCHER);
50 session.closeDataConnection();
51 session.sendReply(ReplyCodes.SEND_DATA_FINAL_OK, replyTextFor(ReplyCodes.SEND_DATA_FINAL_OK));
53 replay(session);
57 commandHandler.handleCommand(command1, session);
58 commandHandler.handleCommand(command2, session);
59 verify(session);
[all...] |
NlstCommandHandlerTest.java | 43 session.sendReply(ReplyCodes.SEND_DATA_INITIAL_OK, replyTextFor(ReplyCodes.SEND_DATA_INITIAL_OK));
44 session.openDataConnection();
46 session.sendData(bytes, bytes.length);
47 control(session).setMatcher(MockControl.ARRAY_MATCHER);
48 session.closeDataConnection();
49 session.sendReply(ReplyCodes.SEND_DATA_FINAL_OK, replyTextFor(ReplyCodes.SEND_DATA_FINAL_OK));
51 replay(session);
55 commandHandler.handleCommand(command1, session);
56 commandHandler.handleCommand(command2, session);
57 verify(session);
[all...] |