/foundation/communication/ipc/ipc/native/src/jni/source/ |
D | ohos_rpc_remote_object.cpp | 136 bool Add(const sptr<JDeathRecipient> &recipient); 138 bool Remove(const sptr<JDeathRecipient> &recipient); 140 sptr<JDeathRecipient> Find(jobject recipient); 350 bool JDeathRecipientList::Add(const sptr<JDeathRecipient> &recipient) in Add() argument 353 auto ret = set_.insert(recipient); in Add() 357 bool JDeathRecipientList::Remove(const sptr<JDeathRecipient> &recipient) in Remove() argument 360 return (set_.erase(recipient) > 0); in Remove() 363 sptr<JDeathRecipient> JDeathRecipientList::Find(jobject recipient) in Find() argument 368 if ((*it)->Matches(recipient)) { in Find() 685 …L Java_ohos_rpc_RemoteProxy_nativeAddDeathRecipient(JNIEnv *env, jobject object, jobject recipient, in Java_ohos_rpc_RemoteProxy_nativeAddDeathRecipient() argument [all …]
|
/foundation/multimodalinput/input/interfaces/native/innerkits/common/include/ |
D | mmi_token.h | 40 virtual bool AddDeathRecipient(const sptr<DeathRecipient>& recipient) override in AddDeathRecipient() argument 44 virtual bool RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) override in RemoveDeathRecipient() argument
|
/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/ |
D | iremote_object.h | 63 virtual bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) = 0; 65 virtual bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) = 0;
|
D | ipc_object_proxy.h | 48 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override; 50 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override;
|
D | ipc_object_stub.h | 57 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override; 59 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override;
|
/foundation/aafwk/standard/interfaces/innerkits/uri_permission/src/ |
D | uri_permission_manager_client.cpp | 77 sptr<UpmsDeathRecipient> recipient(new UpmsDeathRecipient(onClearProxyCallback)); in ConnectUriPermService() local 78 uriPermMgr_->AsObject()->AddDeathRecipient(recipient); in ConnectUriPermService()
|
/foundation/aafwk/standard/services/abilitymgr/src/ |
D | call_container.cpp | 34 [&](RecipientMapType::reference recipient) { in ~CallContainer() argument 35 recipient.first->RemoveDeathRecipient(recipient.second); in ~CallContainer()
|
/foundation/communication/ipc/ipc/native/src/jni/include/ |
D | ohos_rpc_remote_object.h | 141 …LL Java_ohos_rpc_RemoteProxy_nativeAddDeathRecipient(JNIEnv *env, jobject clazz, jobject recipient, 149 …Java_ohos_rpc_RemoteProxy_nativeRemoveDeathRecipient(JNIEnv *env, jobject clazz, jobject recipient,
|
/foundation/communication/ipc/ipc/native/src/core/source/ |
D | ipc_object_proxy.cpp | 263 bool IPCObjectProxy::AddDeathRecipient(const sptr<DeathRecipient> &recipient) in AddDeathRecipient() argument 275 recipients_.push_back(recipient); in AddDeathRecipient() 318 bool IPCObjectProxy::RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) in RemoveDeathRecipient() argument 325 auto it = find(recipients_.begin(), recipients_.end(), recipient); in RemoveDeathRecipient() 370 sptr<DeathRecipient> recipient = recipients_[i]; in SendObituary() local 372 if (recipient != nullptr) { in SendObituary() 373 recipient->OnRemoteDied(this); in SendObituary()
|
D | ipc_object_stub.cpp | 281 bool IPCObjectStub::AddDeathRecipient(const sptr<DeathRecipient> &recipient) in AddDeathRecipient() argument 283 (void)recipient; in AddDeathRecipient() 287 bool IPCObjectStub::RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) in RemoveDeathRecipient() argument
|
/foundation/aafwk/standard/frameworks/kits/appkit/native/test/unittest/ |
D | ability_stage_test.cpp | 57 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override in AddDeathRecipient() argument 62 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override in RemoveDeathRecipient() argument
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/service/rdb/ |
D | rdb_service_impl.cpp | 155 auto recipient = new(std::nothrow) DeathRecipientImpl([this, pid] { in InitNotifier() local 158 if (recipient == nullptr) { in InitNotifier() 163 if (!notifier->AddDeathRecipient(recipient)) { in InitNotifier()
|
/foundation/appexecfwk/standard/tools/bm/src/ |
D | bundle_command.cpp | 1577 sptr<BundleDeathRecipient> recipient(new (std::nothrow) BundleDeathRecipient(statusReceiver)); in InstallOperation() local 1578 if (recipient == nullptr) { in InstallOperation() 1582 bundleInstallerProxy_->AsObject()->AddDeathRecipient(recipient); in InstallOperation() 1599 sptr<BundleDeathRecipient> recipient(new (std::nothrow) BundleDeathRecipient(statusReceiver)); in UninstallOperation() local 1600 if (recipient == nullptr) { in UninstallOperation() 1604 bundleInstallerProxy_->AsObject()->AddDeathRecipient(recipient); in UninstallOperation()
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/map_mse/ |
D | map_mse_bmsg.h | 58 void SetRecipients(const std::vector<MapMseVcard> &recipient);
|
D | map_mse_bmsg.cpp | 527 void MapMseBmsg::SetRecipients(const std::vector<MapMseVcard> &recipient) in SetRecipients() argument 529 recipient_ = recipient; in SetRecipients()
|
D | map_mse_resource.cpp | 1601 for (auto &recipient : recipients) { in NotifySendMessage() local 1602 if (recipient.GetEnvLevel() == 0) { in NotifySendMessage() 1604 msgInfo.phoneNumber = recipient.GetFirstPhoneNumber(); in NotifySendMessage() 1605 msgInfo.emailAddress = recipient.GetFirstEmail(); in NotifySendMessage()
|
/foundation/aafwk/standard/frameworks/kits/appkit/test/Mock/include/ |
D | mock_ipc_object_stub.cpp | 271 bool IPCObjectStub::AddDeathRecipient(const sptr<DeathRecipient> &recipient) in AddDeathRecipient() argument 276 bool IPCObjectStub::RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) in RemoveDeathRecipient() argument
|
D | mock_app_mgr_service.h | 258 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) in AddDeathRecipient() argument
|
/foundation/aafwk/standard/services/appmgr/include/ |
D | app_running_record.h | 71 void SetDeathRecipient(const sptr<AppDeathRecipient> recipient);
|
/foundation/aafwk/standard/services/appmgr/src/ |
D | app_running_record.cpp | 94 void RenderRecord::SetDeathRecipient(const sptr<AppDeathRecipient> recipient) in SetDeathRecipient() argument 96 deathRecipient_ = recipient; in SetDeathRecipient()
|
/foundation/communication/ipc/ipc/native/src/napi/src/ |
D | napi_remote_object.cpp | 154 bool Add(const sptr<NAPIDeathRecipient> &recipient); 156 bool Remove(const sptr<NAPIDeathRecipient> &recipient); 172 bool NAPIDeathRecipientList::Add(const sptr<NAPIDeathRecipient> &recipient) in Add() argument 175 auto ret = set_.insert(recipient); in Add() 179 bool NAPIDeathRecipientList::Remove(const sptr<NAPIDeathRecipient> &recipient) in Remove() argument 182 return (set_.erase(recipient) > 0); in Remove()
|
/foundation/appexecfwk/standard/kits/appkit/napi/bundlemgr/ |
D | bundle_mgr.cpp | 2432 sptr<BundleDeathRecipient> recipient(new BundleDeathRecipient(callback)); in InnerInstall() local 2433 iBundleInstaller->AsObject()->AddDeathRecipient(recipient); in InnerInstall() 3151 sptr<BundleDeathRecipient> recipient(new BundleDeathRecipient(callback)); in InnerUninstall() local 3152 iBundleInstaller->AsObject()->AddDeathRecipient(recipient); in InnerUninstall()
|