commit | 727f7bf84f28765608548a6afe8f54c43a4ccf64 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Tue Dec 27 14:33:09 2016 +0100 |
committer | Iliyan Malchev <malchev@google.com> | Thu Dec 29 04:22:30 2016 +0000 |
tree | 29aa8f28bcc12c26e359103f974a71d7df60e223 | |
parent | fba752e64c3dc4882789042e7fa3aec1893fce95 [diff] |
Add (un)linkToDeath support to HwBinder. This is mostly copied over from binder's existing death recipient support. The implementation keeps a list of registered recipients, both for being able to map a native recipient back to the corresponding Java recipient, as well as being able to unregister recipients correctly. Test: mma, hidl_test_java Bug: 31632518 Change-Id: Id313fd248be6925056c4ade8298fe5fb04e007cc