commit | aca95b152556479438220f96447d233f76e10041 | [log] [tgz] |
---|---|---|
author | Lakshman Annadorai <lakshmana@google.com> | Fri Mar 17 14:27:14 2023 -0700 |
committer | Lakshman Annadorai <lakshmana@google.com> | Fri Mar 17 21:37:20 2023 +0000 |
tree | fbb17010046031bd86c380f27d3b54d3d9d9d435 | |
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