/dalvik/libcore/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ClientSessionContextTest.java | 43 assertEquals(2, context.sessions.size()); 45 Set<SSLSession> sessions = new HashSet<SSLSession>(); local 48 sessions.add(context.getSession((byte[]) ids.nextElement())); 55 assertEquals(expected, sessions); 73 Set<SSLSession> sessions = new HashSet<SSLSession>(); local 76 sessions.add(context.getSession((byte[]) ids.nextElement())); 83 assertEquals(expected, sessions);
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ServerSessionContext.java | 28 * Caches server sessions. Indexes by session ID. Users typically look up 29 * sessions using the ID provided by an SSL client. 34 * TODO: Expire timed-out sessions more pro-actively. 37 private final Map<ByteArray, SSLSession> sessions field in class:ServerSessionContext 55 synchronized (sessions) { 56 SSLSession[] array = sessions.values().toArray( 57 new SSLSession[sessions.size()]); 63 synchronized (sessions) { 64 int size = sessions.size(); 67 Iterator<SSLSession> i = sessions.values().iterator() [all...] |
ClientSessionContext.java | 29 * Caches client sessions. Indexes by host and port. Users are typically 31 * standard API are forced to iterate over the sessions semi-linearly as 43 /** Sessions indexed by host and port in access order. */ 44 final Map<HostAndPort, SSLSession> sessions field in class:ClientSessionContext 49 // Called while lock is held on sessions. 59 * Sessions indexed by ID. Initialized on demand. Protected from concurrent 60 * access by holding a lock on sessions. 81 synchronized (sessions) { 82 SSLSession[] array = sessions.values().toArray( 83 new SSLSession[sessions.size()]) [all...] |
/packages/apps/IM/src/com/android/im/service/ |
ChatSessionManagerAdapter.java | 94 ArrayList<ChatSessionAdapter> sessions = local 96 for (ChatSessionAdapter ses : sessions) {
|
/external/qemu/ |
shaper.c | 385 Session sessions; member in struct:NetDelayRec_ 400 Session* pnode = &delay->sessions; 431 for (session = delay->sessions; session != NULL; session = session->next) 464 delay->sessions = NULL; 482 /* when changing the latency, accept all sessions */ 483 while (delay->sessions) { 484 Session session = delay->sessions; 485 delay->sessions = session->next; 552 session->next = delay->sessions; 553 delay->sessions = session [all...] |
/external/bluetooth/bluez/network/ |
server.c | 85 GSList *sessions; /* Active connections */ member in struct:network_server 309 ns->sessions = g_slist_append(ns->sessions, session); 634 g_slist_foreach(ns->sessions, (GFunc) session_free, NULL); 635 g_slist_free(ns->sessions); 776 if (ns->sessions) { 777 g_slist_foreach(ns->sessions, (GFunc) session_free, NULL); 778 g_slist_free(ns->sessions);
|
/frameworks/base/tests/CoreTests/android/core/ |
SSLSocketTest.java | 983 Map<String, byte[]> sessions = new HashMap<String, byte[]>(); field in class:SSLSocketTest.FakeClientSessionCache [all...] |
/cts/tools/host/src/com/android/cts/ |
ConsoleUi.java | 190 + cmdStr + ": list all result of sessions"); 573 // there are no existing sessions 1175 Collection<TestSession> sessions = mHost.getSessions(); local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
radius_server.c | 75 struct radius_session *sessions; member in struct:radius_client 166 struct radius_session *sess = client->sessions; 208 session = client->sessions; 212 client->sessions = sess->next; 264 sess->next = client->sessions; 265 client->sessions = sess; 845 struct radius_session *sessions) 849 session = sessions; 868 radius_server_free_sessions(data, prev->sessions); 1282 for (s = cli->sessions; s; s = s->next) [all...] |
/external/bluetooth/bluez/audio/ |
avdtp.c | 311 GSList *sessions; member in struct:avdtp_server 1055 server->sessions = g_slist_remove(server->sessions, session); [all...] |
/external/openssl/include/openssl/ |
ssl.h | 452 * in the external representation of sessions, see ssl_asn1.c). */ 658 struct lhash_st /* LHASH */ *sessions; /* a set of SSL_SESSIONs */ member in struct:ssl_ctx_st [all...] |
/external/openssl/ssl/ |
ssl.h | 452 * in the external representation of sessions, see ssl_asn1.c). */ 658 struct lhash_st /* LHASH */ *sessions; /* a set of SSL_SESSIONs */ member in struct:ssl_ctx_st [all...] |