Searched refs:serverSocket (Results 1 – 11 of 11) sorted by relevance
54 LocalSocket serverSocket = localServerSocket.accept(); in testLocalConnections() local55 assertTrue(serverSocket.isConnected()); in testLocalConnections()56 assertTrue(serverSocket.isBound()); in testLocalConnections()58 serverSocket.bind(localServerSocket.getLocalSocketAddress()); in testLocalConnections()63 serverSocket.connect(locSockAddr); in testLocalConnections()74 InputStream serverInStream = serverSocket.getInputStream(); in testLocalConnections()78 OutputStream serverOutStream = serverSocket.getOutputStream(); in testLocalConnections()88 FileDescriptor[] out = serverSocket.getAncillaryFileDescriptors(); in testLocalConnections()107 serverSocket.shutdownInput(); in testLocalConnections()111 serverSocket.shutdownOutput(); in testLocalConnections()[all …]
39 LocalSocket serverSocket = localServerSocket.accept(); in testLocalServerSocket() local41 assertTrue(serverSocket.isConnected()); in testLocalServerSocket()42 assertTrue(serverSocket.isBound()); in testLocalServerSocket()47 InputStream serverInStream = serverSocket.getInputStream(); in testLocalServerSocket()51 OutputStream serverOutStream = serverSocket.getOutputStream(); in testLocalServerSocket()
172 LlcpServerSocket serverSocket; field in EchoServer.ServerThread207 serverSocket = mService.createLlcpServerSocket(DEFAULT_CO_SAP, in run()212 if (serverSocket == null) { in run()222 clientSocket = serverSocket.accept(); in run()244 serverSocket.close(); in run()248 serverSocket = null; in run()265 if (serverSocket != null) { in shutdown()267 serverSocket.close(); in shutdown()271 serverSocket = null; in shutdown()
88 final ServerSocket serverSocket = new ServerSocket(); in testIpv4ConntrackSocket() local89 serverSocket.bind(anyAddress); in testIpv4ConntrackSocket()90 final SocketAddress theAddress = serverSocket.getLocalSocketAddress(); in testIpv4ConntrackSocket()95 final Socket acceptedSocket = serverSocket.accept(); in testIpv4ConntrackSocket()125 serverSocket.close(); in testIpv4ConntrackSocket()
147 LlcpServerSocket serverSocket; in run() local149 serverSocket = mServerSocket; in run()151 if (serverSocket == null) return; in run()154 LlcpSocket communicationSocket = serverSocket.accept(); in run()
108 LlcpServerSocket serverSocket; in run() local110 serverSocket = mServerSocket; in run()113 if (serverSocket == null) { in run()118 LlcpSocket communicationSocket = serverSocket.accept(); in run()
205 LlcpServerSocket serverSocket; in run() local207 serverSocket = mServerSocket; in run()210 if (serverSocket == null) { in run()215 LlcpSocket communicationSocket = serverSocket.accept(); in run()
178 LlcpServerSocket serverSocket; in run() local180 serverSocket = mServerSocket; in run()183 if (serverSocket == null) { in run()188 LlcpSocket communicationSocket = serverSocket.accept(); in run()
92 ServerSocket serverSocket = new ServerSocket(0, 1, InetAddress.getLocalHost()); in createInstance() local93 redirectListener = new RedirectListener(looper, serverSocket.getLocalPort()); in createInstance()97 serverSocket.close(); in createInstance()
298 SocketAcceptThread(BluetoothServerSocket serverSocket) { in SocketAcceptThread() argument299 if (serverSocket == null) { in SocketAcceptThread()302 mServerSocket = serverSocket; in SocketAcceptThread()
335 BluetoothServerSocket serverSocket; in run() local347 serverSocket = mServerSocket; in run()348 if (serverSocket == null) { in run()