Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hiview/adapter/service/client/src/
H A Dhiview_remote_service.cpp28 sptr<IRemoteObject::DeathRecipient> g_deathRecipient = nullptr; variable
47 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()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_interface_impl.cpp26 sptr<BatteryInterfaceImpl::BatteryDeathRecipient> g_deathRecipient = nullptr; variable
85 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()
/ohos5.0/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dpower_interface_impl.cpp86 sptr<PowerInterfaceImpl::PowerDeathRecipient> g_deathRecipient = nullptr; variable
127 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()
/ohos5.0/drivers/peripheral/codec/hal/src/
H A Dcodec_component_manager_service.c36 static struct RemoteServiceDeathRecipient g_deathRecipient = { variable
52 HdfRemoteServiceAddDeathRecipient(callbacks->remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
/ohos5.0/drivers/peripheral/ril/interfaces/hdi_service/src/
H A Dril_impl.cpp30 sptr<RilImpl::RilDeathRecipient> g_deathRecipient = nullptr; variable
464 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()
/ohos5.0/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/
H A Dhostapd_common_cmd.c719 static struct RemoteServiceDeathRecipient g_deathRecipient = { variable
737 HdfRemoteServiceAddDeathRecipient(remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
/ohos5.0/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_common_cmd.c1064 static struct RemoteServiceDeathRecipient g_deathRecipient = { variable
1082 HdfRemoteServiceAddDeathRecipient(remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()