Aaron Huang 3ae5bdab6e Add a new API in BatteryStatsManager for connectivity service
Connectivity service(CS) is going to be a mainline module and
currently it uses IBatteryStats to communicate with battery
stats service directly. CS cannot use this way after becomes
a mainline module so add new system APIs to communicate with
battery stats service through BatteryStatsManger.

The new API reportNetworkInterfaceForTransports requires
system-only permission NETWORK_STACK or MAINLINE_NETWORK_STACK
so that given the only caller was in ConnectivityService.

This change only add new surface, the usage in CS will be
updated in follow-up CL.

Bug: 171686421
Test: builds, boot, mobile and wifi work.
Change-Id: Ifbd4a9784ed7664751e69d530f8204e292fa6b39
Merged-In: Ifbd4a9784ed7664751e69d530f8204e292fa6b39
2021-03-09 06:24:50 +00:00
2021-02-21 09:39:53 -08:00
2021-03-02 21:33:02 +00:00
2021-02-21 09:39:53 -08:00
2021-03-03 21:41:39 +00:00
2021-03-03 16:43:48 -08:00
2019-08-09 09:24:40 -07:00
2019-10-10 22:41:57 +00:00
2020-07-15 13:02:35 +01:00
2020-02-19 19:36:25 -08:00
2021-01-27 12:09:16 -08:00
2021-01-06 18:40:58 -07:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%