Lines Matching refs:deathRecipient
90 info->deathRecipient->SetDeathRecipient([this, weakClientInfo](const wptr<IRemoteObject> &) {
103 if (obj->IsProxyObject() && !obj->AddDeathRecipient(info->deathRecipient)) {
130 if (clientInfo->deathRecipient != nullptr) {
131 IMSA_HILOGD("deathRecipient remove.");
132 client->RemoveDeathRecipient(clientInfo->deathRecipient);
858 sptr<InputDeathRecipient> deathRecipient = new (std::nothrow) InputDeathRecipient();
859 if (deathRecipient == nullptr) {
860 IMSA_HILOGE("failed to new deathRecipient!");
863 deathRecipient->SetDeathRecipient([this, core, type](const wptr<IRemoteObject> &) { this->OnImeDied(core, type); });
865 if (coreObject == nullptr || (coreObject->IsProxyObject() && !coreObject->AddDeathRecipient(deathRecipient))) {
870 auto imeData = std::make_shared<ImeData>(core, agent, deathRecipient, pid);
910 data->core->AsObject()->RemoveDeathRecipient(data->deathRecipient);
1440 sptr<InputDeathRecipient> deathRecipient = new (std::nothrow) InputDeathRecipient();
1441 if (deathRecipient == nullptr) {
1442 IMSA_HILOGE("failed to new deathRecipient!");
1446 deathRecipient->SetDeathRecipient([this, core, type](const wptr<IRemoteObject> &) { this->OnImeDied(core, type); });
1448 if (coreObject == nullptr || (coreObject->IsProxyObject() && !coreObject->AddDeathRecipient(deathRecipient))) {
1452 it->second->deathRecipient = deathRecipient;