Home
last modified time | relevance | path

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

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketTest.java123 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 …]
DDatagramSocketTest.java728 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/
DNetworkSecurityPolicyTest.java99 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/
DTestSSLSocketPair.java33 public final SSLSocket server; field in TestSSLSocketPair
37 SSLSocket server, in TestSSLSocketPair()
76 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()
96 SSLEngine server = c.serverContext.createSSLEngine(); in connect() local
139 void beforeBeginHandshake(SSLEngine client, SSLEngine server) {} in beforeBeginHandshake()
DTestSSLContext.java252 public static TestSSLContext create(TestKeyStore client, TestKeyStore server) { in create()
261 TestKeyStore client, TestKeyStore server, in createWithAdditionalKeyManagers()
/libcore/ojluni/src/main/java/sun/net/
DNetworkClient.java132 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/
DHttpURLConnectionTest.java188 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/
DPKIXRevocationCheckerTest.java47 TestKeyStore server = TestKeyStore.getServer(); in setUp() local
DPKIXParametersTest.java60 TestKeyStore server = TestKeyStore.getServer(); in keyStoreConstructor() local
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocksSocketImpl.java38 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/
DOldCookieHandlerTest.java33 private MockWebServer server; field in OldCookieHandlerTest
DSocketTest.java274 MockServer server = new MockServer(); in testReadAfterClose() local
296 MockServer server = new MockServer(); in testWriteAfterClose() local
460 ServerSocket server = new ServerSocket(0); in testSocketWithProxySet() local
DOldURLClassLoaderTest.java225 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/
DUnixSelectorTest.java64 Server server = new Server(); in testSelectorAcceptAndRead() local
DSocketChannelTest.java1399 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/
DSocksSocketImpl.java44 private String server = null; field in SocksSocketImpl
59 SocksSocketImpl(String server, int port) { in SocksSocketImpl()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSelectorTest.java154 SocketChannel server = null; in test28318596() local
DOldSocketChannelTest.java286 Thread server = new Thread() { in test_socketChannel_read_DirectByteBuffer() local
/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java38 private MockWebServer server; field in URLConnectionBenchmark
/libcore/luni/src/test/java/libcore/java/io/
DInterruptedStreamTest.java115 SocketChannel server = serverSocketChannel.accept(); in newSocketChannelPair() local
/libcore/luni/src/test/java/libcore/libcore/io/
DFdsanTest.java119 Socket server = serverSocket.accept(); in testSocket() local
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java925 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/
DSSLSessionTest.java241 TestServer server; field in SSLSessionTest

12