Reading data from an AoC sysfs node by getline takes 1 second. In total there are 17 AoC sysfs nodes that must be read. The worst case is taking 17 seconds long that is greater than dumpsys timeout. Therefore, we need the timeout mechanism to ignore the AoC power stats reporting when AoC latency exceeds the allowed time. Bug: 219630658 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: Ic5c2a0b36728153fd2e2593599a8f2bcdb50ace4 Signed-off-by: Darren Hsu <darrenhsu@google.com> |
||
---|---|---|
.. | ||
include | ||
Android.bp | ||
AocStateResidencyDataProvider.cpp | ||
AocTimedStateResidencyDataProvider.cpp | ||
DevfreqStateResidencyDataProvider.cpp | ||
DvfsStateResidencyDataProvider.cpp | ||
UfsStateResidencyDataProvider.cpp |