summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Michael Wachenschwanz <mwachens@google.com> 2024-02-08 14:24:01 -0800
committer Michael Wachenschwanz <mwachens@google.com> 2024-05-13 10:34:48 -0700
commit0160e5ccf912ed74cd19402d556f959c2a9b2136 (patch)
tree273ee06c7bc63b323730f1b4834d567ed0fb71ce /libs/androidfw/ObbFile.cpp
parente801982cc63f405240c1c799cc793813e5174203 (diff)
Skip traversing unimportant connections
A connection from a client to host process only needs to be evaluated if the client is more important than the host is some dimension. Otherwise, the connection can be skipped. Also, if none of the targets of an update has a reduction in importance, the reachable processes do not need to be recalculated before traversal because their importance values can only stay the same or increase. (Enable/disable with adb shell device_config put backstage_power com.android.server.am.skip_unimportant_connections true/false) Bug: 323376416 Test: atest MockingOomAdjusterTests Change-Id: I1b7dcad4bb20036e41e0dbc88c002540600afb93
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions