Searched refs:serverSocket (Results 1 – 6 of 6) sorted by relevance
47 LocalSocket serverSocket = localServerSocket.accept(); in testLocalConnections() local55 InputStream serverInStream = serverSocket.getInputStream(); in testLocalConnections()59 OutputStream serverOutStream = serverSocket.getOutputStream(); in testLocalConnections()69 FileDescriptor[] out = serverSocket.getAncillaryFileDescriptors(); in testLocalConnections()88 serverSocket.shutdownInput(); in testLocalConnections()92 serverSocket.shutdownOutput(); in testLocalConnections()110 serverSocket.close(); in testLocalConnections()189 LocalSocket serverSocket = localServerSocket.accept(); in testAvailable() local192 InputStream serverInputStream = serverSocket.getInputStream(); in testAvailable()200 OutputStream serverOutputStream = serverSocket.getOutputStream(); in testAvailable()[all …]
39 LocalSocket serverSocket = localServerSocket.accept(); in testLocalServerSocket() local44 InputStream serverInStream = serverSocket.getInputStream(); in testLocalServerSocket()48 OutputStream serverOutStream = serverSocket.getOutputStream(); in testLocalServerSocket()
287 SSLServerSocket serverSocket = getServerListeningSocket(); in serverAcceptAndHandshake() local290 socket = (SSLSocket) serverSocket.accept(); in serverAcceptAndHandshake()328 Socket serverSocket = null; in mitmAcceptAndForward() local335 serverSocket = SocketFactory.getDefault().createSocket(); in mitmAcceptAndForward()336 setMitmServerSocket(serverSocket); in mitmAcceptAndForward()338 serverSocket.connect(serverAddress, 10000); in mitmAcceptAndForward()339 Log.i(TAG, "MiTM connected to server from " + serverSocket.getLocalSocketAddress()); in mitmAcceptAndForward()340 final InputStream serverInputStream = serverSocket.getInputStream(); in mitmAcceptAndForward()359 serverSocket.getOutputStream(), in mitmAcceptAndForward()369 OpenSSLHeartbleedTest.closeQuietly(serverSocket); in mitmAcceptAndForward()
289 SSLServerSocket serverSocket = getServerListeningSocket(); in serverAcceptAndHandshake() local292 socket = (SSLSocket) serverSocket.accept(); in serverAcceptAndHandshake()329 Socket serverSocket = null; in mitmAcceptAndForward() local336 serverSocket = SocketFactory.getDefault().createSocket(); in mitmAcceptAndForward()337 setMitmServerSocket(serverSocket); in mitmAcceptAndForward()339 serverSocket.connect(serverAddress, 10000); in mitmAcceptAndForward()340 Log.i(TAG, "MiTM connected to server from " + serverSocket.getLocalSocketAddress()); in mitmAcceptAndForward()341 final InputStream serverInputStream = serverSocket.getInputStream(); in mitmAcceptAndForward()360 serverSocket.getOutputStream(), in mitmAcceptAndForward()369 closeQuietly(serverSocket); in mitmAcceptAndForward()
109 LocalServerSocket serverSocket = createSocket(); in run() local110 if (null == serverSocket) { in run()121 receiverSocket = serverSocket.accept(); in run()183 if (serverSocket != null) { in run()185 serverSocket.close(); in run()
1415 SSLServerSocket serverSocket = (SSLServerSocket) serverContext.getServerSocketFactory() in assertSSLConnectionWithClientAuth() local1418 int port = serverSocket.getLocalPort(); in assertSSLConnectionWithClientAuth()1421 final SSLSocket server = (SSLSocket) serverSocket.accept(); in assertSSLConnectionWithClientAuth()