Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ceab3a6e authored by Lakshman Annadorai's avatar Lakshman Annadorai Committed by Cherrypicker Worker
Browse files

Monitor CPU availability using CPU frequency stats.

- Implement the core CPU availability monitoring logic by reading
  the CPU infos with CpuInfoReader.
- Start debug monitoring on user-debug and eng builds when no
  callbacks are registered.
- Update CpuAvailabilityInfo to cache the uptime of the cached data.
- Update CpuAvailabilityMonitoringConfig to return cpuset string.

Test: atest CpuMonitorServiceTest
Bug: 242722241
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1a18fd0962728468830cc2f2752c1ede3e0c1473)
Merged-In: I6e12c11f243966914079f54df4430d69b797ec1f
Change-Id: I6e12c11f243966914079f54df4430d69b797ec1f
parent aabb81ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment