| commit | 3faaa0005ba96daac7400693a6a5f03a18ec41be | [log] [tgz] |
|---|---|---|
| author | Devin Moore <devinmoore@google.com> | Wed Jul 27 15:54:06 2022 +0000 |
| committer | Devin Moore <devinmoore@google.com> | Thu Aug 18 22:41:57 2022 +0000 |
| tree | b83042cbef9d3bb36973e6e2e2c9a24380632d90 | |
| parent | fc20cdf533b63de60923712b57c535f540c754b4 [diff] |
Add lookupOrCreateWeak to ObjectManager This looks for an attached object on the binder, attempts to promote it, and returns the object if it could be promoted. Otherwise, it will create a new object and attach it to the binder. Test: atest binderUnitTest aidl_integration_test Bug: 220141324 Change-Id: I2c8baa211300fa3ada50f2b2c93862f8c968be26