Home
last modified time | relevance | path

Searched refs:recipient (Results 1 - 25 of 29) sorted by relevance

12

/drivers/peripheral/display/buffer/test/unittest/
H A Ddeath_test.cpp44 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 Dhdi_death_test.cpp44 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 Dhdf_remote_service.c20 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 Dhdf_remote_adapter.cpp90 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 Ddevhost_service_proxy.c70 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 Ddevsvc_manager_stub.c151 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 Dhdf_remote_adapter_if.h38 void HdfRemoteAdapterAddDeathRecipient(struct HdfRemoteService *service, struct HdfDeathRecipient *recipient);
40 void HdfRemoteAdapterRemoveDeathRecipient(struct HdfRemoteService *service, const struct HdfDeathRecipient *recipient);
H A Dhdf_remote_adapter.h46 HdfDeathNotifier(struct HdfRemoteService *service, struct HdfDeathRecipient *recipient);
/drivers/hdf_core/interfaces/inner_api/ipc/
H A Dhdf_remote_service.h101 * @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 Ddevhost_service_proxy.h29 struct HdfDeathRecipient recipient; member
H A Ddevsvc_manager_stub.h34 struct HdfDeathRecipient recipient; member
/drivers/hdf_core/adapter/uhdf2/host/include/
H A Ddevsvc_manager_proxy.h28 struct HdfDeathRecipient recipient; member
/drivers/peripheral/codec/hal/include/
H A Dcodec_component_manager_service.h43 struct HdfDeathRecipient recipient; member
/drivers/hdf_core/adapter/uhdf2/host/src/
H A Ddevsvc_manager_proxy.c212 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 Ddisplay_gralloc_client.cpp63 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 Ddisplay_buffer_hdi_impl.h96 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 Dintell_voice_trigger_adapter_impl.cpp190 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 Didisplay_buffer.h32 virtual bool AddDeathRecipient(const sptr<IRemoteObject::DeathRecipient>& recipient) = 0;
/drivers/peripheral/codec/hal/src/
H A Dcodec_component_manager_service.c37 .recipient = {
52 HdfRemoteServiceAddDeathRecipient(callbacks->remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/
H A Ddevhost_test.cpp132 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 Dhostapd_common_cmd.h103 struct HdfDeathRecipient recipient; member
H A Dhostapd_common_cmd.c720 .recipient = {
737 HdfRemoteServiceAddDeathRecipient(remote, &g_deathRecipient.recipient); in AddDeathRecipientForService()
/drivers/peripheral/location/agnss/hdi_service/
H A Dagnss_interface_impl.cpp271 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 Dwpa_common_cmd.h117 struct HdfDeathRecipient recipient; member
/drivers/interface/display/composer/v1_0/hdi_impl/
H A Ddisplay_composer_hdi_impl.h92 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;

Completed in 12 milliseconds

12