/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 QuicHeadersStream* QuicSessionPeer::GetHeadersStream(QuicSession* session) { 26 return session->headers_stream_.get(); 30 void QuicSessionPeer::SetHeadersStream(QuicSession* session, 32 session->headers_stream_.reset(headers_stream); 37 QuicSession* session) { 38 return &session->write_blocked_streams_ [all...] |
quic_session_peer.h | 21 static void SetNextStreamId(QuicSession* session, QuicStreamId id); 22 static void SetMaxOpenStreams(QuicSession* session, uint32 max_streams); 23 static QuicHeadersStream* GetHeadersStream(QuicSession* session); 24 static void SetHeadersStream(QuicSession* session, 26 static QuicWriteBlockedList* GetWriteBlockedStreams(QuicSession* session); 27 static QuicDataStream* GetIncomingDataStream(QuicSession* session,
|
quic_client_session_peer.cc | 13 void QuicClientSessionPeer::SetMaxOpenStreams(QuicClientSession* session, 16 session->config()->set_max_streams_per_connection(max_streams,
|
/frameworks/base/media/java/android/media/session/ |
ParcelableVolumeInfo.aidl | 16 package android.media.session;
|
PlaybackState.aidl | 16 package android.media.session;
|
IActiveSessionsListener.aidl | 16 package android.media.session; 18 import android.media.session.MediaSession;
|
MediaSession.aidl | 16 package android.media.session;
|
/frameworks/base/media/java/android/media/ |
IRemoteVolumeController.aidl | 19 import android.media.session.ISessionController; 28 void remoteVolumeChanged(ISessionController session, int flags); 29 // sets the default session to use with the slider, replaces remoteSliderVisibility 31 void updateRemoteController(ISessionController session);
|
/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...] |
/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...] |
/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 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/chrome/test/chromedriver/ |
session_unittest.cc | 12 #include "chrome/test/chromedriver/session.h" 37 TEST(Session, GetTargetWindowNoChrome) { 38 Session session("1"); 40 ASSERT_EQ(kNoSuchWindow, session.GetTargetWindow(&web_view).code()); 43 TEST(Session, GetTargetWindowTargetWindowClosed) { 45 Session session("1", chrome.Pass()); 46 session.window = "2"; 48 ASSERT_EQ(kNoSuchWindow, session.GetTargetWindow(&web_view).code()) [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...] |
/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));
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
IPlayerCallback.aidl | 18 import android.media.session.MediaSession; 21 void onSessionChanged(in MediaSession.Token session);
|
/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);
|
/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/harmony-tests/src/test/java/org/apache/harmony/tests/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...] |
/frameworks/base/telephony/java/com/android/ims/internal/ |
IImsCallSessionListener.aidl | 26 * A listener type for receiving notification on IMS call session events. 33 * Notifies the result of the basic session operation (setup / terminate). 35 void callSessionProgressing(in IImsCallSession session, in ImsStreamMediaProfile profile); 36 void callSessionStarted(in IImsCallSession session, in ImsCallProfile profile); 37 void callSessionStartFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo); 38 void callSessionTerminated(in IImsCallSession session, in ImsReasonInfo reasonInfo); 43 void callSessionHeld(in IImsCallSession session, in ImsCallProfile profile); 44 void callSessionHoldFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo); 45 void callSessionHoldReceived(in IImsCallSession session, in ImsCallProfile profile); 46 void callSessionResumed(in IImsCallSession session, in ImsCallProfile profile) [all...] |
/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...] |