diff options
| author | 2022-08-03 20:47:14 +0000 | |
|---|---|---|
| committer | 2022-08-18 23:28:10 +0000 | |
| commit | ffdaf7b03de2f998d5e0eb4b5c772ad38ab7a44c (patch) | |
| tree | bd4096132641a0e899511e2e34975d332c790dda /libs/gui/LayerDebugInfo.cpp | |
| parent | 3faaa0005ba96daac7400693a6a5f03a18ec41be (diff) | |
Add a delegate helper for AIDL Delegators
This will check if the binder already has/is a delegator by looking in the
attached objects and attempting to promote the object with the right
objectID.
If the object is already a delegator, it will be unwrapped.
If the object already has a delegator, the delegator will be returned
instead.
If neither of those is true, it will create new delegator that wraps the
binder and return the new delegator.
Test: atest binderUnitTest aidl_integration_test
Bug: 220141324
Change-Id: Ide61342ae5eb30525196384b40c460934146621f
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions