Add connect event reporting am: 265494a0f8 am: 17be4d6c85
am: 8fba923d2a
Change-Id: I20bca735eba409fe17c8c1bbec1bce20a1ca0723
This commit is contained in:
@@ -148,6 +148,14 @@ public class NetdEventListenerService extends INetdEventListener.Stub {
|
||||
batch.addResult((byte) eventType, (byte) returnCode, latencyMs);
|
||||
}
|
||||
|
||||
@Override
|
||||
// Called concurrently by multiple binder threads.
|
||||
// This method must not block or perform long-running operations.
|
||||
public synchronized void onConnectEvent(int netId, int latencyMs, String ipAddr, int port,
|
||||
int uid) {
|
||||
maybeVerboseLog(String.format("onConnectEvent(%d, %d)", netId, latencyMs));
|
||||
}
|
||||
|
||||
public synchronized void dump(PrintWriter writer) {
|
||||
IndentingPrintWriter pw = new IndentingPrintWriter(writer, " ");
|
||||
pw.println(TAG + ":");
|
||||
|
||||
Reference in New Issue
Block a user