HomeSort by relevance Sort by last modified time
    Searched refs:session (Results 1 - 25 of 647) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/net/quic/test_tools/
quic_session_peer.cc 14 void QuicSessionPeer::SetNextStreamId(QuicSession* session, QuicStreamId id) {
15 session->next_stream_id_ = id;
19 void QuicSessionPeer::SetMaxOpenStreams(QuicSession* session,
21 session->max_open_streams_ = max_streams;
25 QuicCryptoStream* QuicSessionPeer::GetCryptoStream(QuicSession* session) {
26 return session->GetCryptoStream();
30 QuicHeadersStream* QuicSessionPeer::GetHeadersStream(QuicSession* session) {
31 return session->headers_stream_.get();
35 void QuicSessionPeer::SetHeadersStream(QuicSession* session,
37 session->headers_stream_.reset(headers_stream)
    [all...]
quic_session_peer.h 22 static void SetNextStreamId(QuicSession* session, QuicStreamId id);
23 static void SetMaxOpenStreams(QuicSession* session, uint32 max_streams);
24 static QuicCryptoStream* GetCryptoStream(QuicSession* session);
25 static QuicHeadersStream* GetHeadersStream(QuicSession* session);
26 static void SetHeadersStream(QuicSession* session,
28 static QuicWriteBlockedList* GetWriteBlockedStreams(QuicSession* session);
29 static QuicDataStream* GetIncomingDataStream(QuicSession* session,
32 GetLocallyClosedStreamsHighestOffset(QuicSession* session);
quic_client_session_peer.cc 13 void QuicClientSessionPeer::SetMaxOpenStreams(QuicClientSession* session,
16 session->config()->set_max_streams_per_connection(max_streams,
21 void QuicClientSessionPeer::SetChannelIDSent(QuicClientSession* session,
23 session->crypto_stream_->channel_id_sent_ = channel_id_sent;
quic_client_session_peer.h 18 static void SetMaxOpenStreams(QuicClientSession* session,
22 static void SetChannelIDSent(QuicClientSession* session,
mock_crypto_client_stream.cc 16 QuicClientSessionBase* session,
21 : QuicCryptoClientStream(server_id, session, verify_context,
40 session()->connection()->SetDecrypter(QuicDecrypter::Create(kNULL),
42 session()->OnCryptoHandshakeEvent(
56 session()->connection()->SetDecrypter(QuicDecrypter::Create(kNULL),
58 session()->OnCryptoHandshakeEvent(QuicSession::HANDSHAKE_CONFIRMED);
78 session()->OnCryptoHandshakeEvent(event);
82 ASSERT_FALSE(session()->config()->negotiated());
89 session()->config()->set_congestion_feedback(cgst, kQBIC);
90 session()->config()->set_idle_connection_state_lifetime
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSessionImplTest.java 36 SSLSessionImpl session = new SSLSessionImpl(null, null); local
37 assertEquals(session.getCipherSuite(),
40 session = new SSLSessionImpl(CipherSuite.TLS_RSA_WITH_NULL_MD5,
42 session.protocol = ProtocolVersion.TLSv1;
43 assertEquals("Incorrect protocol", "TLSv1", session.getProtocol());
44 assertEquals("Incorrect cipher suite", session.getCipherSuite(),
46 assertEquals("Incorrect id", 32, session.getId().length);
47 assertTrue("Incorrect isValid", session.isValid());
48 assertTrue("Incorrect isServer", session.isServer);
49 long time = session.getCreationTime()
88 SSLSessionImpl session = new SSLSessionImpl( local
96 SSLSessionImpl session = new SSLSessionImpl(null); local
104 SSLSessionImpl session = new SSLSessionImpl(null); local
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
ServerSessionContext.java 22 * Caches server sessions. Indexes by session ID. Users typically look up
35 // TODO remove SSL_CTX session cache limit so we can manage it
41 // Set a trivial session id context. OpenSSL uses this to make
53 protected void sessionRemoved(SSLSession session) {}
57 SSLSession session = super.getSession(sessionId); local
58 if (session != null) {
59 return session;
66 session = toSession(data, null, -1);
67 if (session != null && session.isValid())
    [all...]
ClientSessionContext.java 25 * looking to reuse any session for a given host and port.
51 protected void sessionRemoved(SSLSession session) {
52 String host = session.getPeerHost();
53 int port = session.getPeerPort();
64 * Finds a cached session for the given host name and port.
68 * @return cached session or null if none found
74 SSLSession session; local
77 session = sessionsByHostAndPort.get(hostAndPortKey);
79 if (session != null && session.isValid())
    [all...]
SSLServerSessionCache.java 25 * a session started by a different server based on a session ID provided
30 * session data is dependent upon the caller's implementation and is opaque to
36 * Gets the session data for given session ID.
39 * @return the session data or null if none is cached
45 * Stores session data for the given session.
47 * @param session to cache data for
49 * @throws NullPointerException if session or data is nul
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
HostnameVerifierTest.java 42 FakeSSLSession session = new FakeSSLSession(); local
43 assertFalse(verifier.verify("localhost", session));
48 SSLSession session = session("" local
74 assertTrue(verifier.verify("foo.com", session));
75 assertFalse(verifier.verify("a.foo.com", session));
76 assertFalse(verifier.verify("bar.com", session));
81 SSLSession session = session("" local
107 assertTrue(verifier.verify("\u82b1\u5b50.co.jp", session));
113 SSLSession session = session("" local
154 SSLSession session = session("" local
195 SSLSession session = session("" local
229 SSLSession session = session("" local
266 SSLSession session = session("" local
302 SSLSession session = session("" local
340 SSLSession session = session("" local
409 FakeSSLSession session = new FakeSSLSession(certificate); local
420 SSLSession session = session("" local
443 SSLSession session = session("" local
471 SSLSession session = session("" local
501 SSLSession session = session("" local
551 private SSLSession session(String certificate) throws Exception { method in class:HostnameVerifierTest
    [all...]
  /external/chromium_org/chrome/test/chromedriver/
session_unittest.cc 11 #include "chrome/test/chromedriver/session.h"
36 TEST(Session, GetTargetWindowNoChrome) {
37 Session session("1");
39 ASSERT_EQ(kNoSuchWindow, session.GetTargetWindow(&web_view).code());
42 TEST(Session, GetTargetWindowTargetWindowClosed) {
44 Session session("1", chrome.Pass());
45 session.window = "2";
47 ASSERT_EQ(kNoSuchWindow, session.GetTargetWindow(&web_view).code())
    [all...]
session_commands.h 23 struct Session;
42 // Initializes a session.
45 Session* session,
49 // Quits a session.
52 Session* session,
56 // Gets the capabilities of a particular session.
58 Session* session,
    [all...]
alert_commands.cc 14 #include "chrome/test/chromedriver/session.h"
18 Session* session,
22 Status status = session->GetTargetWindow(&web_view);
35 session->GetCurrentFrameId(), session->page_load_timeout, true);
39 return alert_command.Run(session, web_view, params, value);
43 Session* session,
53 Session* session
    [all...]
session_commands_unittest.cc 20 #include "chrome/test/chromedriver/session.h"
25 Session session("id");
35 Status status = ExecuteUploadFile(&session, params, &value);
65 Session session("id", scoped_ptr<Chrome>(chrome));
70 ASSERT_EQ(kOk, ExecuteQuit(false, &session, params, &value).code());
74 ASSERT_EQ(kOk, ExecuteQuit(true, &session, params, &value).code());
80 Session session("id", scoped_ptr<Chrome>(chrome))
    [all...]
  /external/chromium_org/sync/sessions/
test_util.cc 14 sessions::SyncSession* session) {
15 session->mutable_status_controller()->set_last_get_key_result(
17 session->mutable_status_controller()->set_last_download_updates_result(
24 sessions::SyncSession* session) {
25 session->mutable_status_controller()->set_last_get_key_result(SYNCER_OK);
26 session->mutable_status_controller()->set_last_download_updates_result(
33 sessions::SyncSession* session) {
34 session->mutable_status_controller()->set_last_get_key_result(SYNCER_OK);
35 session->mutable_status_controller()->set_last_download_updates_result(
42 sessions::SyncSession* session) {
    [all...]
test_util.h 5 // Utils to simulate various outcomes of a sync session.
22 sessions::SyncSession* session);
26 sessions::SyncSession* session);
30 sessions::SyncSession* session);
34 sessions::SyncSession* session);
39 sessions::SyncSession* session);
42 sessions::SyncSession* session);
45 sessions::SyncSession* session);
48 sessions::SyncSession* session);
52 sessions::SyncSession* session);
    [all...]
  /external/chromium_org/sync/engine/
syncer.cc 59 SyncSession* session) {
60 HandleCycleBegin(session);
62 session->context()->ShouldFetchUpdatesBeforeCommit()) {
66 session->context()->model_type_registry()->update_handler_map(),
70 session,
73 return HandleCycleEnd(session, nudge_tracker.GetLegacySource());
79 session->context()->model_type_registry()->commit_contributor_map());
81 BuildAndPostCommits(request_types, session, &commit_processor);
82 session->mutable_status_controller()->set_commit_result(commit_result);
84 return HandleCycleEnd(session, nudge_tracker.GetLegacySource())
    [all...]
  /external/ipsec-tools/src/racoon/
session.h 1 /* $NetBSD: session.h,v 1.4 2006/09/09 16:22:10 manu Exp $ */
3 /* Id: session.h,v 1.3 2004/06/11 16:00:17 ludvigm Exp */
37 extern int session __P((void));
  /external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PairingListener.java 22 * Listener interface for handling events within a pairing session.
33 * Called at the start of a new pairing session. The session object can be
36 * @param session the pairing session
38 void onSessionCreated(PairingSession session);
41 * Called when the session calls for the local entity to act as the input
44 * @param session the pairing session
47 void onPerformInputDeviceRole(PairingSession session) throws PoloException
    [all...]
  /external/chromium_org/third_party/WebKit/public/platform/
WebCookie.h 46 , session(false)
51 const WebString& path, double expires, bool httpOnly, bool secure, bool session)
59 , session(session)
70 bool session; member in struct:blink::WebCookie
  /external/chromium_org/sync/test/accounts_client/
test_accounts_client_unittest.cc 30 AccountSession session; local
31 session.username = kUsername;
32 session.account_space = kAccountSpace;
33 session.session_id = kSessionId;
34 session.expiration_time = kExpirationTime;
35 return session;
52 AccountSession session; local
53 EXPECT_FALSE(client.ClaimAccount(&session));
74 AccountSession session; local
75 EXPECT_TRUE(client.ClaimAccount(&session));
85 AccountSession session; local
96 AccountSession session = CreateValidAccountSession(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLParserScheduler.h 72 void checkForYieldBeforeToken(PumpSession& session)
74 if (session.processedTokens > parserChunkSize || session.didSeeScript) {
77 if (!session.startTime)
78 session.startTime = currentTime();
80 session.processedTokens = 0;
81 session.didSeeScript = false;
83 double elapsedTime = currentTime() - session.startTime;
85 session.needsYield = true;
87 ++session.processedTokens
    [all...]
  /external/nanohttpd/samples/src/main/java/fi/iki/elonen/
HelloServer.java 13 @Override public Response serve(IHTTPSession session) {
14 Method method = session.getMethod();
15 String uri = session.getUri();
19 Map<String, String> parms = session.getParms();
  /external/chromium_org/net/socket/
ssl_session_cache_openssl.cc 57 // Helper struct used to store session IDs in a SessionIdIndex container
59 // to the session ID buffer, which must outlive the entry itself. On the
69 explicit SessionId(SSL_SESSION* session)
70 : id(session->session_id),
71 id_len(session->session_id_length),
72 hash(ComputeHash(session->session_id, session->session_id_length)) {}
84 // Session ID are random strings of bytes. This happens to compute the same
124 // find the cached session associated with a given key.
128 // as well as check for the existence of a session ID value in the cache
256 SSL_SESSION* session = SSL_get_session(ssl); local
270 SSL_SESSION* session = ordering_.front(); local
333 SSL_SESSION* session = *it++; local
447 SSL_SESSION* session = *it; local
    [all...]
  /external/chromium_org/chrome/renderer/media/
cast_session_browsertest.cc 25 scoped_refptr<CastSession> session(new CastSession());
28 session = NULL;

Completed in 849 milliseconds

1 2 3 4 5 6 7 8 91011>>