Home
last modified time | relevance | path

Searched refs:createSocket (Results 1 – 22 of 22) sorted by relevance

/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
DSocketFactoryTest.java44 sf.createSocket(); in testCreateSocket()
62 s = sf.createSocket("localhost", 8082); in testGetDefault()
67 s = sf.createSocket("localhost", 8081, InetAddress.getLocalHost(), 8082); in testGetDefault()
72 s = sf.createSocket(InetAddress.getLocalHost(), 8081); in testGetDefault()
77 s = sf.createSocket(InetAddress.getLocalHost(), 8081, InetAddress.getLocalHost(), 8082); in testGetDefault()
85 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() method in MySocketFactory
90 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() method in MySocketFactory
96 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() method in MySocketFactory
101 … public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) in createSocket() method in MySocketFactory
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DDefaultSSLSocketFactoryTest.java42 f.createSocket("localhost", 0); in testCreateSocketStringint()
57 f.createSocket("localhost", 0, InetAddress.getLocalHost(), 1); in testCreateSocketStringintInetAddressint()
71 f.createSocket(InetAddress.getLocalHost(), 1); in testCreateSocketInetAddressint()
86 f.createSocket(InetAddress.getLocalHost(), 1, InetAddress in testCreateSocketInetAddressintInetAddressint()
117 f.createSocket(new Socket(), "localhost", 1, true); in testCreateSocketSocketStringintboolean()
DSSLSocketFactoryTest.java88 factory.createSocket("localhost", 2021); in testGetDefault()
/external/nist-sip/java/gov/nist/core/net/
DDefaultNetworkLayer.java74 public Socket createSocket(InetAddress address, int port) in createSocket() method in DefaultNetworkLayer
107 return (SSLSocket) sslSocketFactory.createSocket(address, port); in createSSLSocket()
113 return (SSLSocket) sslSocketFactory.createSocket(address, port, in createSSLSocket()
117 public Socket createSocket(InetAddress address, int port, in createSocket() method in DefaultNetworkLayer
141 public Socket createSocket(InetAddress address, int port, in createSocket() method in DefaultNetworkLayer
DSslNetworkLayer.java93 public Socket createSocket(InetAddress address, int port) in createSocket() method in SslNetworkLayer
117 return (SSLSocket) sslSocketFactory.createSocket(address, port); in createSSLSocket()
123 return (SSLSocket) sslSocketFactory.createSocket(address, port, in createSSLSocket()
127 public Socket createSocket(InetAddress address, int port, in createSocket() method in SslNetworkLayer
151 public Socket createSocket(InetAddress address, int port, in createSocket() method in SslNetworkLayer
DNetworkLayer.java80 public Socket createSocket(InetAddress address, int port) throws IOException; in createSocket() method
91 …public Socket createSocket(InetAddress address, int port, InetAddress localAddress) throws IOExcep… in createSocket() method
109 public Socket createSocket(InetAddress address, int port, in createSocket() method
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLSocketFactoriesTest.java78 assertNotNull(sfactory.createSocket()); in testDefaultInitialized()
135 csocket = (SSLSocket) socketFactory.createSocket(); in testSocketCreation()
146 socketFactory.createSocket("localhost", in testSocketCreation()
155 socketFactory.createSocket("localhost", in testSocketCreation()
164 csocket = (SSLSocket) socketFactory.createSocket( in testSocketCreation()
173 csocket = (SSLSocket) socketFactory.createSocket( in testSocketCreation()
188 csocket = (SSLSocket) socketFactory.createSocket( in testSocketCreation()
DSSLSocketFunctionalTest.java85 .getSocketFactory().createSocket("localhost", in doTestInteraction()
123 .getSocketFactory().createSocket("localhost", in _doTestInteraction()
155 .getSocketFactory().createSocket("localhost", in doTestSelfInteraction()
/external/apache-http/src/org/apache/http/conn/ssl/
DSSLSocketFactory.java268 public Socket createSocket() in createSocket() method in SSLSocketFactory
272 return (SSLSocket) this.socketfactory.createSocket(); in createSocket()
294 ((sock != null) ? sock : createSocket()); in connectSocket()
369 public Socket createSocket( in createSocket() method in SSLSocketFactory
375 SSLSocket sslSocket = (SSLSocket) this.socketfactory.createSocket( in createSocket()
/external/apache-http/src/org/apache/http/conn/scheme/
DPlainSocketFactory.java79 public Socket createSocket() { in createSocket() method in PlainSocketFactory
97 sock = createSocket(); in connectSocket()
DLayeredSocketFactory.java65 Socket createSocket( in createSocket() method
DSocketFactory.java65 Socket createSocket() in createSocket() method
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java140 Socket sock = plain_sf.createSocket(); in openConnection()
165 Socket layeredsock = layered_sf.createSocket(sock, in openConnection()
231 sock = lsf.createSocket in updateSecureConnection()
/external/apache-http/src/org/apache/http/conn/
DMultihomePlainSocketFactory.java81 public Socket createSocket() { in createSocket() method in MultihomePlainSocketFactory
113 sock = createSocket(); in connectSocket()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/
DHandshakeCompletedEventTest.java41 SSLSocket soc = (SSLSocket )cont.getSocketFactory().createSocket(); in getData()
DSSLSessionBindingEventTest.java41 SSLSocket soc = (SSLSocket )cont.getSocketFactory().createSocket(); in getData()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DIOHandler.java140 clientSock = sipStack.getNetworkLayer().createSocket(dst, dstPort, localAddress,
204 clientSock = sipStack.getNetworkLayer().createSocket(receiverAddress,
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/
DIRCProxyWebSocket.java58 socket_ = SocketFactory.getDefault().createSocket(tokens[0], in onMessage()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DHandshakeCompletedEventTest.java62 soc = (SSLSocket) sf.createSocket("localhost", port); in setUp()
DSSLContext1Test.java453 .getSocketFactory().createSocket()); in testGetDefaultSSLParameters()
476 .getSocketFactory().createSocket()); in testGetSupportedSSLParameters()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java282 socket = sslSocketFactory.createSocket( in serveConnection()
369 SSLSocket socket = (SSLSocket) sslSocketFactory.createSocket( in processHandshakeFailure()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java110 .createSocket("localhost", ss.getLocalPort()); in testGetDefaultSSLSocketFactory()
1333 .createSocket(peerSocket, "localhost", in run()