/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | SocketTest.java | 123 ServerThread server = new ServerThread(); in connectTestImpl() local 189 ServerSocket server = new ServerSocket(); in test_bindLjava_net_SocketAddress() local 261 ServerSocket server = new ServerSocket(0); in test_close() local 343 ServerSocket server = new ServerSocket(0); in test_connectLjava_net_SocketAddress() local 444 ServerSocket server = new ServerSocket(0); in test_connectLjava_net_SocketAddressI() local 514 try (ServerSocket server = new ServerSocket(0); in test_ConstructorLjava_lang_StringI() 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 try (ServerSocket server = new ServerSocket(0); in test_ConstructorLjava_net_InetAddressILjava_net_InetAddressI() [all …]
|
D | DatagramSocketTest.java | 728 try (DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK)) { in test_getRemoteSocketAddress() 944 try (DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK); in test_getChannel()
|
/libcore/luni/src/test/java/libcore/libcore/net/ |
D | NetworkSecurityPolicyTest.java | 99 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithHttpURLConnection() 112 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithHttpURLConnection() 127 try (CapturingServerSocket server = new CapturingServerSocket(serverReplyOnConnect)) { in testCleartextTrafficPolicyWithFtpURLConnection() 140 try (CapturingServerSocket server = new CapturingServerSocket(serverReplyOnConnect)) { in testCleartextTrafficPolicyWithFtpURLConnection() 154 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithJarHttpURLConnection() 167 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithJarHttpURLConnection() 182 try (CapturingServerSocket server = new CapturingServerSocket(serverReplyOnConnect)) { in testCleartextTrafficPolicyWithJarFtpURLConnection() 195 try (CapturingServerSocket server = new CapturingServerSocket(serverReplyOnConnect)) { in testCleartextTrafficPolicyWithJarFtpURLConnection() 209 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithLoggingSocketHandler() 224 try (CapturingServerSocket server = new CapturingServerSocket()) { in testCleartextTrafficPolicyWithLoggingSocketHandler()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 33 public final SSLSocket server; field in TestSSLSocketPair 37 SSLSocket server, in TestSSLSocketPair() 76 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() 96 SSLEngine server = c.serverContext.createSSLEngine(); in connect() local 139 void beforeBeginHandshake(SSLEngine client, SSLEngine server) {} in beforeBeginHandshake()
|
D | TestSSLContext.java | 252 public static TestSSLContext create(TestKeyStore client, TestKeyStore server) { in create() 261 TestKeyStore client, TestKeyStore server, in createWithAdditionalKeyManagers()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetworkClient.java | 132 public void openServer(String server, int port) in openServer() 151 protected Socket doConnect (String server, int port) in doConnect()
|
/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/luni/src/test/java/libcore/java/security/cert/ |
D | PKIXRevocationCheckerTest.java | 47 TestKeyStore server = TestKeyStore.getServer(); in setUp() local
|
D | PKIXParametersTest.java | 60 TestKeyStore server = TestKeyStore.getServer(); in keyStoreConstructor() local
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | SocksSocketImpl.java | 38 SocksSocketImpl(java.lang.String server, int port) { in SocksSocketImpl() 132 private java.lang.String server; field in SocksSocketImpl
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldCookieHandlerTest.java | 33 private MockWebServer server; field in OldCookieHandlerTest
|
D | SocketTest.java | 274 MockServer server = new MockServer(); in testReadAfterClose() local 296 MockServer server = new MockServer(); in testWriteAfterClose() local 460 ServerSocket server = new ServerSocket(0); in testSocketWithProxySet() local
|
D | OldURLClassLoaderTest.java | 225 Support_TestWebServer server = new Support_TestWebServer(); in test_findResourceLjava_lang_String() local 255 Support_TestWebServer server = new Support_TestWebServer(); in test_findResource_String() 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 | 1399 ServerSocket server = new ServerSocket(0); in testCFII_EmptyHost() local 2192 ServerSocketChannel server = ServerSocketChannel.open(); in testReadByteBuffer_Direct2() local 2911 ServerSocketChannel server = ServerSocketChannel.open(); in test_write$LByteBuffer2() local 2943 ServerSocketChannel server = ServerSocketChannel.open(); in test_write$LByteBuffer_buffers() local 2983 ServerSocketChannel server = ServerSocketChannel.open(); in test_write$LByteBuffer_writes() local 3025 ServerSocketChannel server = ServerSocketChannel.open(); in test_write$LByteBuffer_invalid() local
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocksSocketImpl.java | 44 private String server = null; field in SocksSocketImpl 59 SocksSocketImpl(String server, int port) { in SocksSocketImpl()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SelectorTest.java | 154 SocketChannel server = null; in test28318596() local
|
D | OldSocketChannelTest.java | 286 Thread server = new Thread() { in test_socketChannel_read_DirectByteBuffer() local
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | URLConnectionBenchmark.java | 38 private MockWebServer server; field in URLConnectionBenchmark
|
/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/libcore/io/ |
D | FdsanTest.java | 119 Socket server = serverSocket.accept(); in testSocket() local
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 925 private static OCSPResp generateOCSPResponse(PrivateKeyEntry server, PrivateKeyEntry issuer, in generateOCSPResponse() 954 …public static byte[] getOCSPResponseForGood(PrivateKeyEntry server, PrivateKeyEntry issuer) throws… in getOCSPResponseForGood() 962 public static byte[] getOCSPResponseForRevoked(PrivateKeyEntry server, PrivateKeyEntry issuer) in getOCSPResponseForRevoked()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 241 TestServer server; field in SSLSessionTest
|