Home
last modified time | relevance | path

Searched full:session (Results 1 – 25 of 8874) sorted by relevance

12345678910>>...355

/external/chromium-crossbench/tests/crossbench/runner/groups/
Dtest_session.py20 session = self.default_session()
21 self.assertEqual(session.index, 0)
22 self.assertIs(session.browser, self.browsers[0])
23 self.assertFalse(session.is_single_run)
24 self.assertFalse(session.is_running)
25 self.assertEqual(session.root_dir, self.root_dir)
26 self.assertFalse(session.extra_flags)
27 self.assertFalse(session.extra_js_flags)
28 self.assertIn("0", str(session.info_stack))
29 self.assertIn(str(self.browsers[0].unique_name), str(session.info_stack))
[all …]
/external/python/google-auth-library-python/system_tests/
Dnoxfile.py80 def install_cloud_sdk(session): argument
86 session.env[CLOUD_SDK_CONFIG_ENV] = str(CLOUD_SDK_ROOT)
88 session.env[CLOUD_SDK_PYTHON_ENV] = CLOUD_SDK_PYTHON
91 session.env["PATH"] = (
97 session.run(GCLOUD, "components", "update", "-q")
103 session.run("wget", CLOUD_SDK_DOWNLOAD_URL, "-O", str(tar_path), silent=True)
106 session.run("tar", "xzf", str(tar_path), "-C", str(CLOUD_SDK_ROOT))
107 session.run(tar_path.remove)
110 session.run(
131 def configure_cloud_sdk(session, application_default_credentials, project=False): argument
[all …]
/external/cronet/tot/net/third_party/quiche/src/quiche/quic/test_tools/
Dquic_session_peer.cc20 QuicSession* session) { in GetNextOutgoingBidirectionalStreamId() argument
21 return session->GetNextOutgoingBidirectionalStreamId(); in GetNextOutgoingBidirectionalStreamId()
26 QuicSession* session) { in GetNextOutgoingUnidirectionalStreamId() argument
27 return session->GetNextOutgoingUnidirectionalStreamId(); in GetNextOutgoingUnidirectionalStreamId()
31 void QuicSessionPeer::SetNextOutgoingBidirectionalStreamId(QuicSession* session, in SetNextOutgoingBidirectionalStreamId() argument
33 if (VersionHasIetfQuicFrames(session->transport_version())) { in SetNextOutgoingBidirectionalStreamId()
34 session->ietf_streamid_manager_.bidirectional_stream_id_manager_ in SetNextOutgoingBidirectionalStreamId()
38 session->stream_id_manager_.next_outgoing_stream_id_ = id; in SetNextOutgoingBidirectionalStreamId()
42 void QuicSessionPeer::SetMaxOpenIncomingStreams(QuicSession* session, in SetMaxOpenIncomingStreams() argument
44 if (VersionHasIetfQuicFrames(session->transport_version())) { in SetMaxOpenIncomingStreams()
[all …]
/external/cronet/stable/net/third_party/quiche/src/quiche/quic/test_tools/
Dquic_session_peer.cc20 QuicSession* session) { in GetNextOutgoingBidirectionalStreamId() argument
21 return session->GetNextOutgoingBidirectionalStreamId(); in GetNextOutgoingBidirectionalStreamId()
26 QuicSession* session) { in GetNextOutgoingUnidirectionalStreamId() argument
27 return session->GetNextOutgoingUnidirectionalStreamId(); in GetNextOutgoingUnidirectionalStreamId()
31 void QuicSessionPeer::SetNextOutgoingBidirectionalStreamId(QuicSession* session, in SetNextOutgoingBidirectionalStreamId() argument
33 if (VersionHasIetfQuicFrames(session->transport_version())) { in SetNextOutgoingBidirectionalStreamId()
34 session->ietf_streamid_manager_.bidirectional_stream_id_manager_ in SetNextOutgoingBidirectionalStreamId()
38 session->stream_id_manager_.next_outgoing_stream_id_ = id; in SetNextOutgoingBidirectionalStreamId()
42 void QuicSessionPeer::SetMaxOpenIncomingStreams(QuicSession* session, in SetMaxOpenIncomingStreams() argument
44 if (VersionHasIetfQuicFrames(session->transport_version())) { in SetMaxOpenIncomingStreams()
[all …]
/external/boringssl/src/ssl/
Dssl_session.cc32 // SSL_magic_pending_session_ptr(). It allows a session callback to indicate
33 // that it needs to asynchronously fetch session information.
39 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session);
40 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session);
47 // Take the first four bytes of |session_id|. Session IDs are generated by the in ssl_hash_session_id()
64 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() argument
65 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
70 new_session->is_server = session->is_server; in SSL_SESSION_dup()
71 new_session->ssl_version = session->ssl_version; in SSL_SESSION_dup()
72 new_session->is_quic = session->is_quic; in SSL_SESSION_dup()
[all …]
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/ssl/
Dssl_session.cc157 // SSL_magic_pending_session_ptr(). It allows a session callback to indicate
158 // that it needs to asynchronously fetch session information.
164 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session);
165 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session);
172 // Take the first four bytes of |session_id|. Session IDs are generated by the in ssl_hash_session_id()
191 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() argument
192 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
197 new_session->is_server = session->is_server; in SSL_SESSION_dup()
198 new_session->ssl_version = session->ssl_version; in SSL_SESSION_dup()
199 new_session->is_quic = session->is_quic; in SSL_SESSION_dup()
[all …]
/external/cronet/tot/third_party/boringssl/src/ssl/
Dssl_session.cc157 // SSL_magic_pending_session_ptr(). It allows a session callback to indicate
158 // that it needs to asynchronously fetch session information.
164 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session);
165 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session);
172 // Take the first four bytes of |session_id|. Session IDs are generated by the in ssl_hash_session_id()
189 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() argument
190 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
195 new_session->is_server = session->is_server; in SSL_SESSION_dup()
196 new_session->ssl_version = session->ssl_version; in SSL_SESSION_dup()
197 new_session->is_quic = session->is_quic; in SSL_SESSION_dup()
[all …]
/external/cronet/stable/third_party/boringssl/src/ssl/
Dssl_session.cc157 // SSL_magic_pending_session_ptr(). It allows a session callback to indicate
158 // that it needs to asynchronously fetch session information.
164 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session);
165 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session);
172 // Take the first four bytes of |session_id|. Session IDs are generated by the in ssl_hash_session_id()
189 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() argument
190 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
195 new_session->is_server = session->is_server; in SSL_SESSION_dup()
196 new_session->ssl_version = session->ssl_version; in SSL_SESSION_dup()
197 new_session->is_quic = session->is_quic; in SSL_SESSION_dup()
[all …]
/external/virtio-media/device/src/devices/
Dv4l2_device_proxy.rs243 /// `poller`'s FD is what is actually added to the client's session poller.
260 /// TODO this is not properly cleared. We should probably record the session ID and queue in
261 /// order to remove the records upon REQBUFS or session deletion?
294 /// Returns whether this session should be polling for CAPTURE buffers in its current state.
336 /// ID of the session the buffer belongs to.
390 fn delete_session(&mut self, session: &V4l2Session<M>) { in delete_session()
391 // Mark all buffers from this session as being inactive. in delete_session()
393 if buffer.session_id == session.id { in delete_session()
406 session: &mut V4l2Session<M>, in update_mmap_offsets()
413 .filter(|(_, b)| b.session_id == session.id && b.queue == queue) in update_mmap_offsets()
[all …]
/external/tpm2-tss/test/integration/
Dsapi-session-util.c13 #include "session-util.h"
20 static SESSION *sessions = NULL;
22 SESSION *
25 SESSION *s; in get_session()
33 SESSION *session, in start_auth_session() argument
48 if (session->nonceOlder.size == 0) in start_auth_session()
49 session->nonceOlder.size = GetDigestSize(session->authHash); in start_auth_session()
51 memset(session->nonceOlder.buffer, '\0', session->nonceOlder.size); in start_auth_session()
52 session->nonceNewer.size = session->nonceOlder.size; in start_auth_session()
53 session->nonceTpmDecrypt.size = 0; in start_auth_session()
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, list(e.getPath())); in handleCommand()
[all …]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, list(e.getPath())); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DSession.c37 The code in this file is used to manage the session context counter.
41 count for a session repeated.
69 session context (the one found by the TPM), and save it. Since loading
70 the oldest session also eliminates its contextID value from
79 to the contextArray associated with the session, and increment contextCount.
85 The index into the contextArray is the handle for the session with the region
86 selector byte of the session set to zero. If an entry in contextArray contains
87 0, then the corresponding handle may be assigned to a session. If the entry
93 session.
96 session, it will subtract 1 to create the zero-based slot number.
[all …]
/external/python/python-api-core/
Dnoxfile.py56 @nox.session(python=DEFAULT_PYTHON_VERSION)
57 def lint(session): argument
63 session.install("flake8", BLACK_VERSION)
64 session.install(".")
65 session.run(
71 session.run("flake8", "google", "tests")
74 @nox.session(python=DEFAULT_PYTHON_VERSION)
75 def blacken(session): argument
80 session.install(BLACK_VERSION)
81 session.run("black", *BLACK_EXCLUDES, *BLACK_PATHS)
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java25 import org.mockftpserver.core.session.Session;
26 import org.mockftpserver.core.session.SessionKeys;
56 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
72 public void handleCommand(Command command, Session session) { in handleCommand() argument
75 Assert.notNull(session, "session"); in handleCommand()
78 handle(command, session); in handleCommand()
81 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
84 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
87 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
90 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, list(e.getPath())); in handleCommand()
[all …]
/external/cronet/stable/net/device_bound_sessions/
Dsession_unittest.cc5 #include "net/device_bound_sessions/session.h"
49 auto session = Session::CreateIfValid(CreateValidParams(), kTestUrl); in TEST_F() local
50 EXPECT_TRUE(session); in TEST_F()
54 auto session = Session::CreateIfValid(CreateValidParams(), kTestUrl); in TEST_F() local
55 ASSERT_TRUE(session); in TEST_F()
56 EXPECT_LT(base::Time::Now() + base::Days(399), session->expiry_date()); in TEST_F()
62 EXPECT_FALSE(Session::CreateIfValid(params, kTestUrl)); in TEST_F()
66 std::unique_ptr<Session> session = in TEST_F() local
67 Session::CreateIfValid(CreateValidParams(), kTestUrl); in TEST_F()
68 ASSERT_TRUE(session); in TEST_F()
[all …]

12345678910>>...355