Loading libs/binder/ndk/include_ndk/android/binder_ibinder.h +6 −0 Original line number Original line Diff line number Diff line Loading @@ -594,6 +594,9 @@ typedef void (*AIBinder_DeathRecipient_onBinderDied)(void* cookie) __INTRODUCED_ * * * See also AIBinder_linkToDeath/AIBinder_unlinkToDeath. * See also AIBinder_linkToDeath/AIBinder_unlinkToDeath. * * * WARNING: Make sure the lifetime of this cookie is long enough. If it is dynamically * allocated, it should be deleted with AIBinder_DeathRecipient_setOnUnlinked. * * Available since API level 33. * Available since API level 33. * * * \param cookie the cookie passed to AIBinder_linkToDeath. * \param cookie the cookie passed to AIBinder_linkToDeath. Loading @@ -605,6 +608,9 @@ typedef void (*AIBinder_DeathRecipient_onBinderUnlinked)(void* cookie) __INTRODU * * * Available since API level 29. * Available since API level 29. * * * WARNING: Make sure the lifetime of this cookie is long enough. If it is dynamically * allocated, it should be deleted with AIBinder_DeathRecipient_setOnUnlinked. * * \param onBinderDied the callback to call when this death recipient is invoked. * \param onBinderDied the callback to call when this death recipient is invoked. * * * \return the newly constructed object (or null if onBinderDied is null). * \return the newly constructed object (or null if onBinderDied is null). Loading Loading
libs/binder/ndk/include_ndk/android/binder_ibinder.h +6 −0 Original line number Original line Diff line number Diff line Loading @@ -594,6 +594,9 @@ typedef void (*AIBinder_DeathRecipient_onBinderDied)(void* cookie) __INTRODUCED_ * * * See also AIBinder_linkToDeath/AIBinder_unlinkToDeath. * See also AIBinder_linkToDeath/AIBinder_unlinkToDeath. * * * WARNING: Make sure the lifetime of this cookie is long enough. If it is dynamically * allocated, it should be deleted with AIBinder_DeathRecipient_setOnUnlinked. * * Available since API level 33. * Available since API level 33. * * * \param cookie the cookie passed to AIBinder_linkToDeath. * \param cookie the cookie passed to AIBinder_linkToDeath. Loading @@ -605,6 +608,9 @@ typedef void (*AIBinder_DeathRecipient_onBinderUnlinked)(void* cookie) __INTRODU * * * Available since API level 29. * Available since API level 29. * * * WARNING: Make sure the lifetime of this cookie is long enough. If it is dynamically * allocated, it should be deleted with AIBinder_DeathRecipient_setOnUnlinked. * * \param onBinderDied the callback to call when this death recipient is invoked. * \param onBinderDied the callback to call when this death recipient is invoked. * * * \return the newly constructed object (or null if onBinderDied is null). * \return the newly constructed object (or null if onBinderDied is null). Loading