diff options
| author | 2023-03-17 14:27:14 -0700 | |
|---|---|---|
| committer | 2023-03-17 21:37:20 +0000 | |
| commit | aca95b152556479438220f96447d233f76e10041 (patch) | |
| tree | fbb17010046031bd86c380f27d3b54d3d9d9d435 /libs/androidfw/ResourceTimer.cpp | |
| parent | f2c1506ea084e07da5dfbe36394f5a3f4556e99b (diff) | |
Avoid reading cpuinfo_(max|cur)_freq stats in CpuMonitorService.
The cpuinfo_cur_freq file read access is available only to the root
user. Android framework cannot read this file. So, do not read stats
from the cpuinfo_*_freq files.
Test: atest CpuInfoReaderTest
Bug: 263154344
Change-Id: I45263935fae844b4d9d1b6ec50876cc34c95a09a
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions