/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
EprtCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
57 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
59 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws UnknownHostException {
64 session.setClientDataHost(client.host);
65 session.setClientDataPort(client.port);
68 sendReply(session);
|
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...] |
PortCommandHandler.java | 22 import org.mockftpserver.core.session.Session;
56 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
58 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) throws UnknownHostException {
61 session.setClientDataHost(client.host);
62 session.setClientDataPort(client.port);
65 sendReply(session);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/session/ |
DefaultSession_RunTest.java | 16 package org.mockftpserver.core.session;
36 * Tests for the DefaultSession class that require the session (thread) to be running/active.
48 private DefaultSession session;
field in class:DefaultSession_RunTest 63 public void handleCommand(Command command, Session cmdSession, InvocationRecord invocationRecord) {
65 assertSame("session", session, cmdSession);
76 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
77 session.close();
89 session = new DefaultSession(stubSocket, commandHandlerMap); [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/ |
SimpleCompositeCommandHandler.java | 23 import org.mockftpserver.core.session.Session;
82 * the CommandHandler instance to which the Nth {@link #handleCommand(Command, Session)} has been or will
96 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
98 public void handleCommand(Command command, Session session) throws Exception {
100 Assert.notNull(session, "session");
105 commandHandler.handleCommand(command, session);
[all...] |
/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);
|
UserCommandHandler.java | 25 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) {
65 sendReply(session, code, replyMessageKey, replyText, null);
68 sendReply(session);
|
/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/tensorflow/tensorflow/contrib/session_bundle/ |
signature.h | 31 #include "tensorflow/core/public/session.h" 66 // Runs a classification using the provided signature and initialized Session. 74 const Tensor& input, Session* session, Tensor* classes, 77 // Runs regression using the provided signature and initialized Session. 84 Session* session, Tensor* output);
|
/external/tensorflow/tensorflow/python/client/ |
client_lib.py | 20 @@Session 50 from tensorflow.python.client.session import InteractiveSession 51 from tensorflow.python.client.session import Session
|
session_test.py | 15 """Tests for tensorflow.python.client.session.Session.""" 34 from tensorflow.python.client import session 71 with session.Session(graph=g): 80 with session.Session(): 85 with session.Session(): 103 with session.Session [all...] |
/external/tensorflow/tensorflow/python/training/ |
server_lib_same_variables_no_clear_test.py | 21 from tensorflow.python.client import session 39 with session.Session(server.target) as sess_1: 46 with session.Session(server.target) as sess_2:
|
/frameworks/base/core/java/android/se/omapi/ |
Reader.java | 81 * before the Session object is returned (e.g. powers the Secure Element by 88 * @return a Session object to be used to create Channels. 90 public @NonNull Session openSession() throws IOException { 96 ISecureElementSession session; local 98 session = mReader.openSession(); 104 if (session == null) { 105 throw new IOException("service session is null."); 107 return new Session(mService, session, this);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
_AbstractTrackingCommandHandlerTest.java | 21 import org.mockftpserver.core.session.Session;
54 private Session session;
field in class:_AbstractTrackingCommandHandlerTest 57 * Test the handleCommand(Command,Session) method
61 commandHandler.handleCommand(COMMAND, session);
67 * Test the handleCommand(Command,Session) method, passing in a null Command
71 commandHandler.handleCommand(null, session);
80 * Test the handleCommand(Command,Session) method, passing in a null Session
[all...] |
/external/tensorflow/tensorflow/python/grappler/ |
layout_optimizer_test.py | 27 from tensorflow.python.client import session 221 with session.Session( 248 all_vars_values = [var.eval(session=sess) for var in all_vars] 259 with session.Session(config=_get_config(False)) as sess: 262 with session.Session(config=_get_config()) as sess: 296 with session.Session(config=_get_config(False)) as sess [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/ |
PxeBcSupport.h | 180 @param[in] Session Pointer to the UDP4 session data.
197 IN EFI_UDP4_SESSION_DATA *Session,
211 @param[in] Session Pointer to the UDP6 session data.
227 IN EFI_UDP6_SESSION_DATA *Session,
240 @param[in] Session Pointer to the current UDPv4 session.
250 IN VOID *Session,
259 @param[in] Session Pointer to the current UDPv4 session. [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowPackageInstallerTest.java | 66 PackageInstaller.Session session = packageInstaller.openSession(sessionId); local 68 assertThat(session).isNotNull(); 73 PackageInstaller.Session session = packageInstaller.openSession(-99); local 79 PackageInstaller.Session session = packageInstaller.openSession(sessionId); local 81 OutputStream filename = session.openWrite("filename", 0, 0); 88 PackageInstaller.Session session = packageInstaller.openSession(sessionId) local 99 PackageInstaller.Session session = packageInstaller.openSession(sessionId); local 113 PackageInstaller.Session session = packageInstaller.openSession(sessionId); local 132 PackageInstaller.Session session = packageInstaller.openSession(sessionId); local [all...] |
/external/tensorflow/tensorflow/cc/training/ |
queue_runner.cc | 83 // Cannot run Stop() here because the session might already be closed or 88 Status QueueRunner::Start(Session* sess) { return Start(sess, 0); } 90 Status QueueRunner::StartAndCollectCostGraph(Session* sess, 96 Status QueueRunner::Start(Session* sess, int wait_for) { 123 Status QueueRunner::StartAndCollectCostGraph(Session* session, int wait_for_ms, 126 return Start(session, wait_for_ms); 129 void QueueRunner::Stop(Session* sess) { 162 void QueueRunner::Run(Session* sess, const string& enqueue_op) { 226 Status QueueRunner::RealRun(Session* sess, const string& op [all...] |
/frameworks/base/media/java/android/media/tv/ |
TvRecordingClient.java | 47 private TvInputManager.Session mSession; 71 * recording session for the corresponding TV input and establish a connection between the 72 * application and the session. If recording has already started in the current recording 73 * session, this method throws an exception. 78 * <p>The recording session will respond by calling 92 * recording session for the corresponding TV input and establish a connection between the 93 * application and the session. If recording has already started in the current recording 94 * session, this method throws an exception. This can be used to provide domain-specific 100 * <p>The recording session will respond by calling 136 * Releases the resources in the current recording session immediately. This may be called a [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
head_test.py | 32 from tensorflow.python.client import session 61 # This must be called from within a tf.Session. 84 # This must be called from within a tf.Session. 119 with ops.Graph().as_default(), session.Session(): 145 with ops.Graph().as_default(), session.Session(): 163 with ops.Graph().as_default(), session.Session(): 178 with ops.Graph().as_default(), session.Session() [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
IScsiImpl.h | 74 // session-wide parameters
98 ISCSI_SESSION *Session;
149 Session, \
166 ISCSI_SESSION Session;
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
RetrCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
49 protected void handle(Command command, Session session) {
50 verifyLoggedIn(session);
53 String path = getRealPath(session, command.getRequiredParameter(0));
60 verifyReadPermission(session, path);
63 verifyExecutePermission(session, getFileSystem().getParent(path));
65 sendReply(session, ReplyCodes.TRANSFER_DATA_INITIAL_OK); [all...] |
/external/tensorflow/tensorflow/contrib/py2tf/utils/ |
multiple_dispatch_test.py | 21 from tensorflow.python.client.session import Session 38 with Session() as sess: 58 with Session() as sess:
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
Session.cpp | 21 #include "Session.h" 42 Status Session::getKeyRequest( 50 Status Session::provideKeyResponse(const std::vector<uint8_t>& response) { 70 Status Session::decrypt(
|
/frameworks/base/telecomm/java/android/telecom/ |
ConnectionService.java | 31 import android.telecom.Logging.Session; 116 // Session Definitions 206 Session.Info sessionInfo) { 219 Session.Info sessionInfo) { 238 Session.Info sessionInfo) { 255 public void createConnectionComplete(String id, Session.Info sessionInfo) { 273 Session.Info sessionInfo) { 290 Session.Info sessionInfo) { 305 public void handoverComplete(String callId, Session.Info sessionInfo) { 318 public void abort(String callId, Session.Info sessionInfo) [all...] |