Home
last modified time | relevance | path

Searched refs:mReportSocket (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DStreamProtoResultReporter.java41 private Socket mReportSocket = null; field in StreamProtoResultReporter
128 StreamUtil.close(mReportSocket); in closeSocket()
140 if (mReportSocket == null) { in writeRecordToSocket()
141 mReportSocket = new Socket("localhost", mReportPort); in writeRecordToSocket()
143 record.writeDelimitedTo(mReportSocket.getOutputStream()); in writeRecordToSocket()
/tools/tradefederation/core/src/com/android/tradefed/result/
DSubprocessResultsReporter.java79 private Socket mReportSocket = null; field in SubprocessResultsReporter
345 if (mReportSocket == null) { in printEvent()
346 mReportSocket = new Socket("localhost", mReportPort.intValue()); in printEvent()
347 mPrintWriter = new PrintWriter(mReportSocket.getOutputStream(), true); in printEvent()
349 if (!mReportSocket.isConnected()) { in printEvent()
379 StreamUtil.close(mReportSocket); in close()
380 mReportSocket = null; in close()