OSDN Git Service

Add connect event reporting
authorMichal Karpinski <mkarpinski@google.com>
Wed, 28 Sep 2016 15:06:16 +0000 (16:06 +0100)
committerLorenzo Colitti <lorenzo@google.com>
Thu, 27 Oct 2016 09:23:21 +0000 (18:23 +0900)
commit265494a0f89fc6724ff09c60f072fdeba6285643
treee9729c0b5412473c4b3134b3117c5ee10071b9e5
parentf82d1596ce92e0e8b687b365a9e60661e132b872
Add connect event reporting

Adds reporting of connect events including netId, destination IP address,
destination port, uid and connect latency.
Currently ignores the new data it receives, further work will be
done in the subsequent CLs.

Test: for now just the benchmarking, in the future CTS

Bug: 29748723

(cherry picked from commit 965894eeb90c13255b5559b925d13fd22528f8cb)

Change-Id: I0c563f26ac39a7e1870153f30d073fc7d0006abc
services/core/java/com/android/server/connectivity/NetdEventListenerService.java