Searched refs:mSocket (Results 1 – 4 of 4) sorted by relevance
31 private ServerSocket mSocket; field in FakeSocketServerHelper36 mSocket = new ServerSocket(0); in FakeSocketServerHelper()40 return mSocket.getLocalPort(); in getPort()45 if (mSocket != null) { in close()46 mSocket.close(); in close()56 client = mSocket.accept(); in run()
59 private Socket mSocket; field in Sl4aClient191 mSocket = new Socket("localhost", mHostPort); in open()192 CLog.i("is sl4a socket connected: %s", mSocket.isConnected()); in open()223 PrintWriter out = new PrintWriter(mSocket.getOutputStream(), true); in sendCommand()229 BufferedReader in = new BufferedReader(new InputStreamReader(mSocket.getInputStream())); in sendCommand()244 PrintWriter out = new PrintWriter(mSocket.getOutputStream(), false); in sendThroughSocket()248 BufferedReader in = new BufferedReader(new InputStreamReader(mSocket.getInputStream())); in sendThroughSocket()276 if (mSocket != null) { in close()277 mSocket.close(); in close()
43 private final Socket mSocket; field in RemoteClient68 mSocket = new Socket(hostName, port); in RemoteClient()69 mWriter = new PrintWriter(mSocket.getOutputStream(), true); in RemoteClient()70 mReader = new BufferedReader(new InputStreamReader(mSocket.getInputStream())); in RemoteClient()252 if (mSocket != null) { in close()254 mSocket.close(); in close()
99 private ServerSocket mSocket; field in SubprocessTestResultsParser.EventReceiverThread104 mSocket = new ServerSocket(0); in EventReceiverThread()109 return mSocket.getLocalPort(); in getLocalPort()117 if (mSocket != null) { in cancel()118 mSocket.close(); in cancel()127 client = mSocket.accept(); in run()