• Home
  • Raw
  • Download

Lines Matching refs:recipient

407     sp<AIBinder_DeathRecipient> recipient = mParentRecipient.promote();  in binderDied()  local
411 if (recipient != nullptr && strongWho != nullptr) { in binderDied()
412 status_t result = recipient->unlinkToDeath(strongWho, mCookie); in binderDied()
439 sp<TransferDeathRecipient> recipient = in linkToDeath() local
442 status_t status = binder->linkToDeath(recipient, cookie, 0 /*flags*/); in linkToDeath()
449 mDeathRecipients.push_back(recipient); in linkToDeath()
461 sp<TransferDeathRecipient> recipient = *it; in unlinkToDeath() local
463 if (recipient->getCookie() == cookie && recipient->getWho() == binder) { in unlinkToDeath()
466 status_t status = binder->unlinkToDeath(recipient, cookie, 0 /*flags*/); in unlinkToDeath()
548 binder_status_t AIBinder_linkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient, in AIBinder_linkToDeath() argument
550 if (binder == nullptr || recipient == nullptr) { in AIBinder_linkToDeath()
552 << recipient << ")"; in AIBinder_linkToDeath()
557 return recipient->linkToDeath(binder->getBinder(), cookie); in AIBinder_linkToDeath()
560 binder_status_t AIBinder_unlinkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient, in AIBinder_unlinkToDeath() argument
562 if (binder == nullptr || recipient == nullptr) { in AIBinder_unlinkToDeath()
564 << recipient << ")"; in AIBinder_unlinkToDeath()
569 return recipient->unlinkToDeath(binder->getBinder(), cookie); in AIBinder_unlinkToDeath()
738 void AIBinder_DeathRecipient_setOnUnlinked(AIBinder_DeathRecipient* recipient, in AIBinder_DeathRecipient_setOnUnlinked() argument
740 if (recipient == nullptr) { in AIBinder_DeathRecipient_setOnUnlinked()
744 recipient->setOnUnlinked(onUnlinked); in AIBinder_DeathRecipient_setOnUnlinked()
747 void AIBinder_DeathRecipient_delete(AIBinder_DeathRecipient* recipient) { in AIBinder_DeathRecipient_delete() argument
748 if (recipient == nullptr) { in AIBinder_DeathRecipient_delete()
752 recipient->decStrong(nullptr); in AIBinder_DeathRecipient_delete()