b961efcbbce92b6abebe67a4937f03a2ef6a67a2
There were two ways to update the network activity from NetworkManagementService to BatteryStatsService. 1. The Netd unsolicited event onInterfaceClassActivityChanged 2. The idle timer setup and removal The first path was replaced by previous patch to listen netd event from BSS directly. BSS does not rely on NMS to notify event from netd now. This patch is going to replace the second path. In order to clear the dependency between NMS and CS, the idle timer setup and removal will be sent from CS to INetd directly without going via NMS in the follow up patches. NMS will no longer receive the idle timer update. Thus, update the radio power status from CS to BSS directly to separate the network activity logic from NMS. Bug: 170598012 Test: atest FrameworksNetTests Change-Id: I716bd77168896b29a6e04f592adcf27b82edebca
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%