Home
last modified time | relevance | path

Searched refs:g_deathRecipient (Results 1 – 4 of 4) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/src/
Dbattery_interface_impl.cpp26 sptr<BatteryInterfaceImpl::BatteryDeathRecipient> g_deathRecipient = nullptr; variable
91 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()
/drivers/peripheral/power/interfaces/hdi_service/src/
Dpower_interface_impl.cpp70 sptr<PowerInterfaceImpl::PowerDeathRecipient> g_deathRecipient = nullptr; variable
88 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()
/drivers/peripheral/codec/hal/src/
Dcodec_component_manager_service.c36 static struct RemoteServiceDeathRecipient g_deathRecipient = { variable
48 HdfRemoteServiceAddDeathRecipient(callbacks->remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
/drivers/peripheral/ril/interfaces/hdi_service/src/
Dril_impl.cpp28 sptr<RilImpl::RilDeathRecipient> g_deathRecipient = nullptr; variable
431 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()