/drivers/peripheral/display/buffer/test/unittest/ |
H A D | death_test.cpp | 44 sptr<IRemoteObject::DeathRecipient> recipient = new BufferDiedRecipient(); in HWTEST_F() local 45 ASSERT_TRUE(recipient != nullptr); in HWTEST_F() 46 auto ret = displayBuffer_->AddDeathRecipient(recipient); in HWTEST_F() 56 sptr<IRemoteObject::DeathRecipient> recipient = new BufferDiedRecipient(); in HWTEST_F() local 57 ASSERT_TRUE(recipient != nullptr); in HWTEST_F() 58 auto ret = displayBuffer_->AddDeathRecipient(recipient); in HWTEST_F()
|
/drivers/peripheral/display/composer/test/unittest/ |
H A D | hdi_death_test.cpp | 44 sptr<IRemoteObject::DeathRecipient> recipient = new ComposerDiedRecipient(); in HWTEST_F() local 45 ASSERT_TRUE(recipient != nullptr); in HWTEST_F() 46 auto ret = displayComposer_->AddDeathRecipient(recipient); in HWTEST_F() 56 sptr<IRemoteObject::DeathRecipient> recipient = new ComposerDiedRecipient(); in HWTEST_F() local 57 ASSERT_TRUE(recipient != nullptr); in HWTEST_F() 58 auto ret = displayComposer_->AddDeathRecipient(recipient); in HWTEST_F()
|
/drivers/hdf_core/adapter/uhdf2/ipc/src/ |
H A D | hdf_remote_service.c | 20 struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) in HdfRemoteServiceAddDeathRecipient() 22 HdfRemoteAdapterAddDeathRecipient(service, recipient); in HdfRemoteServiceAddDeathRecipient() 26 struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) in HdfRemoteServiceRemoveDeathRecipient() 28 HdfRemoteAdapterRemoveDeathRecipient(service, recipient); in HdfRemoteServiceRemoveDeathRecipient() 19 HdfRemoteServiceAddDeathRecipient( struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) HdfRemoteServiceAddDeathRecipient() argument 25 HdfRemoteServiceRemoveDeathRecipient( struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) HdfRemoteServiceRemoveDeathRecipient() argument
|
H A D | hdf_remote_adapter.cpp | 90 HdfDeathNotifier::HdfDeathNotifier(struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) in HdfDeathNotifier() argument 91 : recipient_(recipient), service_(service) in HdfDeathNotifier() 177 struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) in HdfRemoteAdapterAddDeathRecipient() 190 holder->deathRecipient_ = new HdfDeathNotifier(service, recipient); in HdfRemoteAdapterAddDeathRecipient() 195 struct HdfRemoteService *service, const struct HdfDeathRecipient *recipient) in HdfRemoteAdapterRemoveDeathRecipient() 198 (void)recipient; in HdfRemoteAdapterRemoveDeathRecipient() 176 HdfRemoteAdapterAddDeathRecipient( struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) HdfRemoteAdapterAddDeathRecipient() argument 194 HdfRemoteAdapterRemoveDeathRecipient( struct HdfRemoteService *service, const struct HdfDeathRecipient *recipient) HdfRemoteAdapterRemoveDeathRecipient() argument
|
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devhost_service_proxy.c | 70 void DevHostServiceProxyOnRemoteDied(struct HdfDeathRecipient *recipient, struct HdfRemoteService *service) in DevHostServiceProxyOnRemoteDied() argument 72 if (recipient == NULL || service == NULL) { in DevHostServiceProxyOnRemoteDied() 85 struct HdfDeathRecipient, recipient, struct DevHostServiceProxy, recipient); in DevHostServiceProxyOnRemoteDied() 112 inst->recipient.OnRemoteDied = DevHostServiceProxyOnRemoteDied; in DevHostServiceProxyConstruct() 117 HdfRemoteServiceAddDeathRecipient(remote, &inst->recipient); in DevHostServiceProxyConstruct()
|
H A D | devsvc_manager_stub.c | 151 HdfRemoteServiceRemoveDeathRecipient(serviceRemote, &stub->recipient); in ReleaseServiceObjectHolder() 191 HdfRemoteServiceAddDeathRecipient(service, &stub->recipient); in ObtainServiceObject() 210 HdfRemoteServiceRemoveDeathRecipient(serviceRemote, &stub->recipient); in ReleaseServiceObject() 560 void DevSvcManagerOnServiceDied(struct HdfDeathRecipient *recipient, struct HdfRemoteService *remote) in DevSvcManagerOnServiceDied() argument 563 HDF_SLIST_CONTAINER_OF(struct HdfDeathRecipient, recipient, struct DevSvcManagerStub, recipient); in DevSvcManagerOnServiceDied() 626 inst->recipient.OnRemoteDied = DevSvcManagerOnServiceDied; in DevSvcManagerStubStart()
|
/drivers/hdf_core/adapter/uhdf2/ipc/include/ |
H A D | hdf_remote_adapter_if.h | 38 void HdfRemoteAdapterAddDeathRecipient(struct HdfRemoteService *service, struct HdfDeathRecipient *recipient); 40 void HdfRemoteAdapterRemoveDeathRecipient(struct HdfRemoteService *service, const struct HdfDeathRecipient *recipient);
|
H A D | hdf_remote_adapter.h | 46 HdfDeathNotifier(struct HdfRemoteService *service, struct HdfDeathRecipient *recipient);
|
/drivers/hdf_core/interfaces/inner_api/ipc/ |
H A D | hdf_remote_service.h | 101 * @param recipient Indicates the pointer to the callback object containing the code to be executed 104 void HdfRemoteServiceAddDeathRecipient(struct HdfRemoteService *service, struct HdfDeathRecipient *recipient); 110 * @param recipient Indicates the pointer to the callback object to remove. 112 void HdfRemoteServiceRemoveDeathRecipient(struct HdfRemoteService *service, struct HdfDeathRecipient *recipient);
|
/drivers/hdf_core/adapter/uhdf2/manager/include/ |
H A D | devhost_service_proxy.h | 29 struct HdfDeathRecipient recipient; member
|
H A D | devsvc_manager_stub.h | 34 struct HdfDeathRecipient recipient; member
|
/drivers/hdf_core/adapter/uhdf2/host/include/ |
H A D | devsvc_manager_proxy.h | 28 struct HdfDeathRecipient recipient; member
|
/drivers/peripheral/codec/hal/include/ |
H A D | codec_component_manager_service.h | 43 struct HdfDeathRecipient recipient; member
|
/drivers/hdf_core/adapter/uhdf2/host/src/ |
H A D | devsvc_manager_proxy.c | 212 static void DevSvcManagerProxyOnRemoteDied(struct HdfDeathRecipient *recipient, struct HdfRemoteService *service) in DevSvcManagerProxyOnRemoteDied() argument 216 if (recipient == NULL || service == NULL || instance == NULL) { in DevSvcManagerProxyOnRemoteDied() 220 (void)recipient; in DevSvcManagerProxyOnRemoteDied() 237 inst->recipient.OnRemoteDied = DevSvcManagerProxyOnRemoteDied; in DevSvcManagerProxyConstruct() 238 HdfRemoteServiceAddDeathRecipient(remote, &inst->recipient); in DevSvcManagerProxyConstruct()
|
/drivers/peripheral/display/hdi_service/gralloc/client/ |
H A D | display_gralloc_client.cpp | 63 const sptr<IRemoteObject::DeathRecipient> recipient = new GrallocDeathRecipient(func, data); in RegAllocatorDeathCallback() local 68 bool ret = allocatorProxy_->AsObject()->AddDeathRecipient(recipient); in RegAllocatorDeathCallback()
|
/drivers/interface/display/buffer/v1_0/hdi_impl/ |
H A D | display_buffer_hdi_impl.h | 96 bool AddDeathRecipient(const sptr<IRemoteObject::DeathRecipient>& recipient) override 100 HDF_LOGE("%{public}s: the existing recipient is removed, and add the new. %{public}d", 104 bool ret = remoteObj->AddDeathRecipient(recipient); 106 recipient_ = recipient;
|
/drivers/peripheral/intelligent_voice/hdi_service/trigger/ |
H A D | intell_voice_trigger_adapter_impl.cpp | 190 sptr<IntellVoiceDeathRecipient> recipient = new (std::nothrow) IntellVoiceDeathRecipient( in RegisterDeathRecipient() local 192 if (recipient == nullptr) { in RegisterDeathRecipient() 193 INTELLIGENT_VOICE_LOGE("create death recipient failed"); in RegisterDeathRecipient() 197 if (!object->AddDeathRecipient(recipient)) { in RegisterDeathRecipient() 198 INTELLIGENT_VOICE_LOGE("add death recipient failed"); in RegisterDeathRecipient() 203 deathRecipientMap_[object.GetRefPtr()] = recipient; in RegisterDeathRecipient() 204 INTELLIGENT_VOICE_LOGI("register death recipient success"); in RegisterDeathRecipient() 249 INTELLIGENT_VOICE_LOGI("handle set is empty, remove death recipient"); in DeregisterDeathRecipient()
|
/drivers/interface/display/buffer/v1_0/include/ |
H A D | idisplay_buffer.h | 32 virtual bool AddDeathRecipient(const sptr<IRemoteObject::DeathRecipient>& recipient) = 0;
|
/drivers/peripheral/codec/hal/src/ |
H A D | codec_component_manager_service.c | 37 .recipient = { 52 HdfRemoteServiceAddDeathRecipient(callbacks->remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
|
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/ |
H A D | devhost_test.cpp | 132 struct HdfDeathRecipient recipient; in HWTEST_F() local 133 proxy->recipient.OnRemoteDied(&recipient, nullptr); in HWTEST_F() 134 proxy->recipient.OnRemoteDied(nullptr, nullptr); in HWTEST_F()
|
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/ |
H A D | hostapd_common_cmd.h | 103 struct HdfDeathRecipient recipient; member
|
H A D | hostapd_common_cmd.c | 720 .recipient = { 737 HdfRemoteServiceAddDeathRecipient(remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
|
/drivers/peripheral/location/agnss/hdi_service/ |
H A D | agnss_interface_impl.cpp | 271 auto recipient = iter->second; in RemoveAgnssDeathRecipient() local 272 bool result = remote->RemoveDeathRecipient(recipient); in RemoveAgnssDeathRecipient()
|
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | wpa_common_cmd.h | 117 struct HdfDeathRecipient recipient;
member
|
/drivers/interface/display/composer/v1_0/hdi_impl/ |
H A D | display_composer_hdi_impl.h | 92 virtual bool AddDeathRecipient(const sptr<IRemoteObject::DeathRecipient>& recipient) override 96 HDF_LOGI("%{public}s: the existing recipient is removed, and add the new. %{public}d", 100 bool ret = remoteObj->AddDeathRecipient(recipient); 102 recipient_ = recipient;
|