diff options
| author | 2023-10-03 00:03:28 -0700 | |
|---|---|---|
| committer | 2024-03-28 09:02:50 -0700 | |
| commit | 698f25b5e8a8a22f65726e8a6c56314a87381358 (patch) | |
| tree | c7d769ac1fb1545ece3f87b2d970c2cce2d2497b /libs/input/KeyLayoutMap.cpp | |
| parent | 199532b492288fc0c91df363cc87ef4e2eb97bff (diff) | |
Add a new callback for the excessive binder proxy count
The callback is served as a warning where there are too many
binder proxies from a certain UID. The recipient of the callback
would then have a chance to log this event and/or trigger a dump,
before things getting out-of-control and trigger the high watermark
callback, where the process could be killed.
This callback signal could also be used as a hint to the GC in
the upper layer, which could effectively release the references to
remote binder stubs.
Ignore-AOSP-First: Will merge into AOSP after merging the frameworks/base
changes
Bug: 298263955
Test: binder_bpBinderFuzz
Change-Id: I5d3659a9430c7404f7cfdfe4732980f5b1b0fa65
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions