Searched refs:death (Results 1 – 2 of 2) sorted by relevance
249 sptr<IRemoteObject::DeathRecipient> death(new (std::nothrow) AgnssCallBackDeathRecipient(this)); in AddAgnssDeathRecipient() local251 bool result = remote->AddDeathRecipient(death); in AddAgnssDeathRecipient()257 g_agnssCallBackDeathRecipientMap[remote.GetRefPtr()] = death; in AddAgnssDeathRecipient()
363 sptr<IRemoteObject::DeathRecipient> death(new (std::nothrow) GnssCallBackDeathRecipient(this)); in AddGnssDeathRecipient() local365 bool result = remote->AddDeathRecipient(death); in AddGnssDeathRecipient()371 g_gnssCallBackDeathRecipientMap[remote.GetRefPtr()] = death; in AddGnssDeathRecipient()