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

1 2 3

  /libcore/luni/src/main/java/javax/net/ssl/
SSLSessionContext.java 42 public SSLSession getSession(byte[] sessionId);
SSLSessionBindingEvent.java 61 public SSLSession getSession() {
HandshakeCompletedEvent.java 52 public SSLSession getSession() {
SSLSocket.java 188 public abstract SSLSession getSession();
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLSessions.java 69 SSLSession invalid = ssl.getSession();
71 return new TestSSLSessions(invalid, s.server.getSession(), s.client.getSession(), s);
  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
ClientSessionContextTest.java 37 assertSame(a, context.getSession("a".getBytes()));
38 assertSame(b, context.getSession("b".getBytes()));
40 assertSame(a, context.getSession("a", 443));
41 assertSame(b, context.getSession("b", 443));
48 sessions.add(context.getSession((byte[]) ids.nextElement()));
76 sessions.add(context.getSession((byte[]) ids.nextElement()));
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/
HandshakeCompletedEventTest.java 42 return new Object[] { new HandshakeCompletedEvent(soc, soc.getSession())};
52 test.getSession();
SSLSessionBindingEventTest.java 42 return new Object[] { new SSLSessionBindingEvent(soc.getSession(), "someName")};
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
ServerSessionContext.java 49 public SSLSession getSession(byte[] sessionId) {
50 SSLSession session = super.getSession(sessionId);
SSLRecordProtocol.java 125 protected SSLSessionImpl getSession() {
258 ? (ConnectionState) new ConnectionStateTLS(getSession())
259 : (ConnectionState) new ConnectionStateSSLv3(getSession());
397 setSession(handshakeProtocol.getSession());
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSessionContextImplTest.java 49 assertTrue(context.getSession(id) != null);
52 SSLSession ses = context.getSession(ses1.getId());
55 ses = context.getSession(ses3.getId());
SSLEngineImplTest.java 118 server.getSession().invalidate();
124 client.getSession().invalidate();
128 client.getSession().invalidate();
129 server.getSession().invalidate();
373 engine.getSession().getPacketBufferSize()));
396 * getSession() method testing.
401 SSLSession session = engine.getSession();
491 client.getSession().getPacketBufferSize();
493 server.getSession().getApplicationBufferSize();
584 client.getSession().getPacketBufferSize()
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSessionBindingListenerTest.java 65 SSLSession ss = sock.getSession();
79 SSLSession ss = sock.getSession();
SSLSessionBindingEventTest.java 45 if (!event.getSession().equals(ses)) {
78 * javax.net.ssl.SSLSessionBindingEvent#getSession()
83 assertEquals("Incorrect session", ses, event.getSession());
SSLSessionContextTest.java 67 * javax.net.ssl.SSLSessionContex#getSession(byte[] sessionId)
75 sc.getSession(null);
79 assertNull(sc.getSession(new byte[5]));
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSessionContextTest.java 83 c.clientContext.getClientSessionContext().getSession(null);
87 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[0]));
88 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[1]));
90 c.serverContext.getServerSessionContext().getSession(null);
94 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[0]));
95 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[1]));
102 assertNotNull(client.getSession(clientId));
103 assertTrue(Arrays.equals(clientId, client.getSession(clientId).getId()));
108 assertNotNull(server.getSession(serverId));
109 assertTrue(Arrays.equals(serverId, server.getSession(serverId).getId()))
    [all...]
SSLSocketTest.java 264 SSLSession session = ssl.getSession();
278 assertNotNull(server.getSession());
280 server.getSession().getPeerCertificates();
284 Certificate[] localCertificates = server.getSession().getLocalCertificates();
301 assertNotNull(client.getSession());
302 assertNull(client.getSession().getLocalCertificates());
303 Certificate[] peerCertificates = client.getSession().getPeerCertificates();
402 SSLSession session = event.getSession();
430 assertNotNull(c.clientContext.getClientSessionContext().getSession(id));
477 assertNotNull(c.serverContext.getServerSessionContext().getSession(
    [all...]
SSLEngineTest.java 52 && a.getSession() != null
53 && b.getSession() != null
211 SSLSession session = e.getSession();
341 assertNotNull(p.client.getSession().getLocalCertificates());
342 TestKeyStore.assertChainLength(p.client.getSession().getLocalCertificates());
344 p.client.getSession().getLocalCertificates());
  /frameworks/base/core/java/android/net/http/
CertificateChainValidator.java 83 SSLSession sslSession = sslSocket.getSession();
90 sslSocket.getSession().getPeerCertificates();
184 SSLSession session = socket.getSession();
  /packages/apps/Browser/src/com/android/browser/
Preloader.java 59 private PreloaderSession getSession(String id) {
92 PreloaderSession s = getSession(id);
110 PreloaderSession s = getSession(id);
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLSessionBindingEventTest.java 43 assertEquals(ses, event.getSession());
HandshakeCompletedEventTest.java 149 assertEquals(ses, event.getSession());
  /libcore/luni/src/main/java/libcore/net/http/
HttpsURLConnectionImpl.java 71 return delegate.getSSLSocket().getSession().getCipherSuite();
82 return delegate.getSSLSocket().getSession().getLocalCertificates();
93 return delegate.getSSLSocket().getSession().getPeerCertificates();
103 return delegate.getSSLSocket().getSession().getPeerPrincipal();
113 return delegate.getSSLSocket().getSession().getLocalPrincipal();
  /external/apache-harmony/x-net/src/test/java/javax/net/ssl/
MySSLContextSpi.java 135 public SSLSession getSession() { return null; }
  /frameworks/base/tools/layoutlib/bridge/src/android/animation/
AnimationThread.java 105 RenderSession session = mSession.getSession();

Completed in 3093 milliseconds

1 2 3