Searched refs:serverSocket (Results 1 – 4 of 4) sorted by relevance
59 private ServerSocket serverSocket; field in ProxyServer331 serverSocket = new ServerSocket(0); in run()333 setPort(serverSocket.getLocalPort()); in run()337 Socket socket = serverSocket.accept(); in run()388 if (serverSocket != null) { in stopServer()390 serverSocket.close(); in stopServer()391 serverSocket = null; in stopServer()
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()
179 BluetoothServerSocket serverSocket; in run() local183 serverSocket = BluetoothAdapter.getDefaultAdapter() in run()196 socket = serverSocket.accept(); in run()208 safeClose(serverSocket); in run()
3377 LocalSocket serverSocket = null; in createSystemServerSocketForZygote() local3379 serverSocket = new LocalSocket(LocalSocket.SOCKET_DGRAM); in createSystemServerSocketForZygote()3380 serverSocket.bind(new LocalSocketAddress( in createSystemServerSocketForZygote()3384 if (serverSocket != null) { in createSystemServerSocketForZygote()3386 serverSocket.close(); in createSystemServerSocketForZygote()3389 serverSocket = null; in createSystemServerSocketForZygote()3392 return serverSocket; in createSystemServerSocketForZygote()