Files
frameworks_base/core/java/android/net
Lorenzo Colitti 682686bdff Stop using IIpConnectivityMetrics in ConnectivityService.
Currently, ConnectivityService calls the IpConnectivityMetrics
service class directly to log default network events. This is
incompatible with ConnectivityService being in a mainline module.
Replace direct access to IIpConnectivityMetrics with public
methods in IpConnectivityLog, which is @SystemApi class.

The new methods are not yet @SystemApi, but they can be made so
if desired. Alternatively, these metrics could be deleted.

Also remove the IpConectivityMetrics service from the
service-connectivity JAR, and go back to starting it from
SystemServer.java, which is what was happening a few hours ago
before aosp/1542626 was merged.

Test: builds, boots
Test: atest FrameworksNetTests
Test: "dumpsys connmetrics" shows events, including default network events
Change-Id: I9d6147d93590363a2f8f83f39f05c03d001b4851
2021-01-12 23:19:49 +09:00
..
2020-03-26 14:10:06 +00:00
2020-06-24 11:32:26 +00:00
2020-03-19 02:15:02 +00:00
2020-02-13 18:37:06 +00:00
2020-12-23 22:15:51 -08:00
2020-01-22 22:27:44 +09:00
2020-04-10 00:30:38 +00:00