/external/chromium_org/chrome/android/testshell/ |
chrome_data_reduction_proxy_testshell_android.cc | 8 void ChromeDataReductionProxyAndroid::Init(net::HttpNetworkSession* session) {
|
/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; 26 QuicSession* session, QuicStreamId id) { 27 return session->CreateIncomingReliableStream(id); 32 QuicSession* session) { 33 return &session->write_blocked_streams_;
|
quic_session_peer.h | 20 static void SetNextStreamId(QuicSession* session, QuicStreamId id); 21 static void SetMaxOpenStreams(QuicSession* session, uint32 max_streams); 22 static ReliableQuicStream* CreateIncomingReliableStream(QuicSession* session, 25 QuicSession* session);
|
quic_client_session_peer.cc | 13 void QuicClientSessionPeer::SetMaxOpenStreams(QuicClientSession* session, 16 session->config()->set_max_streams_per_connection(max_streams,
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSessionImplTest.java | 37 SSLSessionImpl session = new SSLSessionImpl(null, null); local 38 assertEquals(session.getCipherSuite(), 41 session = new SSLSessionImpl(CipherSuite.TLS_RSA_WITH_NULL_MD5, 43 session.protocol = ProtocolVersion.TLSv1; 44 assertEquals("Incorrect protocol", "TLSv1", session.getProtocol()); 45 assertEquals("Incorrect cipher suite", session.getCipherSuite(), 47 assertEquals("Incorrect id", 32, session.getId().length); 48 assertTrue("Incorrect isValid", session.isValid()); 49 assertTrue("Incorrect isServer", session.isServer); 50 long time = session.getCreationTime() 89 SSLSessionImpl session = new SSLSessionImpl( local 97 SSLSessionImpl session = new SSLSessionImpl(null); local 105 SSLSessionImpl session = new SSLSessionImpl(null); local [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipSessionAdapter.java | 25 public void onCalling(ISipSession session) { 28 public void onRinging(ISipSession session, SipProfile caller, 32 public void onRingingBack(ISipSession session) { 35 public void onCallEstablished(ISipSession session, 39 public void onCallEnded(ISipSession session) { 42 public void onCallBusy(ISipSession session) { 45 public void onCallTransferring(ISipSession session, 49 public void onCallChangeFailed(ISipSession session, int errorCode, 53 public void onError(ISipSession session, int errorCode, String message) { 56 public void onRegistering(ISipSession session) { [all...] |
ISipSessionListener.aidl | 23 * Listener class to listen to SIP session events. 30 * @param session the session object that carries out the transaction 32 void onCalling(in ISipSession session); 37 * @param session the session object that carries out the transaction 39 * @param sessionDescription the caller's session description 41 void onRinging(in ISipSession session, in SipProfile caller, 47 * @param session the session object that carries out the transactio [all...] |
/libcore/crypto/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 52 protected void sessionRemoved(SSLSession session) {} 56 SSLSession session = super.getSession(sessionId); local 57 if (session != null) { 58 return session; 65 session = toSession(data, null, -1); 66 if (session != null && session.isValid()) [all...] |
/external/chromium/chrome/browser/sync/engine/ |
syncer_command.cc | 18 void SyncerCommand::Execute(SyncSession* session) { 19 ExecuteImpl(session); 20 SendNotifications(session); 23 void SyncerCommand::SendNotifications(SyncSession* session) { 24 syncable::ScopedDirLookup dir(session->context()->directory_manager(), 25 session->context()->account_name()); 31 if (session->status_controller()->TestAndClearIsDirty()) { 33 const sessions::SyncSessionSnapshot& snapshot(session->TakeSnapshot()); 35 session->context()->NotifyListeners(event);
|
syncer_end_command.cc | 17 void SyncerEndCommand::ExecuteImpl(sessions::SyncSession* session) { 19 session->status_controller()->set_syncing(false); 21 sessions::SyncSessionSnapshot snapshot(session->TakeSnapshot()); 23 session->context()->NotifyListeners(event);
|
resolve_conflicts_command.cc | 17 sessions::SyncSession* session) { 18 ConflictResolver* resolver = session->context()->resolver(); 23 syncable::ScopedDirLookup dir(session->context()->directory_manager(), 24 session->context()->account_name()); 27 sessions::StatusController* status = session->status_controller();
|
build_commit_command.h | 21 virtual void ExecuteImpl(sessions::SyncSession* session); 24 void AddExtensionsActivityToMessage(sessions::SyncSession* session,
|
apply_updates_command.cc | 19 void ApplyUpdatesCommand::ModelChangingExecuteImpl(SyncSession* session) { 20 syncable::ScopedDirLookup dir(session->context()->directory_manager(), 21 session->context()->account_name()); 31 session->context()->resolver(), 32 session->context()->directory_manager()->GetCryptographer(&trans), 33 handles.begin(), handles.end(), session->routing_info(), 34 session->status_controller()->group_restriction()); 37 session->status_controller()->mutable_conflict_progress(), 38 session->status_controller()->mutable_update_progress()); 42 sessions::StatusController* status(session->status_controller()) [all...] |
/external/okhttp/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 301 SSLSession session = session("" local 339 SSLSession session = session("" local 408 FakeSSLSession session = new FakeSSLSession(certificate); local 419 SSLSession session = session("" local 442 SSLSession session = session("" local 470 SSLSession session = session("" local 500 SSLSession session = session("" local 550 private SSLSession session(String certificate) throws Exception { method in class:HostnameVerifierTest [all...] |
/external/chromium_org/sync/engine/ |
syncer.cc | 64 SyncSession* session) { 65 HandleCycleBegin(session); 68 session->context()->ShouldFetchUpdatesBeforeCommit()) { 70 session, 72 session, 76 return HandleCycleEnd(session, nudge_tracker.updates_source()); 81 SyncerError commit_result = BuildAndPostCommits(request_types, this, session); 82 session->mutable_status_controller()->set_commit_result(commit_result); 84 return HandleCycleEnd(session, nudge_tracker.updates_source()); 90 SyncSession* session) { [all...] |
syncer_command.cc | 12 SyncerError SyncerCommand::Execute(sessions::SyncSession* session) { 13 SyncerError result = ExecuteImpl(session);
|
/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 ASSERT_EQ(0U, session->status_controller().num_server_changes_remaining()); 26 session->mutable_status_controller()->set_last_get_key_result(SYNCER_OK); 27 session->mutable_status_controller()->set_last_download_updates_result( 34 sessions::SyncSession* session) { 35 session->mutable_status_controller()->set_last_get_key_result(SYNCER_OK); 36 session->mutable_status_controller()->set_last_download_updates_result [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/chromium/chrome/browser/sync/sessions/ |
test_util.cc | 11 void SimulateHasMoreToSync(sessions::SyncSession* session, 13 session->status_controller()->update_conflicts_resolved(true); 14 ASSERT_TRUE(session->HasMoreToSync()); 17 void SimulateDownloadUpdatesFailed(sessions::SyncSession* session, 19 // Note that a non-zero value of changes_remaining once a session has 22 session->status_controller()->set_num_server_changes_remaining(1); 25 void SimulateCommitFailed(sessions::SyncSession* session, 27 // Note that a non-zero number of unsynced handles once a session has 33 session->status_controller()->set_unsynced_handles(handles); 36 void SimulateSuccess(sessions::SyncSession* session, [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SCPOutputStream.java | 20 private Session session; field in class:SCPOutputStream 24 public SCPOutputStream(SCPClient client, Session session, final String remoteFile, long length, String mode) throws IOException 26 super(session.getStdin(), 40000); 27 this.session = session; 30 InputStream is = new BufferedInputStream(session.getStdout(), 512); 50 scp.readResponse(session.getStdout()); 57 if (session != null [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
HandshakeCompletedEvent.java | 31 private transient SSLSession session; field in class:HandshakeCompletedEvent 35 * socket and SSL session. 40 * the SSL session. 44 session = s; 48 * Returns the SSL session associated with this event. 50 * @return the SSL session associated with this event. 53 return session; 62 return session.getCipherSuite(); 74 return session.getLocalCertificates(); 87 return session.getPeerCertificates() [all...] |
HostnameVerifier.java | 30 * session. 34 * @param session 35 * the SSL session of the connection. 39 boolean verify(String hostname, SSLSession session);
|
/external/linux-tools-perf/ |
builtin-buildid-list.c | 15 #include "util/session.h" 39 struct perf_session *session; local 41 session = perf_session__new(input_name, O_RDONLY, force, false, 43 if (session == NULL) 47 perf_session__process_events(session, &build_id__mark_dso_hit_ops); 49 perf_session__fprintf_dsos_buildid(session, stdout, with_hits); 51 perf_session__delete(session);
|
/frameworks/av/media/libeffects/preprocessing/ |
PreProcessing.cpp | 50 // Session state 89 preproc_session_t *session; // session the effect is on member in struct:preproc_effect_s 98 // Session context 100 struct preproc_effect_s effects[PREPROC_NUM_EFFECTS]; // effects in this session 102 int id; // audio session ID 103 int io; // handle of input stream this session is on 281 webrtc::GainControl *agc = effect->session->apm->gain_control(); 444 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); 469 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms() 1172 preproc_session_t * session = (preproc_session_t *)effect->session; local 1723 preproc_session_t * session = (preproc_session_t *)effect->session; local 1830 preproc_session_t *session; local [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
HostnameVerifierTest.java | 35 * session) 38 mySSLSession session = new mySSLSession("localhost", 1080, null); local 40 assertFalse(hv.verify("localhost", session)); 50 mySSLSession session = new mySSLSession(new X509Certificate[] {x509}); local 53 assertTrue(verifier.verify("foo.com", session)); 54 assertFalse(verifier.verify("a.foo.com", session)); 55 assertFalse(verifier.verify("bar.com", session)); 59 session = new mySSLSession(new X509Certificate[] {x509}); 60 assertTrue(verifier.verify("\u82b1\u5b50.co.jp", session)); 61 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); 144 mySSLSession session = new mySSLSession(new X509Certificate[] {x509}); local 158 mySSLSession session = new mySSLSession(new X509Certificate[] { x509 }); local 181 mySSLSession session = new mySSLSession(new X509Certificate[] { x509 }); local 209 mySSLSession session = new mySSLSession(new X509Certificate[] { x509 }); local 242 mySSLSession session = new mySSLSession(new X509Certificate[] { x509 }); local 279 mySSLSession session = new mySSLSession(new X509Certificate[] { x509 }); local [all...] |