Home
last modified time | relevance | path

Searched refs:deathRecipient_ (Results 1 – 25 of 80) sorted by relevance

1234

/base/powermgr/thermal_manager/services/native/test/mock_client/src/
Dmock_thermal_mgr_client.cpp33 remoteObject->RemoveDeathRecipient(deathRecipient_); in ~MockThermalMgrClient()
57 deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new ThermalMgrDeathRecipient()); in Connect()
58 if (deathRecipient_ == nullptr) { in Connect()
63 if ((remoteObject_->IsProxyObject()) && (!remoteObject_->AddDeathRecipient(deathRecipient_))) { in Connect()
80 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
/base/account/os_account/frameworks/domain_account/src/
Ddomain_account_client.cpp106 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetDomainAccountProxy()
109 deathRecipient_ = nullptr; in ResetDomainAccountProxy()
132 deathRecipient_ = new (std::nothrow) DomainAccountDeathRecipient(); in GetDomainAccountProxy()
133 if (deathRecipient_ == nullptr) { in GetDomainAccountProxy()
137 if (!object->AddDeathRecipient(deathRecipient_)) { in GetDomainAccountProxy()
139 deathRecipient_ = nullptr; in GetDomainAccountProxy()
/base/notification/common_event_service/services/src/
Dability_manager_helper.cpp69 deathRecipient_ = new (std::nothrow) AbilityManagerDeathRecipient(); in GetAbilityMgrProxy()
70 if (deathRecipient_ == nullptr) { in GetAbilityMgrProxy()
74 if (!abilityMgr_->AsObject()->AddDeathRecipient(deathRecipient_)) { in GetAbilityMgrProxy()
88 abilityMgr_->AsObject()->RemoveDeathRecipient(deathRecipient_); in Clear()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_manager_client.cpp38 remoteObject->RemoveDeathRecipient(deathRecipient_); in ~DumpManagerClient()
79 deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new DumpManagerDeathRecipient()); in Connect()
80 if (deathRecipient_ == nullptr) { in Connect()
83 if ((remoteObject->IsProxyObject()) && (!remoteObject->AddDeathRecipient(deathRecipient_))) { in Connect()
104 serviceRemote->RemoveDeathRecipient(deathRecipient_); in Reset()
118 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
/base/customization/enterprise_device_management/services/edm/src/connection/
Denterprise_conn_manager.cpp90 deathRecipient_ = (new (std::nothrow) AbilityManagerDeathRecipient()); in GetAbilityMgrProxy()
91 if (deathRecipient_ == nullptr) { in GetAbilityMgrProxy()
95 if (!abilityMgr_->AsObject()->AddDeathRecipient(deathRecipient_)) { in GetAbilityMgrProxy()
108 abilityMgr_->AsObject()->RemoveDeathRecipient(deathRecipient_); in Clear()
/base/account/os_account/services/accountmgr/src/domain_account/
Dinner_domain_account_manager.cpp48 plugin_->AsObject()->RemoveDeathRecipient(deathRecipient_); in UnregisterPlugin()
51 deathRecipient_ = nullptr; in UnregisterPlugin()
145 if (deathRecipient_ != nullptr) { in GetDeathRecipient()
146 return deathRecipient_; in GetDeathRecipient()
148 deathRecipient_ = new (std::nothrow) DomainAccountPluginDeathRecipient(); in GetDeathRecipient()
149 return deathRecipient_; in GetDeathRecipient()
/base/msdp/device_status/frameworks/native/src/
Ddevicestatus_client.cpp35 remoteObject->RemoveDeathRecipient(deathRecipient_); in ~DevicestatusClient()
60 deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new DevicestatusDeathRecipient()); in Connect()
61 if (deathRecipient_ == nullptr) { in Connect()
66 if ((remoteObject_->IsProxyObject()) && (!remoteObject_->AddDeathRecipient(deathRecipient_))) { in Connect()
83 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
/base/account/os_account/frameworks/ohosaccount/native/src/
Dohos_account_kits_impl.cpp37 object->RemoveDeathRecipient(deathRecipient_); in ResetService()
61 if (deathRecipient_ == nullptr) { in GetService()
62 deathRecipient_ = new (std::nothrow) DeathRecipient(); in GetService()
63 if (deathRecipient_ == nullptr) { in GetService()
69 if ((object->IsProxyObject()) && (!object->AddDeathRecipient(deathRecipient_))) { in GetService()
/base/security/access_token/services/privacymanager/src/sensitive/ability_manager/
Dability_manager_privacy_client.cpp68 …auto deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new AbilityManagerPrivacyDeathRecipient… in InitProxy() local
69 if (deathRecipient_ == nullptr) { in InitProxy()
78 if (!abilityManagerSa->AddDeathRecipient(deathRecipient_)) { in InitProxy()
/base/powermgr/thermal_manager/frameworks/native/
Dthermal_mgr_client.cpp33 remoteObject->RemoveDeathRecipient(deathRecipient_); in ~ThermalMgrClient()
57 deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new ThermalMgrDeathRecipient()); in Connect()
58 if (deathRecipient_ == nullptr) { in Connect()
63 if ((remoteObject_->IsProxyObject()) && (!remoteObject_->AddDeathRecipient(deathRecipient_))) { in Connect()
80 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
Dsys_installer_kits_impl.cpp51 object->RemoveDeathRecipient(deathRecipient_); in ResetService()
75 if (deathRecipient_ == nullptr) { in GetService()
76 deathRecipient_ = new DeathRecipient(); in GetService()
79 if ((object->IsProxyObject()) && (!object->AddDeathRecipient(deathRecipient_))) { in GetService()
/base/theme/screenlock_mgr/frameworks/kitsimpl/src/
Dscreenlock_app_manager.cpp28 sptr<ScreenLockAppDeathRecipient> ScreenLockAppManager::deathRecipient_; member in OHOS::ScreenLock::ScreenLockAppManager
98 deathRecipient_ = new ScreenLockAppDeathRecipient(); in GetScreenLockManagerProxy()
99 systemAbility->AddDeathRecipient(deathRecipient_); in GetScreenLockManagerProxy()
Dscreenlock_manager.cpp30 sptr<ScreenLockSaDeathRecipient> ScreenLockManager::deathRecipient_; member in OHOS::ScreenLock::ScreenLockManager
129 deathRecipient_ = new ScreenLockSaDeathRecipient(); in GetScreenLockManagerProxy()
130 systemAbility->AddDeathRecipient(deathRecipient_); in GetScreenLockManagerProxy()
/base/powermgr/battery_manager/frameworks/native/src/
Dbattery_srv_client.cpp52 deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new BatterySrvDeathRecipient()); in Connect()
53 if (deathRecipient_ == nullptr) { in Connect()
57 if ((remoteObject_->IsProxyObject()) && (!remoteObject_->AddDeathRecipient(deathRecipient_))) { in Connect()
72 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
/base/msdp/device_status/services/native/test/unittest/src/
Ddevicestatus_client_test.cpp72 sptr<IRemoteObject::DeathRecipient> deathRecipient_ = variable
74 deathRecipient_->OnRemoteDied(remoteObject_);
192 sptr<IRemoteObject::DeathRecipient> deathRecipient_ = variable
194 deathRecipient_->OnRemoteDied(nullptr);
/base/notification/distributed_notification_service/services/ans/src/
Dbundle_manager_helper.cpp30 deathRecipient_ = in BundleManagerHelper()
122 bundleMgr_->AsObject()->AddDeathRecipient(deathRecipient_); in Connect()
129 bundleMgr_->AsObject()->RemoveDeathRecipient(deathRecipient_); in Disconnect()
/base/useriam/pin_auth/frameworks/client/src/
Dpinauth_register.cpp91 deathRecipient_ = dr; in GetProxy()
102 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/
Dbundle_manager_adapter.cpp187deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new (std::nothrow) BundleMgrDeathRecipient()… in Connect()
188 if (deathRecipient_ == nullptr) { in Connect()
194 if ((remoteObj->IsProxyObject()) && (!remoteObj->AddDeathRecipient(deathRecipient_))) { in Connect()
217 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
/base/account/os_account/services/accountmgr/src/ability_manager_adapter/
Dability_manager_adapter.cpp109deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new (std::nothrow) AbilityMgrDeathRecipient(… in Connect()
110 if (deathRecipient_ == nullptr) { in Connect()
114 if ((remoteObj->IsProxyObject()) && (!remoteObj->AddDeathRecipient(deathRecipient_))) { in Connect()
259 proxy_->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
/base/telephony/state_registry/frameworks/native/observer/src/
Dtelephony_observer_client.cpp58 deathRecipient_ = dr; in GetProxy()
76 serviceRemote->RemoveDeathRecipient(deathRecipient_); in OnRemoteDied()
/base/powermgr/power_manager/frameworks/native/
Dpower_mgr_client.cpp50 remoteObject->RemoveDeathRecipient(deathRecipient_); in ~PowerMgrClient()
73 deathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new PowerMgrDeathRecipient()); in Connect()
74 if (deathRecipient_ == nullptr) { in Connect()
78 if ((remoteObject_->IsProxyObject()) && (!remoteObject_->AddDeathRecipient(deathRecipient_))) { in Connect()
95 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Ddownload_manager.cpp35 DownloadManager::DownloadManager() : downloadServiceProxy_(nullptr), deathRecipient_(nullptr) in DownloadManager()
168 deathRecipient_ = new DownloadSaDeathRecipient(); in GetDownloadServiceProxy()
169 systemAbility->AddDeathRecipient(deathRecipient_); in GetDownloadServiceProxy()
/base/notification/common_event_service/services/include/
Dability_manager_helper.h55 sptr<AbilityManagerDeathRecipient> deathRecipient_; variable
/base/powermgr/thermal_manager/services/native/test/mock_client/include/
Dmock_thermal_mgr_client.h47 sptr<IRemoteObject::DeathRecipient> deathRecipient_ {nullptr};
/base/customization/enterprise_device_management/services/edm/include/connection/
Denterprise_conn_manager.h48 sptr<AbilityManagerDeathRecipient> deathRecipient_{nullptr};

1234