/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | SocketTest.java | 121 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 …]
|
D | DatagramSocketTest.java | 182 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/ |
D | NetworkSecurityPolicyTest.java | 76 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/ |
D | SSLSocketTest.java | 172 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 …]
|
D | SSLSessionContextTest.java | 43 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
|
D | TrustManagerFactoryTest.java | 282 boolean server) in test_TrustManagerFactory_extendedKeyUsage()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 34 public final SSLSocket server; field in TestSSLSocketPair 38 SSLSocket server, in TestSSLSocketPair() 77 final SSLSocket server = (SSLSocket) context.serverSocket.accept(); in connect() local
|
D | TestSSLSessions.java | 38 public final SSLSession server; field in TestSSLSessions 52 SSLSession server, in TestSSLSessions()
|
D | TestSSLEnginePair.java | 35 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()
|
D | TestSSLContext.java | 143 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/ |
D | CookiesTest.java | 50 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()
|
D | OldCookieHandlerTest.java | 43 MockWebServer server = new MockWebServer(); in test_get_put() local
|
D | OldURLClassLoaderTest.java | 199 Support_TestWebServer server = new Support_TestWebServer(); in test_findResourceLjava_lang_String() local 229 Support_TestWebServer server = new Support_TestWebServer(); in test_findResource_String() local
|
D | SocketTest.java | 244 MockServer server = new MockServer(); in testReadAfterClose() local 266 MockServer server = new MockServer(); in testWriteAfterClose() local
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | PKIXParametersTest.java | 28 TestKeyStore server = TestKeyStore.getServer(); in testKeyStoreConstructor() local
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
D | HttpURLConnectionTest.java | 188 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/ |
D | UnixSelectorTest.java | 64 Server server = new Server(); in testSelectorAcceptAndRead() local
|
D | SocketChannelTest.java | 1396 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/ |
D | URLConnectionBenchmark.java | 40 private MockWebServer server; field in URLConnectionBenchmark
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | X509KeyManagerImpl.java | 20 private String server = "SERVER"; field in X509KeyManagerImpl
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 90 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/ |
D | InterruptedStreamTest.java | 115 SocketChannel server = serverSocketChannel.accept(); in newSocketChannelPair() local
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldSocketChannelTest.java | 284 Thread server = new Thread() { in test_socketChannel_read_DirectByteBuffer() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 267 TestServer server; field in SSLSessionTest
|
D | SSLSocketTest.java | 486 TestServer server = new TestServer(true, keys); in startServer() local
|