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

Skip to content
Commit ffdaf7b0 authored by Devin Moore's avatar Devin Moore
Browse files

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
parent 3faaa000
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment