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
Change-Id: I1c65c93577aee287e26fa23ded43d9e2efc90bf2
1 file changed