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: I71a9e681780471f31141599c53bb516aef445add Signed-off-by: Darren Hsu <darrenhsu@google.com>
Description
No description provided
Languages
C++
81.9%
Makefile
12.4%
Shell
5.7%