| commit | d3805312d73433e34ef69a645b553a2969c5dc93 | [log] [tgz] |
|---|---|---|
| author | Devin Moore <devinmoore@google.com> | Thu Apr 11 21:57:03 2024 +0000 |
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 06 00:21:44 2024 +0000 |
| tree | 8f06b25ad6750064bfa4a20426e3395c6b34e9be | |
| parent | 1d8bd33b9caf97c008036732c10a8e31dca5d85d [diff] |
Create and use a death recipient cookie object
It stores the service we want to notify on the death of the binder, and
it's deleted in the onUnlink callback.
Ignore-AOSP-First: b/319210610
Test: cd system/security/keystore2 && atest -p
Test: CTS-verifier app -> Security -> Protected Confirmation Test
Test: Start TEE test and kill confui HAL after linkToDeath
Test: adb shell kill -9 `pid \
android.hardware.confirmationui-service.cuttlefish`
Bug: 319210610
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ade978699c699f610a28455d8549c0243303767b)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:95427c76cb3c699114d6d51f0589ca684e4c7286)
Merged-In: I1c65c93577aee287e26fa23ded43d9e2efc90bf2
Change-Id: I1c65c93577aee287e26fa23ded43d9e2efc90bf2