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

1 2

  /frameworks/base/media/java/android/media/session/
IActiveSessionsListener.aidl 21 * Listens for changes to the list of active sessions.
25 void onActiveSessionsChanged(in List<MediaSession.Token> sessions);
  /external/jetty/src/java/org/eclipse/jetty/server/session/
HashSessionIdManager.java 67 * @return Collection of Sessions for the passed session ID
71 ArrayList<HttpSession> sessions = new ArrayList<HttpSession>(); local
79 sessions.add(session);
82 return sessions;
154 Set<WeakReference<HttpSession>> sessions = _sessions.get(id); local
155 if (sessions==null)
157 sessions=new HashSet<WeakReference<HttpSession>>();
158 _sessions.put(id,sessions);
160 sessions.add(ref);
174 Collection<WeakReference<HttpSession>> sessions = _sessions.get(id) local
204 Collection<WeakReference<HttpSession>> sessions; local
    [all...]
HashSessionManager.java 51 * This manager supports saving sessions to disk, either periodically or at shutdown.
52 * Sessions can also have their content idle saved to disk to reduce the memory overheads of large idle sessions.
69 long _idleSavePeriodMs = 0; // don't idle save sessions by default.
139 // This will callback invalidate sessions - where we decide if we will save
148 * @return the period in seconds at which a check is made for sessions to be invalidated.
160 int sessions=super.getSessions(); local
163 if (_sessions.size()!=sessions)
164 __log.warn("sessions: "+_sessions.size()+"!="+sessions);
373 Map<String,HashedSession> sessions=_sessions; local
395 ArrayList<HashedSession> sessions=new ArrayList<HashedSession>(_sessions.values()); local
    [all...]
  /external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/appengine/
sessions_memcache.py 6 Extended sessions stored in memcache.
13 from webapp2_extras import sessions namespace
16 class MemcacheSessionFactory(sessions.CustomBackendSessionFactory):
19 To use memcache sessions, pass this class as the `factory` keyword to
20 :meth:`webapp2_extras.sessions.SessionStore.get_session`::
30 See in :meth:`webapp2_extras.sessions.SessionStore` an example of how to
31 make sessions available in a :class:`webapp2.RequestHandler`.
40 return sessions.SessionDict(self, data=data)
43 return sessions.SessionDict(self, new=True)
sessions_ndb.py 6 Extended sessions stored in datastore using the ndb library.
46 from webapp2_extras import sessions namespace
80 class DatastoreSessionFactory(sessions.CustomBackendSessionFactory):
83 To use datastore sessions, pass this class as the `factory` keyword to
84 :meth:`webapp2_extras.sessions.SessionStore.get_session`::
93 See in :meth:`webapp2_extras.sessions.SessionStore` an example of how to
94 make sessions available in a :class:`webapp2.RequestHandler`.
106 return sessions.SessionDict(self, data=data)
109 return sessions.SessionDict(self, new=True)
  /external/chromium-trace/trace-viewer/third_party/webapp2/tests/
