diff options
| author | 2024-02-07 04:39:09 +0000 | |
|---|---|---|
| committer | 2024-03-06 16:41:02 -0800 | |
| commit | 626554ef601d62acc0214a83f993c7cf62b14a8a (patch) | |
| tree | eb16c08f96b69f334de6ae840bbb138ca767be98 /native/android/input.cpp | |
| parent | 73c8cfcef5e3af4bceb9d5abcf679883897e6388 (diff) | |
Clean up OomAdjusterModernImpl
Reorganize OomAdjusterModernImpl for future changes.
Moved most logic into reusable helper methods and functional interface
implementations.
Reimplemented the reachable process collection step to use the same
code as the process traversal step. It is important that the traversal
algorithm for these two steps are identical (If the traversal step finds
a process the reachable step did not find, the wrong values could get
calculated).
Replaced the excluded client process collection step with just
evaluating the connections into the target and reachable processes.
Bug: 323376416
Test: atest MockingOomAdjusterTests
Change-Id: If61a700c092574b1fc3a7a456d89dd0e478d2672
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions