Searched refs:g_deathRecipient (Results 1 – 4 of 4) sorted by relevance
26 sptr<BatteryInterfaceImpl::BatteryDeathRecipient> g_deathRecipient = nullptr; variable91 g_deathRecipient = new BatteryInterfaceImpl::BatteryDeathRecipient(this); in Register()92 if (g_deathRecipient == nullptr) { in Register()251 bool result = remote->AddDeathRecipient(g_deathRecipient); in AddBatteryDeathRecipient()267 bool result = remote->RemoveDeathRecipient(g_deathRecipient); in RemoveBatteryDeathRecipient()
70 sptr<PowerInterfaceImpl::PowerDeathRecipient> g_deathRecipient = nullptr; variable88 g_deathRecipient = new PowerDeathRecipient(this); in RegisterCallback()89 if (g_deathRecipient == nullptr) { in RegisterCallback()232 bool result = remote->AddDeathRecipient(g_deathRecipient); in AddPowerDeathRecipient()244 bool result = remote->RemoveDeathRecipient(g_deathRecipient); in RemovePowerDeathRecipient()
36 static struct RemoteServiceDeathRecipient g_deathRecipient = { variable48 HdfRemoteServiceAddDeathRecipient(callbacks->remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
28 sptr<RilImpl::RilDeathRecipient> g_deathRecipient = nullptr; variable431 g_deathRecipient = new RilDeathRecipient(this); in SetCallback()432 if (g_deathRecipient == nullptr) { in SetCallback()653 if (!remote->AddDeathRecipient(g_deathRecipient)) { in AddRilDeathRecipient()663 if (!remote->RemoveDeathRecipient(g_deathRecipient)) { in RemoveRilDeathRecipient()