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

1 2 3 4 5 6 7 8 91011>>

  /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/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
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...]
ClientSessionContext.java 25 * looking to reuse any session for a given host and port.
50 protected void sessionRemoved(SSLSession session) {
51 String host = session.getPeerHost();
52 int port = session.getPeerPort();
63 * Finds a cached session for the given host name and port.
67 * @return cached session or null if none found
73 SSLSession session; local
76 session = sessionsByHostAndPort.get(hostAndPortKey);
78 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...]
model_changing_syncer_command.h 31 // SyncerCommand implementation. Sets work_session to session.
32 virtual void ExecuteImpl(sessions::SyncSession* session);
45 virtual bool ModelNeutralExecuteImpl(sessions::SyncSession* session);
51 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session) = 0;
57 // worry about storing the session or setting it. They are given work_session.
syncer_command.h 24 // SyncSession session = ...;
26 // cmd->Execute(session);
35 void Execute(sessions::SyncSession* session);
38 virtual void ExecuteImpl(sessions::SyncSession* session) = 0;
40 void SendNotifications(sessions::SyncSession* session);
model_changing_syncer_command.cc 14 void ModelChangingSyncerCommand::ExecuteImpl(sessions::SyncSession* session) {
15 work_session_ = session;
20 for (size_t i = 0; i < session->workers().size(); ++i) {
21 ModelSafeWorker* worker = session->workers()[i];
33 sessions::SyncSession* session) {
syncer.cc 74 void Syncer::SyncShare(sessions::SyncSession* session) {
75 ScopedDirLookup dir(session->context()->directory_manager(),
76 session->context()->account_name());
80 const sessions::SyncSourceInfo& source(session->source());
83 SyncShare(session, CLEAR_PRIVATE_DATA, SYNCER_END);
86 SyncShare(session, SYNCER_BEGIN, SYNCER_END);
90 void Syncer::SyncShare(sessions::SyncSession* session,
93 ScopedDirLookup dir(session->context()->directory_manager(),
94 session->context()->account_name());
98 ScopedSessionContextConflictResolver scoped(session->context()
    [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...]
SCPInputStream.java 17 private Session session; field in class:SCPInputStream
24 public SCPInputStream(SCPClient client, Session session) throws IOException
26 super(session.getStdout());
28 this.session = session;
30 OutputStream os = new BufferedOutputStream(session.getStdin(), 512);
39 int c = session.getStdout().read();
45 String line = client.receiveLine(session.getStdout())
    [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);
builtin-evlist.c 22 #include "util/session.h"
28 struct perf_session *session; local
31 session = perf_session__new(input_name, O_RDONLY, 0, false, NULL);
32 if (session == NULL)
35 list_for_each_entry(pos, &session->evlist->entries, node)
38 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...]
  /external/webkit/Source/WebKit/chromium/public/
WebCookie.h 48 , session(false)
53 const WebString& path, double expires, bool httpOnly, bool secure, bool session)
61 , session(session)
72 bool session; member in struct:WebKit::WebCookie

Completed in 694 milliseconds

1 2 3 4 5 6 7 8 91011>>