Searched refs:g_deathRecipient (Results 1 – 7 of 7) sorted by relevance
28 sptr<IRemoteObject::DeathRecipient> g_deathRecipient = nullptr; variable47 g_hiviewServiceAbilityProxy->RemoveDeathRecipient(g_deathRecipient); in OnRemoteDied()49 g_deathRecipient = nullptr; in OnRemoteDied()73 g_deathRecipient = sptr<IRemoteObject::DeathRecipient>(new HiviewServiceDeathRecipient()); in GetHiViewRemoteService()74 if (g_deathRecipient == nullptr) { in GetHiViewRemoteService()79 g_hiviewServiceAbilityProxy->AddDeathRecipient(g_deathRecipient); in GetHiViewRemoteService()
26 sptr<BatteryInterfaceImpl::BatteryDeathRecipient> g_deathRecipient = nullptr; variable85 g_deathRecipient = new BatteryInterfaceImpl::BatteryDeathRecipient(this); in Register()86 if (g_deathRecipient == nullptr) { in Register()330 bool result = remote->AddDeathRecipient(g_deathRecipient); in AddBatteryDeathRecipient()346 bool result = remote->RemoveDeathRecipient(g_deathRecipient); in RemoveBatteryDeathRecipient()
86 sptr<PowerInterfaceImpl::PowerDeathRecipient> g_deathRecipient = nullptr; variable127 g_deathRecipient = new PowerDeathRecipient(this); in RegisterCallback()128 if (g_deathRecipient == nullptr) { in RegisterCallback()342 bool result = remote->AddDeathRecipient(g_deathRecipient); in AddPowerDeathRecipient()354 bool result = remote->RemoveDeathRecipient(g_deathRecipient); in RemovePowerDeathRecipient()
36 static struct RemoteServiceDeathRecipient g_deathRecipient = { variable52 HdfRemoteServiceAddDeathRecipient(callbacks->remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
30 sptr<RilImpl::RilDeathRecipient> g_deathRecipient = nullptr; variable464 g_deathRecipient = new RilDeathRecipient(this); in SetCallback1_3()465 if (g_deathRecipient == nullptr) { in SetCallback1_3()683 if (!remote->AddDeathRecipient(g_deathRecipient)) { in AddRilDeathRecipient()696 if (!remote->RemoveDeathRecipient(g_deathRecipient)) { in RemoveRilDeathRecipient()
719 static struct RemoteServiceDeathRecipient g_deathRecipient = { variable737 HdfRemoteServiceAddDeathRecipient(remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
1064 static struct RemoteServiceDeathRecipient g_deathRecipient = { variable1082 HdfRemoteServiceAddDeathRecipient(remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()