Home
last modified time | relevance | path

Searched refs:recipient_ (Results 1 - 22 of 22) sorted by relevance

/foundation/resourceschedule/memmgr/interface/innerkits/src/
H A Dapp_state_subscriber.cpp62 recipient_ = new (std::nothrow) DeathRecipient(*this); in AppStateSubscriberImpl()
67 if (GetMemMgrProxy() && recipient_ != nullptr) { in OnConnected()
68 proxy_->AsObject()->AddDeathRecipient(recipient_); in OnConnected()
81 if (GetMemMgrProxy() && recipient_ != nullptr) { in OnDisconnected()
82 proxy_->AsObject()->RemoveDeathRecipient(recipient_); in OnDisconnected()
/foundation/resourceschedule/qos_manager/frameworks/concurrent_task_client/src/
H A Dconcurrent_task_client.cpp121 recipient_ = new ConcurrentTaskDeathRecipient(*this); in TryConnect()
125 if (!recipient_) { in TryConnect()
128 clientService_->AsObject()->AddDeathRecipient(recipient_); in TryConnect()
136 clientService_->AsObject()->RemoveDeathRecipient(recipient_); in StopRemoteObject()
/foundation/resourceschedule/resource_schedule_service/ressched_executor/interfaces/innerkits/ressched_executor_client/src/
H A Dres_sched_exe_client.cpp125 recipient_ = new (std::nothrow) ResSchedExeDeathRecipient(*this); in TryConnect()
126 if (!recipient_) { in TryConnect()
130 resSchedExe_->AsObject()->AddDeathRecipient(recipient_); in TryConnect()
139 resSchedExe_->AsObject()->RemoveDeathRecipient(recipient_); in StopRemoteObject()
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/
H A Dbundle_active_client.cpp56 if (!recipient_) { in GetBundleActiveProxy()
57 recipient_ = new (std::nothrow) BundleActiveClientDeathRecipient(); in GetBundleActiveProxy()
59 if (recipient_) { in GetBundleActiveProxy()
60 bundleActiveProxy_->AsObject()->AddDeathRecipient(recipient_); in GetBundleActiveProxy()
175 if (recipient_ && ret == ERR_OK) { in RegisterAppGroupCallBack()
176 recipient_->AddObserver(observer); in RegisterAppGroupCallBack()
189 if (recipient_ && ret == ERR_OK) { in UnRegisterAppGroupCallBack()
190 recipient_->RemoveObserver(); in UnRegisterAppGroupCallBack()
/foundation/resourceschedule/soc_perf/interfaces/inner_api/socperf_client/src/
H A Dsocperf_client.cpp65 recipient_ = new (std::nothrow) SocPerfDeathRecipient(*this); in CheckClientValid()
66 if (!recipient_) { in CheckClientValid()
69 client->AsObject()->AddDeathRecipient(recipient_); in CheckClientValid()
79 client->AsObject()->RemoveDeathRecipient(recipient_); in ResetClient()
/foundation/resourceschedule/background_task_mgr/frameworks/src/
H A Dbackground_task_manager.cpp239 recipient_ = new (std::nothrow) BgTaskMgrDeathRecipient(*this); in GetBackgroundTaskManagerProxy()
240 if (recipient_ == nullptr) { in GetBackgroundTaskManagerProxy()
243 proxy_->AsObject()->AddDeathRecipient(recipient_); in GetBackgroundTaskManagerProxy()
267 proxy_->AsObject()->RemoveDeathRecipient(recipient_); in ResetBackgroundTaskManagerProxy()
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/
H A Ddecision_maker.cpp58 recipient_ = nullptr; in ~DecisionMaker()
92 recipient_ = new (std::nothrow) AppMgrDeathRecipient(*this); in GetAppMgrProxy()
93 if (recipient_ == nullptr) { in GetAppMgrProxy()
96 appMgrProxy_->AsObject()->AddDeathRecipient(recipient_); in GetAppMgrProxy()
103 appMgrProxy_->AsObject()->RemoveDeathRecipient(recipient_); in ResetAppMgrProxy()
/foundation/resourceschedule/qos_manager/interfaces/inner_api/
H A Dconcurrent_task_client.h108 sptr<ConcurrentTaskDeathRecipient> recipient_; member in OHOS::ConcurrentTask::ConcurrentTaskClient
/foundation/resourceschedule/resource_schedule_service/ressched_executor/interfaces/innerkits/ressched_executor_client/include/
H A Dres_sched_exe_client.h104 sptr<ResSchedExeDeathRecipient> recipient_; member in OHOS::ResourceSchedule::ResSchedExeClient
/foundation/resourceschedule/soc_perf/interfaces/inner_api/socperf_client/include/
H A Dsocperf_client.h136 sptr<SocPerfDeathRecipient> recipient_; member in OHOS::SOCPERF::SocPerfClient
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp214 installdProxy_->AsObject()->RemoveDeathRecipient(recipient_); in ResetInstalldProxy()
229 recipient_ = new (std::nothrow) InstalldDeathRecipient(); in GetInstalldProxy()
230 if (recipient_ == nullptr) { in GetInstalldProxy()
234 tempProxy->AsObject()->AddDeathRecipient(recipient_); in GetInstalldProxy()
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/src/
H A Dres_sched_client.cpp46 rss_->AsObject()->RemoveDeathRecipient(recipient_); in ~ResSchedClient()
250 recipient_ = new (std::nothrow) ResSchedDeathRecipient(*this); in TryConnect()
251 if (!recipient_) { in TryConnect()
255 rss_->AsObject()->AddDeathRecipient(recipient_); in TryConnect()
265 rss_->AsObject()->RemoveDeathRecipient(recipient_); in StopRemoteObject()
/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Dpurgeable_memory_manager_test.cpp188 subscriberImpl->recipient_ = sptr<AppStateSubscriber::AppStateSubscriberImpl::DeathRecipient>( in HWTEST_F()
204 subscriberImpl->recipient_->OnRemoteDied(nullptr); in HWTEST_F()
/foundation/resourceschedule/memmgr/interface/innerkits/include/
H A Dapp_state_subscriber.h150 sptr<DeathRecipient> recipient_ { nullptr };
/foundation/resourceschedule/background_task_mgr/frameworks/include/
H A Dbackground_task_manager.h207 sptr<BgTaskMgrDeathRecipient> recipient_; member in OHOS::BackgroundTaskMgr::BackgroundTaskManager
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp229 installdProxy_->AsObject()->RemoveDeathRecipient(recipient_); in ResetInstalldProxy()
289 recipient_ = new (std::nothrow) InstalldDeathRecipient(); in GetInstalldProxy()
290 if (recipient_ == nullptr) { in GetInstalldProxy()
294 installdProxy_->AsObject()->AddDeathRecipient(recipient_); in GetInstalldProxy()
/foundation/resourceschedule/background_task_mgr/services/transient_task/include/
H A Ddecision_maker.h114 sptr<AppMgrDeathRecipient> recipient_; member in OHOS::BackgroundTaskMgr::DecisionMaker
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/
H A Dbundle_active_client.h221 sptr<BundleActiveClientDeathRecipient> recipient_; member in OHOS::DeviceUsageStats::BundleActiveClient
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/include/
H A Dres_sched_client.h192 sptr<ResSchedDeathRecipient> recipient_; member in OHOS::ResourceSchedule::ResSchedClient
/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/
H A Dipc_object_proxy.h365 sptr<DeathRecipient> recipient_; member
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_object_proxy.cpp486 if ((*iter)->recipient_ == recipient) { in RemoveDeathRecipient()
544 sptr<DeathRecipient> recipient = (*iter)->recipient_; in SendObituary()
1062 : recipient_(recipient), soFuncAddr_(nullptr), soPath_() in DeathRecipientAddrInfo()
1064 if (recipient_ == nullptr) { in DeathRecipientAddrInfo()
1068 soFuncAddr_ = reinterpret_cast<void *>(GET_FIRST_VIRTUAL_FUNC_ADDR(recipient_.GetRefPtr())); in DeathRecipientAddrInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h272 sptr<IRemoteObject::DeathRecipient> recipient_; member in OHOS::AppExecFwk::InstalldClient

Completed in 12 milliseconds