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

Skip to content
Commit 5182a35f authored by Lakshman Annadorai's avatar Lakshman Annadorai
Browse files

Start/Stop CPU monitoring based on the client callback addition/removal.

- Start CPU monitoring when the first client callback is added.
- Stop CPU monitoring when the last client callback is removed.
- When on client callbacks are available, perform debug monitoring only
  user-debug and eng builds.
- When a client callback is added, notify the client of the latest CPU
  availability and the current monitoring interval.

Test: atest CpuMonitorServiceTest
Bug: 242722241
Change-Id: I6d423ee165ad6e0623f6078e3c68cc4fd1871371
parent 741709bf
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