History log of /frameworks/base/tests/net/java/com/android/server/connectivity/MetricsTestUtil.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ec27c4d9f33615be1f94d6bb5c5fd1358580ac05 15-Mar-2017 Hugo Benichi <hugobenichi@google.com> Connectivity metrics: simplify ConnectivityMetricsEvent

Now that ConnectivityMetricsEvent is only used for core networking
metrics and is not @SystemApi anymore, remove unused fields and prepare
for additional new fields.

Test: updated unit tests, $ runtest frameworks-net passes
Bug: 34901696
Change-Id: I15abad19981d491f16f2a3afe401f1e833079907
/frameworks/base/tests/net/java/com/android/server/connectivity/MetricsTestUtil.java
95cb226c1a4ff47531da65ef2617ade0dea5c9b8 11-Jan-2017 Hugo Benichi <hugobenichi@google.com> IP connectivity metrics: cleanup obsolete code

This patch cleans obsolete code related to IP connectivity metrics:
- remove @SystemApi on android.net.metrics: now that metrics events
are processed and serialized in the frameworks only, event classes
should not appear in the system apis.
- remove obsolete Logger classes: ConnectivityMetrics app was the
unique user of ConnectivityMetricsLogger until nyc-mr1. From nyc-mr1
the app started using dumpsys to get metrics for IpConnectivity and
Telephony, which made ConnectivityMetricsLogger obsolete.
- simplifications in MetricsTestUtil

Test: - runtest frameworks-net
- manually verified $ adb shell dumpsys connmetrics
Bug: 30054585
Bug: 32648597
Change-Id: I85ef65f7f69eb9299e4636cc7af54067201d9daf
/frameworks/base/tests/net/java/com/android/server/connectivity/MetricsTestUtil.java
ecc986d430f4b8158f177ed97d2edb741f11ff71 27-Oct-2016 Lorenzo Colitti <lorenzo@google.com> Move the connectivity tests to frameworks/base/tests/net.

This will give us a good place to put all the networking tests.

Fix: 31479480
Test: adb shell am instrument -w -e notClass com.android.server.connectivity.tethering.TetherInterfaceStateMachineTest 'com.android.frameworks.tests.net/android.support.test.runner.AndroidJUnitRunner' # PASS
Change-Id: I4b389f7f4e33a996885b38670f585e58ca66f777
/frameworks/base/tests/net/java/com/android/server/connectivity/MetricsTestUtil.java