extras_sessions_test.py 3 from webapp2_extras import sessions namespace
8 'webapp2_extras.sessions': {
15 factory = sessions.SecureCookieSessionFactory
21 self.assertRaises(Exception, sessions.SessionStore, req)
27 store = sessions.SessionStore(req, config={
42 store = sessions.SessionStore(req)
61 store = sessions.SessionStore(req)
78 store = sessions.SessionStore(req)
94 store = sessions.SessionStore(req)
109 store = sessions.SessionStore(req
    [all...]
extras_appengine_sessions_memcache_test.py 3 from webapp2_extras import sessions namespace
10 'webapp2_extras.sessions': {
25 store = sessions.SessionStore(req)
44 store = sessions.SessionStore(req)
61 store = sessions.SessionStore(req)
75 store = sessions.SessionStore(req)
90 store = sessions.SessionStore(req)
111 store = sessions.SessionStore(req)
129 store = sessions.SessionStore(req)
extras_appengine_sessions_ndb_test.py 6 from webapp2_extras import sessions namespace
13 'webapp2_extras.sessions': {
32 store = sessions.SessionStore(req)
51 store = sessions.SessionStore(req)
68 store = sessions.SessionStore(req)
85 store = sessions.SessionStore(req)
99 store = sessions.SessionStore(req)
114 store = sessions.SessionStore(req)
135 store = sessions.SessionStore(req)
153 store = sessions.SessionStore(req
    [all...]
extras_auth_test.py 2 from webapp2_extras import sessions namespace
26 'webapp2_extras.sessions': {
35 session_store = sessions.get_store(request=req)
61 # Save sessions.
102 'webapp2_extras.sessions': {
110 session_store = sessions.get_store(request=req)
120 self.assertEqual(session_store.sessions['auth'].session_args['max_age'],
126 self.assertEqual(session_store.sessions['auth'].session_args['max_age'],
  /external/conscrypt/src/main/java/org/conscrypt/
AbstractSessionContext.java 52 /** Identifies OpenSSL sessions. */
55 private final Map<ByteArray, SSLSession> sessions field in class:AbstractSessionContext
79 * Returns the collection of sessions ordered from oldest to newest
82 synchronized (sessions) {
83 SSLSession[] array = sessions.values().toArray(
84 new SSLSession[sessions.size()]);
137 synchronized (sessions) {
138 int size = sessions.size();
141 Iterator<SSLSession> i = sessions.values().iterator();
159 synchronized (sessions) {
    [all...]
  /external/conscrypt/src/test/java/org/conscrypt/
ClientSessionContextTest.java 98 Set<SSLSession> sessions = new HashSet<SSLSession>(); local
102 sessions.add(context.getSession(id));
106 for (SSLSession s : sessions) {
109 assertEquals(expected, sessions);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/
AbstractFtpServer.java 99 private Map sessions = new HashMap(); field in class:AbstractFtpServer
163 sessions.put(session, sessionInfo);
318 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) {
350 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) {
  /frameworks/base/cmds/media/src/com/android/commands/media/
Media.java 64 " media list-sessions\n" +
70 "media list-sessions: print a list of the current sessions.\n" +
72 " Use the tag from list-sessions.\n"
89 } else if (op.equals("list-sessions")) {
114 List<IBinder> sessions = mSessionService local
116 for (IBinder session : sessions) {
293 System.out.println("Sessions:");
295 List<IBinder> sessions = mSessionService local
297 for (IBinder session : sessions) {
    [all...]
  /external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
sessions.py 3 webapp2_extras.sessions
69 'securecookie': 'webapp2_extras.sessions.SecureCookieSessionFactory',
187 so do not use secure cookie sessions if you need to store data that
188 can't be visible to users. For this, use datastore or memcache sessions.
209 """Base class for sessions that use custom backends, e.g., memcache."""
240 The session store can provide multiple sessions using different keys,
245 the session store and save all sessions at the end of a request::
249 from webapp2_extras import sessions
254 self.session_store = sessions.get_store(request=self.request)
260 # Save all sessions
    [all...]
auth.py 17 from webapp2_extras import sessions namespace
35 #: persistent auth sessions. Default is 86400 * 7 * 3 (3 weeks).
221 store = sessions.get_store(request=request)
284 used to validate sessions or service requests.
400 If True, saves permanent sessions.
444 If True, saves permanent sessions.
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
BordeauxSessionStorage.java 45 private static final String SESSION_TABLE = "sessions";
133 void getAllSessions(ConcurrentHashMap<String, BordeauxSessionManager.Session> sessions) {
140 sessions.put(key, session);
144 // remove all sessions that have the key that matches the given sql regular
  /external/openssh/
session.c 151 static Session *sessions = NULL; variable
293 error("no more sessions");
584 * it to the user, otherwise multiple sessions may accumulate
845 * it to the user, otherwise multiple sessions may accumulate
    [all...]
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/
StubFtpServer.java 156 private Map sessions = new HashMap(); field in class:StubFtpServer
256 sessions.put(session, sessionInfo);
275 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) {
277 SessionInfo sessionInfo = (SessionInfo) sessions.get(session);
389 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) {
  /external/boringssl/src/ssl/
ssl_sess.c 224 * is trying to open roughly very close to 2^128 (or 2^256) SSL sessions to our
225 * server. How you might store that many sessions is perhaps a more interesting
245 * of sessions with identical IDs since we currently don't have means to
374 * - Both for new and resumed sessions, s->tlsext_ticket_expected is set to 1
422 ret = lh_SSL_SESSION_retrieve(s->initial_ctx->sessions, &data);
530 if (!lh_SSL_SESSION_insert(ctx->sessions, &s, c)) {
536 * == c should hold (then we did not really modify ctx->sessions), or we're
588 r = lh_SSL_SESSION_retrieve(ctx->sessions, c);
591 r = lh_SSL_SESSION_delete(ctx->sessions, c);
751 tp.cache = ctx->sessions;
    [all...]
ssl_lib.c 420 p = lh_SSL_SESSION_retrieve(ssl->ctx->sessions, &r);
1095 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx) { return ctx->sessions; }
1098 return lh_SSL_SESSION_num_items(ctx->sessions);
    [all...]
  /external/libvncserver/x11vnc/misc/
desktop.cgi 7 # x11vnc desktops. The user desktop sessions run in 'Xvfb' displays
361 # Set this to the list of x11vnc -create sessions types to show a session
559 my %sessions;
568 $sessions{$sess} = 1;
575 if (! exists $sessions{$request{session}}) {
806 if (exists $sessions{$session}) {
    [all...]
  /external/wpa_supplicant_8/hs20/server/www/
est.php 40 $sql = "SELECT rowid,password,operation FROM sessions " .
180 if (!$db->exec("UPDATE sessions SET user='$user', cert='$fingerprint', cert_pem='$cert' WHERE rowid=$rowid")) {
  /external/wpa_supplicant_8/src/radius/
radius_server.c 29 * RADIUS_MAX_SESSION - Maximum number of active sessions
107 struct radius_session *sessions; member in struct:radius_client
143 * num_sess - Number of active sessions
449 struct radius_session *sess = client->sessions;
487 session = client->sessions;
491 client->sessions = sess->next;
543 sess->next = client->sessions;
544 client->sessions = sess;
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
PackageInstallerService.java 117 // TODO: remove outstanding sessions when installer package goes away
119 // TODO: purge expired sessions periodically in addition to at reboot
122 private static final String TAG_SESSIONS = "sessions";
148 /** Automatically destroy sessions older than this */
150 /** Upper bound on number of active sessions for a UID */
152 /** Upper bound on number of historical sessions for a UID */
188 /** Historical sessions kept around for debugging purposes */
192 /** Sessions allocated to legacy users */
227 // Ignore stages and icons claimed by active sessions
251 // Ignore stages claimed by active sessions
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/servlet/
ServletContextHandler.java 71 * new ServletContext("/context",Context.SESSIONS|Context.NO_SECURITY);
79 public final static int SESSIONS=1;
121 public ServletContextHandler(HandlerContainer parent, String contextPath, boolean sessions, boolean security)
123 this(parent,contextPath,(sessions?SESSIONS:0)|(security?SECURITY:0));
298 if (_sessionHandler==null && (_options&SESSIONS)!=0 && !isStarted())
    [all...]

Completed in 1232 milliseconds

1 2