Searched refs:session (Results 1 - 25 of 553) sorted by relevance

1234567891011>>

/external/chromium_org/net/quic/test_tools/
H A Dquic_session_peer.cc14 void QuicSessionPeer::SetNextStreamId(QuicSession* session, QuicStreamId id) { argument
15 session->next_stream_id_ = id;
19 void QuicSessionPeer::SetMaxOpenStreams(QuicSession* session, argument
21 session->max_open_streams_ = max_streams;
25 QuicCryptoStream* QuicSessionPeer::GetCryptoStream(QuicSession* session) { argument
26 return session->GetCryptoStream();
30 QuicHeadersStream* QuicSessionPeer::GetHeadersStream(QuicSession* session) { argument
31 return session->headers_stream_.get();
35 void QuicSessionPeer::SetHeadersStream(QuicSession* session, argument
37 session
41 GetWriteBlockedStreams( QuicSession* session) argument
47 GetIncomingDataStream( QuicSession* session, QuicStreamId stream_id) argument
55 GetLocallyClosedStreamsHighestOffset(QuicSession* session) argument
[all...]
H A Dquic_client_session_peer.cc13 void QuicClientSessionPeer::SetMaxOpenStreams(QuicClientSession* session, argument
16 session->config()->set_max_streams_per_connection(max_streams,
21 void QuicClientSessionPeer::SetChannelIDSent(QuicClientSession* session, argument
23 session->crypto_stream_->channel_id_sent_ = channel_id_sent;
H A Dquic_session_peer.h22 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);
H A Dmock_crypto_client_stream.cc16 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()
14 MockCryptoClientStream( const QuicServerId& server_id, QuicClientSessionBase* session, ProofVerifyContext* verify_context, QuicCryptoClientConfig* crypto_config, HandshakeMode handshake_mode, const ProofVerifyDetails* proof_verify_details) argument
[all...]
H A Dmock_crypto_client_stream_factory.cc25 QuicClientSession* session,
28 server_id, session, NULL, crypto_config, handshake_mode_,
23 CreateQuicCryptoClientStream( const QuicServerId& server_id, QuicClientSession* session, QuicCryptoClientConfig* crypto_config) argument
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DSSLSessionImplTest.java36 SSLSessionImpl session = new SSLSessionImpl(null, null);
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
[all...]
/external/conscrypt/src/main/java/org/conscrypt/
H A DServerSessionContext.java22 * 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) {} argument
57 SSLSession session = super.getSession(sessionId);
58 if (session != null) {
59 return session;
66 session = toSession(data, null, -1);
67 if (session != null && session
78 putSession(SSLSession session) argument
[all...]
H A DClientSessionContext.java25 * looking to reuse any session for a given host and port.
51 protected void sessionRemoved(SSLSession session) { argument
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;
77 session = sessionsByHostAndPort.get(hostAndPortKey);
79 if (session != null && session
102 putSession(SSLSession session) argument
[all...]
H A DSSLServerSessionCache.java25 * 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 o
51 putSessionData(SSLSession session, byte[] sessionData) argument
[all...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
H A DHostnameVerifierTest.java42 FakeSSLSession session = new FakeSSLSession();
43 assertFalse(verifier.verify("localhost", session));
48 SSLSession session = session(""
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(""
107 assertTrue(verifier.verify("\u82b1\u5b50.co.jp", session));
551 private SSLSession session(String certificate) throws Exception { method in class:HostnameVerifierTest
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Dsession_unittest.cc11 #include "chrome/test/chromedriver/session.h"
37 Session session("1");
39 ASSERT_EQ(kNoSuchWindow, session.GetTargetWindow(&web_view).code());
44 Session session("1", chrome.Pass());
45 session.window = "2";
47 ASSERT_EQ(kNoSuchWindow, session.GetTargetWindow(&web_view).code());
52 Session session("1", chrome.Pass());
53 session.window = "1";
55 ASSERT_EQ(kOk, session.GetTargetWindow(&web_view).code());
61 Session session("
[all...]
H A Dsession_commands.h42 // Initializes a session.
45 Session* session,
49 // Quits a session.
52 Session* session,
56 // Gets the capabilities of a particular session.
58 Session* session,
64 Session* session,
70 Session* session,
74 // Retrieve the list of all window handles available to the session.
76 Session* session,
[all...]
H A Dalert_commands.cc14 #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,
67 Session* session,
78 session
16 ExecuteAlertCommand( const AlertCommand& alert_command, Session* session, const base::DictionaryValue& params, scoped_ptr<base::Value>* value) argument
42 ExecuteGetAlert( Session* session, WebView* web_view, const base::DictionaryValue& params, scoped_ptr<base::Value>* value) argument
52 ExecuteGetAlertText( Session* session, WebView* web_view, const base::DictionaryValue& params, scoped_ptr<base::Value>* value) argument
66 ExecuteSetAlertValue( Session* session, WebView* web_view, const base::DictionaryValue& params, scoped_ptr<base::Value>* value) argument
82 ExecuteAcceptAlert( Session* session, WebView* web_view, const base::DictionaryValue& params, scoped_ptr<base::Value>* value) argument
93 ExecuteDismissAlert( Session* session, WebView* web_view, const base::DictionaryValue& params, scoped_ptr<base::Value>* value) argument
[all...]
H A Dsession_commands_unittest.cc20 #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));
81 session.detach = true;
86 ASSERT_EQ(kOk, ExecuteQuit(true, &session, params, &value).code());
89 ASSERT_EQ(kOk, ExecuteQuit(false, &session, param
[all...]
/external/chromium_org/sync/sessions/
H A Dtest_util.cc14 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) {
11 SimulateGetEncryptionKeyFailed( ModelTypeSet requsted_types, sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source, sessions::SyncSession* session) argument
21 SimulateConfigureSuccess( ModelTypeSet requsted_types, sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source, sessions::SyncSession* session) argument
30 SimulateConfigureFailed( ModelTypeSet requsted_types, sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source, sessions::SyncSession* session) argument
39 SimulateConfigureConnectionFailure( ModelTypeSet requsted_types, sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source, sessions::SyncSession* session) argument
48 SimulateNormalSuccess(ModelTypeSet requested_types, const sessions::NudgeTracker& nudge_tracker, sessions::SyncSession* session) argument
56 SimulateDownloadUpdatesFailed( ModelTypeSet requested_types, const sessions::NudgeTracker& nudge_tracker, sessions::SyncSession* session) argument
64 SimulateCommitFailed(ModelTypeSet requested_types, const sessions::NudgeTracker& nudge_tracker, sessions::SyncSession* session) argument
74 SimulateConnectionFailure( ModelTypeSet requested_types, const sessions::NudgeTracker& nudge_tracker, sessions::SyncSession* session) argument
82 SimulatePollSuccess(ModelTypeSet requested_types, sessions::SyncSession* session) argument
88 SimulatePollFailed(ModelTypeSet requested_types, sessions::SyncSession* session) argument
94 SimulateThrottledImpl( sessions::SyncSession* session, const base::TimeDelta& delta) argument
102 SimulateTypesThrottledImpl( sessions::SyncSession* session, ModelTypeSet types, const base::TimeDelta& delta) argument
111 SimulatePollIntervalUpdateImpl( ModelTypeSet requested_types, sessions::SyncSession* session, const base::TimeDelta& new_poll) argument
119 SimulateSessionsCommitDelayUpdateImpl( ModelTypeSet requested_types, const sessions::NudgeTracker& nudge_tracker, sessions::SyncSession* session, const base::TimeDelta& new_delay) argument
130 SimulateGuRetryDelayCommandImpl(sessions::SyncSession* session, base::TimeDelta delay) argument
[all...]
H A Dtest_util.h5 // 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/
H A Dsyncer.cc59 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_tracke
57 NormalSyncShare(ModelTypeSet request_types, const NudgeTracker& nudge_tracker, SyncSession* session) argument
87 ConfigureSyncShare( ModelTypeSet request_types, sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source, SyncSession* session) argument
105 PollSyncShare(ModelTypeSet request_types, SyncSession* session) argument
121 DownloadAndApplyUpdates( ModelTypeSet request_types, SyncSession* session, GetUpdatesProcessor* get_updates_processor, bool create_mobile_bookmarks_folder) argument
162 BuildAndPostCommits(ModelTypeSet requested_types, sessions::SyncSession* session, CommitProcessor* commit_processor) argument
195 HandleCycleBegin(SyncSession* session) argument
200 HandleCycleEnd( SyncSession* session, sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source) argument
[all...]
/external/ipsec-tools/src/racoon/
H A Dsession.h1 /* $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/
H A DPairingListener.java22 * 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); argument
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) throw argument
56 onPerformOutputDeviceRole(PairingSession session, byte[] gamma) argument
65 onSessionEnded(PairingSession session) argument
[all...]
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebCookie.h46 , 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
50 WebCookie(const WebString& name, const WebString& value, const WebString& domain, const WebString& path, double expires, bool httpOnly, bool secure, bool session) argument
/external/chromium_org/sync/test/accounts_client/
H A Dtest_accounts_client_unittest.cc30 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/
H A DHTMLParserScheduler.h72 void checkForYieldBeforeToken(PumpSession& session) argument
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
[all...]
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/
H A DHelloServer.java13 @Override public Response serve(IHTTPSession session) { argument
14 Method method = session.getMethod();
15 String uri = session.getUri();
19 Map<String, String> parms = session.getParms();
/external/chromium_org/net/socket/
H A Dssl_session_cache_openssl.cc57 // 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) argument
70 : id(session->session_id),
71 id_len(session->session_id_length),
72 hash(ComputeHash(session->session_id, session->session_id_length)) {}
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.
190 // cached session I
256 SSL_SESSION* session = SSL_get_session(ssl); local
270 SSL_SESSION* session = ordering_.front(); local
286 SessionKey(SSL_SESSION* session) argument
301 RemoveSessionLocked(SSL_SESSION* session) argument
333 SSL_SESSION* session = *it++; local
359 NewSessionCallbackStatic(SSL* ssl, SSL_SESSION* session) argument
367 RemoveSessionCallbackStatic(SSL_CTX* ctx, SSL_SESSION* session) argument
398 OnSessionAdded(SSL* ssl, SSL_SESSION* session) argument
447 SSL_SESSION* session = *it; local
456 OnSessionRemoved(SSL_SESSION* session) argument
[all...]
/external/chromium_org/chrome/renderer/media/
H A Dcast_session_browsertest.cc25 scoped_refptr<CastSession> session(new CastSession());
28 session = NULL;

Completed in 614 milliseconds

1234567891011>>