Searched refs:mSocket (Results 1 – 5 of 5) sorted by relevance
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()
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()
109 private ServerSocket mSocket; field in StreamProtoReceiver.EventReceiverThread115 mSocket = new ServerSocket(DEFAULT_AVAILABLE_PORT); in EventReceiverThread()120 return mSocket.getLocalPort(); in getLocalPort()128 if (mSocket != null) { in cancel()129 mSocket.close(); in cancel()138 client = mSocket.accept(); in run()
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()
103 private ServerSocket mSocket; field in SubprocessTestResultsParser.EventReceiverThread109 mSocket = new ServerSocket(0); in EventReceiverThread()114 return mSocket.getLocalPort(); in getLocalPort()122 if (mSocket != null) { in cancel()123 mSocket.close(); in cancel()140 client = mSocket.accept(); in run()