Home
last modified time | relevance | path

Searched defs:server (Results 1 – 25 of 31) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketTest.java121 ServerThread server = new ServerThread(); in connectTestImpl() local
187 ServerSocket server = new ServerSocket(); in test_bindLjava_net_SocketAddress() local
259 ServerSocket server = new ServerSocket(0); in test_close() local
341 ServerSocket server = new ServerSocket(0); in test_connectLjava_net_SocketAddress() local
442 ServerSocket server = new ServerSocket(0); in test_connectLjava_net_SocketAddressI() local
512 ServerSocket server = new ServerSocket(0); in test_ConstructorLjava_lang_StringI() local
533 ServerSocket server = new ServerSocket(0); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI() local
569 ServerSocket server = new ServerSocket(0); in test_ConstructorLjava_lang_StringIZ() local
587 ServerSocket server = new ServerSocket(0); in test_ConstructorLjava_net_InetAddressI() local
604 ServerSocket server = new ServerSocket(0); in test_ConstructorLjava_net_InetAddressILjava_net_InetAddressI() local
[all …]
DDatagramSocketTest.java182 final DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK); in testConnect_echoServer() local
226 final DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK); in testConnect_connectDisconnectConnectThenSendRecv() local
255 final DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK); in testConnect_connectDisconnectThenSendRecv() local
280 final DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK); in testConnect_connectTwice() local
702 DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK); in test_getRemoteSocketAddress() local
913 DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK); in test_getChannel() local
/libcore/luni/src/test/java/libcore/net/
DNetworkSecurityPolicyTest.java76 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithHttpURLConnection()
89 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithHttpURLConnection()
104 try (CapturingServerSocket server = new CapturingServerSocket(serverReplyOnConnect)) { in testCleartextTrafficPolicyWithFtpURLConnection()
117 try (CapturingServerSocket server = new CapturingServerSocket(serverReplyOnConnect)) { in testCleartextTrafficPolicyWithFtpURLConnection()
131 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithJarHttpURLConnection()
144 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithJarHttpURLConnection()
159 try (CapturingServerSocket server = new CapturingServerSocket(serverReplyOnConnect)) { in testCleartextTrafficPolicyWithJarFtpURLConnection()
172 try (CapturingServerSocket server = new CapturingServerSocket(serverReplyOnConnect)) { in testCleartextTrafficPolicyWithJarFtpURLConnection()
186 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithLoggingSocketHandler()
200 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithLoggingSocketHandler()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java172 SSLSocket server = pair[0]; in test_SSLSocket_getSupportedCipherSuites_connect() local
335 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); in test_SSLSocket_startHandshake() local
375 private final SSLSocket server; field in SSLSocketTest.SSLServerSessionIdCallable
376 private SSLServerSessionIdCallable(SSLSocket server) { in SSLServerSessionIdCallable()
429 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); in test_SSLSocket_NoEnabledCipherSuites_Failure() local
459 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); in test_SSLSocket_startHandshake_noKeyStore() local
489 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); in test_SSLSocket_startHandshake_noClientCertificate() local
509 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); in test_SSLSocket_HandshakeCompletedListener() local
631 final SSLSocket server = (SSLSocket) c.serverSocket.accept(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException() local
659 SSLSocket server = (SSLSocket) c.serverSocket.accept(); in test_SSLSocket_getUseClientMode() local
[all …]
DSSLSessionContextTest.java43 SSLSessionContext server) { in assertSSLSessionContextSize()
50 boolean server) { in assertSSLSessionContextSize()
100 SSLSessionContext server = s.c.serverContext.getServerSessionContext(); in test_SSLSessionContext_getSession() local
156 SSLSessionContext server = s.c.serverContext.getServerSessionContext(); in test_SSLSessionContext_setSessionCacheSize_oneConnect() local
168 SSLSessionContext server = c.serverContext.getServerSessionContext(); in test_SSLSessionContext_setSessionCacheSize_dynamic() local
DTrustManagerFactoryTest.java282 boolean server) in test_TrustManagerFactory_extendedKeyUsage()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSocketPair.java34 public final SSLSocket server; field in TestSSLSocketPair
38 SSLSocket server, in TestSSLSocketPair()
77 final SSLSocket server = (SSLSocket) context.serverSocket.accept(); in connect() local
DTestSSLSessions.java38 public final SSLSession server; field in TestSSLSessions
52 SSLSession server, in TestSSLSessions()
DTestSSLEnginePair.java35 public final SSLEngine server; field in TestSSLEnginePair
39 SSLEngine server, in TestSSLEnginePair()
92 SSLEngine server = c.serverContext.createSSLEngine(); in connect() local
135 void beforeBeginHandshake(SSLEngine client, SSLEngine server) {} in beforeBeginHandshake()
DTestSSLContext.java143 public static TestSSLContext create(TestKeyStore client, TestKeyStore server) { in create()
152 TestKeyStore client, TestKeyStore server, in createWithAdditionalKeyManagers()
/libcore/luni/src/test/java/libcore/java/net/
DCookiesTest.java50 MockWebServer server = new MockWebServer(); in testNetscapeResponse() local
78 MockWebServer server = new MockWebServer(); in testRfc2109Response() local
108 MockWebServer server = new MockWebServer(); in testRfc2965Response() local
142 MockWebServer server = new MockWebServer(); in testQuotedAttributeValues() local
247 MockWebServer server = new MockWebServer(); in testSendingCookiesFromStore() local
325 MockWebServer server = new MockWebServer(); in testHeadersSentToCookieHandler() local
374 MockWebServer server = new MockWebServer(); in testCookiesSentIgnoresCase() local
563 private Map<String,List<String>> get(MockWebServer server, String path) throws Exception { in get()
DOldCookieHandlerTest.java43 MockWebServer server = new MockWebServer(); in test_get_put() local
DOldURLClassLoaderTest.java199 Support_TestWebServer server = new Support_TestWebServer(); in test_findResourceLjava_lang_String() local
229 Support_TestWebServer server = new Support_TestWebServer(); in test_findResource_String() local
DSocketTest.java244 MockServer server = new MockServer(); in testReadAfterClose() local
266 MockServer server = new MockServer(); in testWriteAfterClose() local
/libcore/luni/src/test/java/libcore/java/security/cert/
DPKIXParametersTest.java28 TestKeyStore server = TestKeyStore.getServer(); in testKeyStoreConstructor() local
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java188 MockServer server = new MockServer("server"); in testUsingProxy() local
228 MockServer server = new MockServer("server"); in testUsingProxySelector() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DUnixSelectorTest.java64 Server server = new Server(); in testSelectorAcceptAndRead() local
DSocketChannelTest.java1396 ServerSocket server = new ServerSocket(0); in testCFII_EmptyHost() local
2189 ServerSocketChannel server = ServerSocketChannel.open(); in testReadByteBuffer_Direct2() local
2908 ServerSocketChannel server = ServerSocketChannel.open(); in test_write$LByteBuffer2() local
2940 ServerSocketChannel server = ServerSocketChannel.open(); in test_write$LByteBuffer_buffers() local
2982 ServerSocketChannel server = ServerSocketChannel.open(); in test_write$LByteBuffer_writes() local
3024 ServerSocketChannel server = ServerSocketChannel.open(); in test_write$LByteBuffer_invalid() local
/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java40 private MockWebServer server; field in URLConnectionBenchmark
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DX509KeyManagerImpl.java20 private String server = "SERVER"; field in X509KeyManagerImpl
/libcore/luni/src/test/java/libcore/io/
DOsTest.java90 Thread server = new Thread(new Runnable() { in checkUnixDomainSocket() local
230 final Thread server = new Thread(new Runnable() { in checkByteBufferPositions_sendto_recvfrom() local
/libcore/luni/src/test/java/libcore/java/io/
DInterruptedStreamTest.java115 SocketChannel server = serverSocketChannel.accept(); in newSocketChannelPair() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java284 Thread server = new Thread() { in test_socketChannel_read_DirectByteBuffer() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java267 TestServer server; field in SSLSessionTest
DSSLSocketTest.java486 TestServer server = new TestServer(true, keys); in startServer() local

12