Home
last modified time | relevance | path

Searched refs:mSocket (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/
DFakeSocketServerHelper.java31 private ServerSocket mSocket; field in FakeSocketServerHelper
36 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()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationRunner.java50 private Socket mSocket = null; field in IsolationRunner
63 mSocket = new Socket(config.getAddress(), config.getPort()); in startServer()
66 mSocket.setSoTimeout(config.getTimeout()); in startServer()
68 InputStream input = mSocket.getInputStream(); in startServer()
69 OutputStream output = mSocket.getOutputStream(); in startServer()
74 RunnerMessage message = RunnerMessage.parseDelimitedFrom(mSocket.getInputStream()); in startServer()
103 if (mSocket != null) { in startServer()
104 mSocket.close(); in startServer()
105 mSocket = null; in startServer()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DStreamProtoReceiver.java114 private ServerSocket mSocket; field in StreamProtoReceiver.EventReceiverThread
120 mSocket = new ServerSocket(DEFAULT_AVAILABLE_PORT); in EventReceiverThread()
125 return mSocket.getLocalPort(); in getLocalPort()
133 if (mSocket != null) { in cancel()
134 mSocket.close(); in cancel()
142 client = mSocket.accept(); in run()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aClient.java59 private Socket mSocket; field in Sl4aClient
191 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()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessTestResultsParser.java117 private ServerSocket mSocket; field in SubprocessTestResultsParser.EventReceiverThread
124 mSocket = new ServerSocket(0); in EventReceiverThread()
128 return mSocket.getLocalPort(); in getLocalPort()
144 if (mSocket != null) { in cancel()
145 mSocket.close(); in cancel()
162 client = mSocket.accept(); in run()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...