diff options
author | Hugo Benichi <hugobenichi@google.com> | 2017-03-15 23:05:01 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-06-23 16:07:38 +0900 |
commit | 6a9bb8e84a308152485a8d64b7bf94b548ba5db9 (patch) | |
tree | f62cef4616b7219e7d05e63871d2ab973379db7f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5a56873612793940ddb9a93a64d5e48929b0d02d (diff) |
Connectivity metrics: serialize networkId, transports, ifname
This patch adds translation from ConnectivityMetricsEvent to
IpConnectivityEvent of recently added fields:
- top-level network id
- top-level ifname
- transports
Also adds inference of link layer from transports or ifname.
At the moment these new fields are not populated in
ConnectivityMetricsEvent. Follow-up patches will fill this gap for
the events of the android.net.metrics package.
Test: new unit tests, $ runtest frameworks-net passes
Bug: 34901696
Merged-In: I563a6a3183470bdfaabb7c781a1beaf6b1058bf0
(partial cherry pick from commit 73fd4d1fafd0208e843abb6a6ad8a46a6fb18143)
Change-Id: I6a00270e73a1bd07f23c367f2394d90a43ced47a
Test: runtest frameworks-net (not in original commit message)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions