Home
last modified time | relevance | path

Searched refs:getSession (Results 1 – 25 of 80) sorted by relevance

1234

/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLSessionContextTest.java105 c.clientContext.getClientSessionContext().getSession(null); in test_SSLSessionContext_getSession()
110 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
111 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
113 c.serverContext.getServerSessionContext().getSession(null); in test_SSLSessionContext_getSession()
118 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
119 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
126 assertNotNull(client.getSession(clientId)); in test_SSLSessionContext_getSession()
127 assertTrue(Arrays.equals(clientId, client.getSession(clientId).getId())); in test_SSLSessionContext_getSession()
132 assertNotNull(server.getSession(serverId)); in test_SSLSessionContext_getSession()
133 assertTrue(Arrays.equals(serverId, server.getSession(serverId).getId())); in test_SSLSessionContext_getSession()
DSSLEngineVersionCompatibilityTest.java116 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
121 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectly()
126 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
164 SSLSession sourceSession = source.getSession(); in assertSendsCorrectlyWhenSplit()
168 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectlyWhenSplit()
172 SSLSession destSession = dest.getSession(); in assertSendsCorrectlyWhenSplit()
283 assertNotNull(p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
284 TestKeyStore.assertChainLength(p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
286 clientAuthContext.clientTrustManager, p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
445 .allocate(pair.client.getSession().getPacketBufferSize()); in test_SSLEngine_CloseOutbound()
[all …]
DSSLSocketVersionCompatibilityTest.java173 assertNotNull(server.getSession()); in test_SSLSocket_startHandshake()
176 server.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
181 Certificate[] localCertificates = server.getSession().getLocalCertificates(); in test_SSLSocket_startHandshake()
192 assertNotNull(client.getSession()); in test_SSLSocket_startHandshake()
193 assertNull(client.getSession().getLocalCertificates()); in test_SSLSocket_startHandshake()
194 Certificate[] peerCertificates = client.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
213 assertNotNull(server.getSession()); in call()
214 assertNotNull(server.getSession().getId()); in call()
215 return server.getSession().getId(); in call()
230 assertNotNull(client1.getSession()); in test_SSLSocket_confirmSessionReuse()
[all …]
DSSLEngineTest.java305 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
310 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectly()
315 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
353 SSLSession sourceSession = source.getSession(); in assertSendsCorrectlyWhenSplit()
357 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectlyWhenSplit()
361 SSLSession destSession = dest.getSession(); in assertSendsCorrectlyWhenSplit()
536 SSLSession session = e.getSession(); in test_SSLEngine_getSession()
938 && a.getSession() != null && b.getSession() != null && !a.isInboundDone()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSSLSessionContextTest.java101 c.clientContext.getClientSessionContext().getSession(null); in test_SSLSessionContext_getSession()
106 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
107 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
109 c.serverContext.getServerSessionContext().getSession(null); in test_SSLSessionContext_getSession()
114 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
115 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
122 assertNotNull(client.getSession(clientId)); in test_SSLSessionContext_getSession()
123 assertTrue(Arrays.equals(clientId, client.getSession(clientId).getId())); in test_SSLSessionContext_getSession()
128 assertNotNull(server.getSession(serverId)); in test_SSLSessionContext_getSession()
129 assertTrue(Arrays.equals(serverId, server.getSession(serverId).getId())); in test_SSLSessionContext_getSession()
DSSLEngineVersionCompatibilityTest.java114 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
119 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectly()
124 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
162 SSLSession sourceSession = source.getSession(); in assertSendsCorrectlyWhenSplit()
166 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectlyWhenSplit()
170 SSLSession destSession = dest.getSession(); in assertSendsCorrectlyWhenSplit()
281 assertNotNull(p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
282 TestKeyStore.assertChainLength(p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
284 clientAuthContext.clientTrustManager, p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
443 .allocate(pair.client.getSession().getPacketBufferSize()); in test_SSLEngine_CloseOutbound()
[all …]
DSSLSocketVersionCompatibilityTest.java171 assertNotNull(server.getSession()); in test_SSLSocket_startHandshake()
174 server.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
179 Certificate[] localCertificates = server.getSession().getLocalCertificates(); in test_SSLSocket_startHandshake()
190 assertNotNull(client.getSession()); in test_SSLSocket_startHandshake()
191 assertNull(client.getSession().getLocalCertificates()); in test_SSLSocket_startHandshake()
192 Certificate[] peerCertificates = client.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
211 assertNotNull(server.getSession()); in call()
212 assertNotNull(server.getSession().getId()); in call()
213 return server.getSession().getId(); in call()
228 assertNotNull(client1.getSession()); in test_SSLSocket_confirmSessionReuse()
[all …]
DSSLEngineTest.java301 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
306 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectly()
311 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
349 SSLSession sourceSession = source.getSession(); in assertSendsCorrectlyWhenSplit()
353 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectlyWhenSplit()
357 SSLSession destSession = dest.getSession(); in assertSendsCorrectlyWhenSplit()
532 SSLSession session = e.getSession(); in test_SSLEngine_getSession()
934 && a.getSession() != null && b.getSession() != null && !a.isInboundDone()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLSessions.java72 SSLSession invalid = ssl.getSession(); in create()
74 return new TestSSLSessions(invalid, s.server.getSession(), s.client.getSession(), s); in create()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLSessions.java70 SSLSession invalid = ssl.getSession(); in create()
72 return new TestSSLSessions(invalid, s.server.getSession(), s.client.getSession(), s); in create()
/external/llvm/tools/llvm-pdbdump/
DFunctionDumper.cpp40 Symbol.getSession().template getConcreteSymbolById<PDBSymbolTypeUDT>( in dumpClassParentWithScopeOperator()
60 Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( in start()
199 auto ElementType = Symbol.getSession().getSymbolById(ElementTypeId); in dump()
223 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()
236 auto PointeeType = Symbol.getSession().getSymbolById(PointeeId); in dump()
DTypedefDumper.cpp33 if (auto TypeSymbol = Symbol.getSession().getSymbolById(TargetId)) in start()
57 auto PointeeType = Symbol.getSession().getSymbolById(PointeeId); in dump()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DBufferType.java42 return newBuffer(engine.getSession().getApplicationBufferSize()); in newApplicationBuffer()
46 return newBuffer(engine.getSession().getPacketBufferSize()); in newPacketBuffer()
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DBufferType.java44 return newBuffer(engine.getSession().getApplicationBufferSize()); in newApplicationBuffer()
48 return newBuffer(engine.getSession().getPacketBufferSize()); in newPacketBuffer()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DRenegotiationTest.java120 String initialCipher = client.socket.getSession().getCipherSuite(); in test()
129 assertNotEquals(initialCipher, client.socket.getSession().getCipherSuite()); in test()
247 ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize());
249 ByteBuffer.allocateDirect(engine.getSession().getApplicationBufferSize());
251 ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize());
330 String currentCipher = engine.getSession().getCipherSuite();
DConscryptEngineTest.java171 bufferType.newBuffer(Math.max(clientEngine.getSession().getPacketBufferSize(), in closingOutboundAfterHandshakeShouldOnlyCloseOutbound()
172 serverEngine.getSession().getPacketBufferSize())); in closingOutboundAfterHandshakeShouldOnlyCloseOutbound()
396 SSLSession session = clientEngine.getSession(); in savedSessionWorksAfterClose()
439 bufferType.newBuffer(clientEngine.getSession().getApplicationBufferSize()); in doHandshake()
441 bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in doHandshake()
443 bufferType.newBuffer(serverEngine.getSession().getApplicationBufferSize()); in doHandshake()
445 bufferType.newBuffer(serverEngine.getSession().getPacketBufferSize()); in doHandshake()
496 bufferType.newBuffer(engine.getSession().getPacketBufferSize()); in wrap()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DRenegotiationTest.java115 String initialCipher = client.socket.getSession().getCipherSuite(); in test()
124 assertNotEquals(initialCipher, client.socket.getSession().getCipherSuite()); in test()
242 ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize());
244 ByteBuffer.allocateDirect(engine.getSession().getApplicationBufferSize());
246 ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize());
325 String currentCipher = engine.getSession().getCipherSuite();
DConscryptEngineTest.java164 Math.max(clientEngine.getSession().getPacketBufferSize(), in closingOutboundAfterHandshakeShouldOnlyCloseOutbound()
165 serverEngine.getSession().getPacketBufferSize())); in closingOutboundAfterHandshakeShouldOnlyCloseOutbound()
387 SSLSession session = clientEngine.getSession(); in savedSessionWorksAfterClose()
430 bufferType.newBuffer(clientEngine.getSession().getApplicationBufferSize()); in doHandshake()
432 bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in doHandshake()
434 bufferType.newBuffer(serverEngine.getSession().getApplicationBufferSize()); in doHandshake()
436 bufferType.newBuffer(serverEngine.getSession().getPacketBufferSize()); in doHandshake()
487 bufferType.newBuffer(engine.getSession().getPacketBufferSize()); in wrap()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngineSocket.java309 public final SSLSession getSession() {
317 return engine.getSession();
322 return engine.getSession();
623 target = ByteBuffer.allocate(engine.getSession().getPacketBufferSize());
734 engine.getSession().getApplicationBufferSize());
738 … fromEngine = ByteBuffer.allocateDirect(engine.getSession().getApplicationBufferSize());
742 fromSocket = ByteBuffer.allocate(engine.getSession().getPacketBufferSize());
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngineSocket.java301 public final SSLSession getSession() {
309 return engine.getSession();
314 return engine.getSession();
607 target = ByteBuffer.allocate(engine.getSession().getPacketBufferSize());
718 engine.getSession().getApplicationBufferSize());
722 … fromEngine = ByteBuffer.allocateDirect(engine.getSession().getApplicationBufferSize());
726 fromSocket = ByteBuffer.allocate(engine.getSession().getPacketBufferSize());
/external/apache-http/android/src/android/net/http/
DCertificateChainValidator.java113 SSLSession sslSession = sslSocket.getSession(); in doHandshakeAndValidateServerCertificates()
120 sslSocket.getSession().getPeerCertificates(); in doHandshakeAndValidateServerCertificates()
278 SSLSession session = socket.getSession(); in closeSocketThrowException()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DContinuingHttpServletRequest.java64 public HttpSession getSession() { in getSession() method in ContinuingHttpServletRequest
69 public HttpSession getSession(boolean create) { in getSession() method in ContinuingHttpServletRequest
/external/testng/src/test/java/test/guice/
DMyContext.java5 MySession getSession(); in getSession() method
DMyContextImpl.java8 public MySession getSession() { in getSession() method in MyContextImpl
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DPrettyFunctionDumper.cpp40 Symbol.getSession().template getConcreteSymbolById<PDBSymbolTypeUDT>( in dumpClassParentWithScopeOperator()
60 Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( in start()
227 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()

1234