/base/powermgr/thermal_manager/services/native/test/mock_client/src/ |
D | mock_thermal_mgr_client.cpp | 33 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/ |
D | domain_account_client.cpp | 106 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/ |
D | ability_manager_helper.cpp | 69 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/ |
D | dump_manager_client.cpp | 38 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/ |
D | enterprise_conn_manager.cpp | 90 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/ |
D | inner_domain_account_manager.cpp | 48 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/ |
D | devicestatus_client.cpp | 35 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/ |
D | ohos_account_kits_impl.cpp | 37 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/ |
D | ability_manager_privacy_client.cpp | 68 …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/ |
D | thermal_mgr_client.cpp | 33 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/ |
D | sys_installer_kits_impl.cpp | 51 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/ |
D | screenlock_app_manager.cpp | 28 sptr<ScreenLockAppDeathRecipient> ScreenLockAppManager::deathRecipient_; member in OHOS::ScreenLock::ScreenLockAppManager 98 deathRecipient_ = new ScreenLockAppDeathRecipient(); in GetScreenLockManagerProxy() 99 systemAbility->AddDeathRecipient(deathRecipient_); in GetScreenLockManagerProxy()
|
D | screenlock_manager.cpp | 30 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/ |
D | battery_srv_client.cpp | 52 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/ |
D | devicestatus_client_test.cpp | 72 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/ |
D | bundle_manager_helper.cpp | 30 deathRecipient_ = in BundleManagerHelper() 122 bundleMgr_->AsObject()->AddDeathRecipient(deathRecipient_); in Connect() 129 bundleMgr_->AsObject()->RemoveDeathRecipient(deathRecipient_); in Disconnect()
|
/base/useriam/pin_auth/frameworks/client/src/ |
D | pinauth_register.cpp | 91 deathRecipient_ = dr; in GetProxy() 102 serviceRemote->RemoveDeathRecipient(deathRecipient_); in ResetProxy()
|
/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/ |
D | bundle_manager_adapter.cpp | 187 …deathRecipient_ = 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/ |
D | ability_manager_adapter.cpp | 109 …deathRecipient_ = 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/ |
D | telephony_observer_client.cpp | 58 deathRecipient_ = dr; in GetProxy() 76 serviceRemote->RemoveDeathRecipient(deathRecipient_); in OnRemoteDied()
|
/base/powermgr/power_manager/frameworks/native/ |
D | power_mgr_client.cpp | 50 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/ |
D | download_manager.cpp | 35 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/ |
D | ability_manager_helper.h | 55 sptr<AbilityManagerDeathRecipient> deathRecipient_; variable
|
/base/powermgr/thermal_manager/services/native/test/mock_client/include/ |
D | mock_thermal_mgr_client.h | 47 sptr<IRemoteObject::DeathRecipient> deathRecipient_ {nullptr};
|
/base/customization/enterprise_device_management/services/edm/include/connection/ |
D | enterprise_conn_manager.h | 48 sptr<AbilityManagerDeathRecipient> deathRecipient_{nullptr};
|