/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
StouCommandHandler.java | 19 import org.mockftpserver.core.session.Session;
44 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#sendFinalReply(org.mockftpserver.core.session.Session)
46 protected void sendFinalReply(Session session) {
48 sendReply(session, ReplyCodes.TRANSFER_DATA_FINAL_OK, FINAL_REPLY_TEXT_KEY, null, ARGS);
|
StruCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
49 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
51 sendReply(session);
|
TypeCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
48 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
50 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
55 sendReply(session);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
CdupCommandHandlerTest.java | 37 * Test the handleCommand(Command,Session) method
41 session.sendReply(ReplyCodes.CDUP_OK, replyTextFor(ReplyCodes.CDUP_OK));
42 session.sendReply(ReplyCodes.CDUP_OK, replyTextFor(ReplyCodes.CDUP_OK));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
CwdCommandHandlerTest.java | 37 * Test the handleCommand(Command,Session) method
41 session.sendReply(ReplyCodes.CWD_OK, replyTextFor(ReplyCodes.CWD_OK));
42 session.sendReply(ReplyCodes.CWD_OK, replyTextFor(ReplyCodes.CWD_OK));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
DeleCommandHandlerTest.java | 37 * Test the handleCommand(Command,Session) method
41 session.sendReply(ReplyCodes.DELE_OK, replyTextFor(ReplyCodes.DELE_OK));
42 session.sendReply(ReplyCodes.DELE_OK, replyTextFor(ReplyCodes.DELE_OK));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
ReinCommandHandlerTest.java | 37 * Test the handleCommand(Command,Session) method
41 session.sendReply(ReplyCodes.REIN_OK, replyTextFor(ReplyCodes.REIN_OK));
42 session.sendReply(ReplyCodes.REIN_OK, replyTextFor(ReplyCodes.REIN_OK));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
SiteCommandHandlerTest.java | 38 * Test the handleCommand(Command,Session) method
42 session.sendReply(ReplyCodes.SITE_OK, replyTextFor(ReplyCodes.SITE_OK));
43 session.sendReply(ReplyCodes.SITE_OK, replyTextFor(ReplyCodes.SITE_OK));
44 replay(session);
46 commandHandler.handleCommand(command1, session);
47 commandHandler.handleCommand(command2, session);
48 verify(session);
|
SmntCommandHandlerTest.java | 35 * Test the handleCommand(Command,Session) method
39 session.sendReply(ReplyCodes.SMNT_OK, replyTextFor(ReplyCodes.SMNT_OK));
40 session.sendReply(ReplyCodes.SMNT_OK, replyTextFor(ReplyCodes.SMNT_OK));
41 replay(session);
43 commandHandler.handleCommand(command1, session);
44 commandHandler.handleCommand(command2, session);
45 verify(session);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
CdupCommandHandlerTest.java | 37 * Test the handleCommand(Command,Session) method
41 session.sendReply(ReplyCodes.CDUP_OK, replyTextFor(ReplyCodes.CDUP_OK));
42 session.sendReply(ReplyCodes.CDUP_OK, replyTextFor(ReplyCodes.CDUP_OK));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
CwdCommandHandlerTest.java | 37 * Test the handleCommand(Command,Session) method
41 session.sendReply(ReplyCodes.CWD_OK, replyTextFor(ReplyCodes.CWD_OK));
42 session.sendReply(ReplyCodes.CWD_OK, replyTextFor(ReplyCodes.CWD_OK));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
DeleCommandHandlerTest.java | 37 * Test the handleCommand(Command,Session) method
41 session.sendReply(ReplyCodes.DELE_OK, replyTextFor(ReplyCodes.DELE_OK));
42 session.sendReply(ReplyCodes.DELE_OK, replyTextFor(ReplyCodes.DELE_OK));
43 replay(session);
45 commandHandler.handleCommand(command1, session);
46 commandHandler.handleCommand(command2, session);
47 verify(session);
|
ReinCommandHandlerTest.java | 36 * Test the handleCommand(Command,Session) method
40 session.sendReply(ReplyCodes.REIN_OK, replyTextFor(ReplyCodes.REIN_OK));
41 session.sendReply(ReplyCodes.REIN_OK, replyTextFor(ReplyCodes.REIN_OK));
42 replay(session);
44 commandHandler.handleCommand(command1, session);
45 commandHandler.handleCommand(command2, session);
46 verify(session);
|
SiteCommandHandlerTest.java | 39 * Test the handleCommand(Command,Session) method
43 session.sendReply(ReplyCodes.SITE_OK, replyTextFor(ReplyCodes.SITE_OK));
44 session.sendReply(ReplyCodes.SITE_OK, replyTextFor(ReplyCodes.SITE_OK));
45 replay(session);
47 commandHandler.handleCommand(command1, session);
48 commandHandler.handleCommand(command2, session);
49 verify(session);
|
SmntCommandHandlerTest.java | 36 * Test the handleCommand(Command,Session) method
40 session.sendReply(ReplyCodes.SMNT_OK, replyTextFor(ReplyCodes.SMNT_OK));
41 session.sendReply(ReplyCodes.SMNT_OK, replyTextFor(ReplyCodes.SMNT_OK));
42 replay(session);
44 commandHandler.handleCommand(command1, session);
45 commandHandler.handleCommand(command2, session);
46 verify(session);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
SessionLibrary.cpp | 39 ALOGD("Instantiating Session Library Singleton."); 46 const sp<Session>& SessionLibrary::createSession() { 56 mSessions.add(sessionId, new Session(sessionId)); 60 const sp<Session>& SessionLibrary::findSession( 66 void SessionLibrary::destroySession(const sp<Session>& session) { 68 mSessions.removeItem(session->sessionId());
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
CameraCaptureSessionCore.java | 25 * Replace this session with another session. 33 * <p>After this call completes, the session will not call any further methods on the camera 46 * <li>Convert device state changes into session state changes. 47 * <li>Keep track of async tasks that the session began (idle, abort). 58 * Unsynchronized to avoid deadlocks between simultaneous session->device, 59 * device->session calls.</p>
|
/external/autotest/client/virt/tests/ |
iofuzz.py | 16 If the guest SSH session hangs, the test detects the hang and the guest 24 def outb(session, port, data): 28 @param session: SSH session stablished to a VM 37 session.cmd(outb_cmd) 42 def inb(session, port): 46 @param session: SSH session stablished to a VM 52 session.cmd(inb_cmd) 57 def fuzz(session, inst_list) [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
LogTest.java | 28 import com.android.server.telecom.Session; 120 if(msg.contains(Session.CREATE_SUBSESSION)) { 121 return clipMsg(Session.CREATE_SUBSESSION, msg); 123 if(msg.contains(Session.CONTINUE_SUBSESSION)) { 124 return clipMsg(Session.CONTINUE_SUBSESSION, msg); 126 if (msg.contains(Session.END_SUBSESSION)) { 127 return clipMsg(Session.END_SUBSESSION, msg); 129 if (msg.contains(Session.END_SESSION)) { 130 return clipMsg(Session.END_SESSION, msg); 165 Session subsession = (Session) args.arg1 [all...] |
/prebuilts/sdk/current/support/v4/ |
android-support-v4.jar | |
/frameworks/av/include/camera/ndk/ |
NdkCameraCaptureSession.h | 54 * The definition of camera capture session state callback. 58 * @param session The camera capture session whose state is changing. 60 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session); 67 * This callback is called when the session is closed and deleted from memory. 69 * <p>A session is closed when {@link ACameraCaptureSession_close} is called, a new session 80 * This callback is called every time the session has no more capture requests to process. 82 * <p>This callback will be invoked any time the session finishes processing 88 * This callback is called when the session starts actively processing capture requests [all...] |
/system/tpm/trunks/ |
policy_session.h | 38 // Returns an authorization delegate for this session. Ownership of the 39 // delegate pointer is retained by the session. 42 // Starts a salted session which is bound to |bind_entity| with 44 // true. The session remains active until this object is destroyed or another 45 // session is started with a call to Start*Session. 51 // Starts a salted, unbound session. Encryption is enabled if 52 // |enable_encryption| is true. The session remains active until this object 53 // is destroyed or another session is started with a call to Start*Session [all...] |
/external/autotest/client/tests/kvm/tests/ |
nmi_watchdog.py | 21 session = vm.wait_for_login(timeout=timeout) 23 kernel_version = session.get_command_output("uname -r").strip() 31 session.cmd(update_kernel_cmd) 33 session = vm.reboot(session, method='shell', timeout=timeout) 36 guest_cpu_num = session.cmd(params.get("cpu_chk_cmd")) 39 output = session.cmd(get_nmi_cmd) 48 output = session.cmd(get_nmi_cmd) 60 session.close()
|
/external/chromium-trace/catapult/third_party/webapp2/docs/guide/ |
extras.rst | 20 configuration and tests that the session is working:: 27 # Get a session store for this request. 38 def session(self): 39 # Returns a session using the default cookie key. 44 test_value = self.session.get('test-value') 46 self.response.write('Session has this value: %r.' % test_value) 48 self.session['test-value'] = 'Hello, session world!' 49 self.response.write('Session is empty.')
|
/external/llvm/lib/DebugInfo/PDB/ |
PDBSymbolTypeFunctionSig.cpp | 30 : Session(PDBSession), 35 : Session(PDBSession), Enumerator(std::move(ArgEnumerator)) {} 45 return Session.getSymbolById(FunctionArgSymbol->getTypeId()); 52 return Session.getSymbolById(FunctionArgSymbol->getTypeId()); 59 return new FunctionArgEnumerator(Session, std::move(Clone)); 63 const IPDBSession &Session; 73 return Session.getSymbolById(getTypeId()); 78 return llvm::make_unique<FunctionArgEnumerator>(Session, *this); 85 return Session.getSymbolById(ClassId);
|