/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLSessionContextTest.java | 84 Enumeration<byte[]> serverIds = s.c.serverContext.getServerSessionContext().getIds(); in test_SSLSessionContext_getIds() 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() 120 SSLSessionContext server = s.c.serverContext.getServerSessionContext(); in test_SSLSessionContext_getSession() 142 c.serverContext.getServerSessionContext().getSessionCacheSize()); in test_SSLSessionContext_getSessionCacheSize() 149 s.c.serverContext.getServerSessionContext().getSessionCacheSize()); in test_SSLSessionContext_getSessionCacheSize() 161 expectedServerSessionCacheSize, c.serverContext.getServerSessionContext()); in test_SSLSessionContext_setSessionCacheSize_noConnect() 184 SSLSessionContext server = s.c.serverContext.getServerSessionContext(); in test_SSLSessionContext_setSessionCacheSize_oneConnect() 199 SSLSessionContext server = c.serverContext.getServerSessionContext(); in test_SSLSessionContext_setSessionCacheSize_dynamic() [all …]
|
D | SSLEngineVersionCompatibilityTest.java | 193 SSLContext serverContext = SSLContext.getInstance(serverVersion); in test_SSLEngine_beginHandshake_noKeyStore() local 194 serverContext.init(null, null, null); in test_SSLEngine_beginHandshake_noKeyStore() 198 .serverContext(serverContext).build(); in test_SSLEngine_beginHandshake_noKeyStore()
|
D | SSLSocketTest.java | 391 SSLContext serverContext = c.serverContext; in test_SSLSocket_noncontiguousProtocols_useLower() local 423 SSLContext serverContext = c.serverContext; in test_SSLSocket_noncontiguousProtocols_canNegotiate() local
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLSessionContextTest.java | 89 Enumeration<byte[]> serverIds = s.c.serverContext.getServerSessionContext().getIds(); in test_SSLSessionContext_getIds() 114 c.serverContext.getServerSessionContext().getSession(null); in test_SSLSessionContext_getSession() 119 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession() 120 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession() 125 SSLSessionContext server = s.c.serverContext.getServerSessionContext(); in test_SSLSessionContext_getSession() 147 c.serverContext.getServerSessionContext().getSessionCacheSize()); in test_SSLSessionContext_getSessionCacheSize() 154 s.c.serverContext.getServerSessionContext().getSessionCacheSize()); in test_SSLSessionContext_getSessionCacheSize() 166 expectedServerSessionCacheSize, c.serverContext.getServerSessionContext()); in test_SSLSessionContext_setSessionCacheSize_noConnect() 189 SSLSessionContext server = s.c.serverContext.getServerSessionContext(); in test_SSLSessionContext_setSessionCacheSize_oneConnect() 204 SSLSessionContext server = c.serverContext.getServerSessionContext(); in test_SSLSessionContext_setSessionCacheSize_dynamic() [all …]
|
D | SSLEngineVersionCompatibilityTest.java | 195 SSLContext serverContext = SSLContext.getInstance(serverVersion); in test_SSLEngine_beginHandshake_noKeyStore() local 196 serverContext.init(null, null, null); in test_SSLEngine_beginHandshake_noKeyStore() 200 .serverContext(serverContext).build(); in test_SSLEngine_beginHandshake_noKeyStore()
|
D | SSLSocketTest.java | 395 SSLContext serverContext = c.serverContext; in test_SSLSocket_noncontiguousProtocols_useLower() local 427 SSLContext serverContext = c.serverContext; in test_SSLSocket_noncontiguousProtocols_canNegotiate() local
|
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
D | OpenJdkEngineFactory.java | 56 private final SSLContext serverContext = initServerSslContext(newContext()); 71 return initEngine(serverContext.createSSLEngine(), cipher, false); in newServerEngine() 84 private final SSLContext serverContext = newConscryptServerContext(); 97 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); in newServerEngine() 115 private final SSLContext serverContext = newConscryptServerContext(); 129 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); in newServerEngine() 149 private final SslContext serverContext = newNettyServerContext(OPENSSL, false); 160 return initEngine(serverContext(useAlpn).newEngine(PooledByteBufAllocator.DEFAULT), in newServerEngine() 168 private SslContext serverContext(boolean useAlpn) { in serverContext() method 169 return useAlpn ? serverContextAlpn : serverContext; in serverContext() [all …]
|
D | OpenJdkEndpointFactory.java | 56 SSLContext serverContext = TestUtils.newServerSslContext(provider); in newJdkFactories() local 58 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newJdkFactories() 59 final SSLServerSocketFactory serverSocketFactory = serverContext.getServerSocketFactory(); in newJdkFactories() 66 SSLContext serverContext = TestUtils.newServerSslContext(provider); in newConscryptFactories() local 68 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newConscryptFactories() 69 final SSLServerSocketFactory serverSocketFactory = serverContext.getServerSocketFactory(); in newConscryptFactories()
|
/external/google-fruit/examples/server/ |
D | foo_handler.cpp | 27 const ServerContext& serverContext; member in FooHandlerImpl 30 INJECT(FooHandlerImpl(const Request& request, const ServerContext& serverContext)) in INJECT() argument 31 : request(request), serverContext(serverContext) {} in INJECT() 34 cout << "FooHandler handling request on server started at " << serverContext.startupTime in handleRequest()
|
D | bar_handler.cpp | 27 const ServerContext& serverContext; member in BarHandlerImpl 30 INJECT(BarHandlerImpl(const Request& request, const ServerContext& serverContext)) in INJECT() argument 31 : request(request), serverContext(serverContext) {} in INJECT() 34 cout << "BarHandler handling request on server started at " << serverContext.startupTime in handleRequest()
|
D | server.cpp | 40 ServerContext serverContext; in run() local 41 serverContext.startupTime = getTime(); in run() 44 getRequestDispatcherComponentWithContext, getRequestDispatcherComponent, &serverContext); in run() 92 ServerContext* serverContext) { in getRequestDispatcherComponentWithContext() argument 93 return createComponent().install(getRequestDispatcherComponent).bindInstance(*serverContext); in getRequestDispatcherComponentWithContext()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TestSSLContext.java | 84 public final SSLContext serverContext; field in TestSSLContext 177 SSLContext serverContext, SSLServerSocket serverSocket, InetAddress host, int port) { in TestSSLContext() argument 187 this.serverContext = serverContext; in TestSSLContext() 217 private SSLContext serverContext; field in TestSSLContext.Builder 273 public Builder serverContext(SSLContext serverContext) { in serverContext() argument 274 this.serverContext = serverContext; in serverContext() 304 SSLContext serverContext = this.serverContext; in build() local 329 serverContext = serverContext != null in build() 330 ? serverContext in build() 338 (SSLServerSocket) serverContext.getServerSocketFactory() in build() [all …]
|
D | TestSSLEnginePair.java | 104 SSLEngine server = c.serverContext.createSSLEngine(); in connect()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | TestSSLContext.java | 82 public final SSLContext serverContext; field in TestSSLContext 175 SSLContext serverContext, SSLServerSocket serverSocket, InetAddress host, int port) { in TestSSLContext() argument 185 this.serverContext = serverContext; in TestSSLContext() 212 private SSLContext serverContext; field in TestSSLContext.Builder 268 public Builder serverContext(SSLContext serverContext) { in serverContext() method in TestSSLContext.Builder 269 this.serverContext = serverContext; in serverContext() 299 SSLContext serverContext = this.serverContext; in build() local 324 serverContext = serverContext != null in build() 325 ? serverContext in build() 333 (SSLServerSocket) serverContext.getServerSocketFactory() in build() [all …]
|
D | TestSSLEnginePair.java | 102 SSLEngine server = c.serverContext.createSSLEngine(); in connect()
|
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/ |
D | AndroidEngineFactory.java | 29 private final SSLContext serverContext = newConscryptServerContext(); 42 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); in newServerEngine() 57 private final SSLContext serverContext = TestUtils.newServerSslContext( 71 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); in newServerEngine()
|
D | AndroidEndpointFactory.java | 54 SSLContext serverContext = TestUtils.newServerSslContext(provider); in newConscryptFactories() local 56 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newConscryptFactories() 57 final SSLServerSocketFactory serverSocketFactory = serverContext.getServerSocketFactory(); in newConscryptFactories()
|
/external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/ |
D | AndroidEngineFactory.java | 31 private final SSLContext serverContext = newConscryptServerContext(); 44 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); in newServerEngine() 59 private final SSLContext serverContext = 73 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); in newServerEngine()
|
D | AndroidEndpointFactory.java | 56 SSLContext serverContext = TestUtils.newServerSslContext(provider); in newConscryptFactories() local 58 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newConscryptFactories() 59 final SSLServerSocketFactory serverSocketFactory = serverContext.getServerSocketFactory(); in newConscryptFactories()
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | AltsTsiHandshakerTest.java | 262 AltsAuthContext serverContext = (AltsAuthContext) handshakerServer.extractPeerObject(); in extractServerPeerSuccess() local 263 assertEquals(TEST_APPLICATION_PROTOCOL, serverContext.getApplicationProtocol()); in extractServerPeerSuccess() 264 assertEquals(TEST_RECORD_PROTOCOL, serverContext.getRecordProtocol()); in extractServerPeerSuccess() 265 assertEquals(TEST_CLIENT_SERVICE_ACCOUNT, serverContext.getPeerServiceAccount()); in extractServerPeerSuccess() 266 assertEquals(TEST_SERVER_SERVICE_ACCOUNT, serverContext.getLocalServiceAccount()); in extractServerPeerSuccess() 267 assertEquals(TEST_RPC_PROTOCOL_VERSIONS, serverContext.getPeerRpcVersions()); in extractServerPeerSuccess()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | ProtocolNegotiatorsTest.java | 343 ChannelHandlerContext serverContext = contextCaptor.getValue(); in httpProxy_completes() local 361 serverContext.writeAndFlush(bb("HTTP/1.1 200 OK\r\n\r\n", serverContext.channel())).sync(); in httpProxy_completes() 407 ChannelHandlerContext serverContext = contextCaptor.getValue(); in httpProxy_500() local 422 serverContext.writeAndFlush(bb(response, serverContext.channel())).sync(); in httpProxy_500()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | Conscrypt.java | 229 SSLSessionContext serverContext = context.getServerSessionContext(); in setServerSessionCache() local 230 if (!(serverContext instanceof ServerSessionContext)) { in setServerSessionCache() 232 "Not a conscrypt client context: " + serverContext.getClass().getName()); in setServerSessionCache() 234 ((ServerSessionContext) serverContext).setPersistentCache(cache); in setServerSessionCache()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | Conscrypt.java | 239 SSLSessionContext serverContext = context.getServerSessionContext(); in setServerSessionCache() local 240 if (!(serverContext instanceof ServerSessionContext)) { in setServerSessionCache() 242 "Not a conscrypt client context: " + serverContext.getClass().getName()); in setServerSessionCache() 244 ((ServerSessionContext) serverContext).setPersistentCache(cache); in setServerSessionCache()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 417 SSLContext serverContext = newContext(provider, keyStore); in newEngine() local 418 SSLEngine engine = serverContext.createSSLEngine(); in newEngine()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/ |
D | TestUtils.java | 337 SSLContext serverContext = initServerSslContext(newContext(provider)); in getServerSocketFactory() local 338 return serverContext.getServerSocketFactory(); in getServerSocketFactory()
|