Searched refs:ResourcesSubscriberMgr (Results 1 – 6 of 6) sorted by relevance
25 ResourcesSubscriberMgr::ResourcesSubscriberMgr() in ResourcesSubscriberMgr() function in OHOS::BackgroundTaskMgr::ResourcesSubscriberMgr30 ResourcesSubscriberMgr::~ResourcesSubscriberMgr() {} in ~ResourcesSubscriberMgr()32 ErrCode ResourcesSubscriberMgr::AddSubscriber(const sptr<IBackgroundTaskSubscriber>& subscriber) in AddSubscriber()65 ErrCode ResourcesSubscriberMgr::RemoveSubscriber(const sptr<IBackgroundTaskSubscriber>& subscriber) in RemoveSubscriber()95 void ResourcesSubscriberMgr::OnResourceChanged(const std::shared_ptr<ResourceCallbackInfo> &callbac… in OnResourceChanged()138 void ResourcesSubscriberMgr::HiSysEventResources(const std::shared_ptr<ResourceCallbackInfo> callba… in HiSysEventResources()161 void ResourcesSubscriberMgr::HiSysEventSubmit(const std::shared_ptr<ResourceCallbackInfo> callbackI… in HiSysEventSubmit()172 void ResourcesSubscriberMgr::HandleSubscriberDeath(const wptr<IRemoteObject>& remote) in HandleSubscriberDeath()203 DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->HandleSubscriberDeath(remote); in OnRemoteDied()
57 subscriberMgr_ = DelayedSingleton<ResourcesSubscriberMgr>::GetInstance(); in Init()
449 DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->subscriberList_.clear();452 …EXPECT_EQ(DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->AddSubscriber(subscirberProxy1),454 …EXPECT_EQ(DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->RemoveSubscriber(subscirberProx…457 DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->deathRecipient_ = nullptr;463 DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->deathRecipient_477 DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->OnResourceChanged(nullptr,483 DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->OnResourceChanged(callbackInfo,485 DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->OnResourceChanged(callbackInfo,487 DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->OnResourceChanged(callbackInfo,489 DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->OnResourceChanged(callbackInfo,[all …]
57 …bgEfficiencyResourcesMgr_->subscriberMgr_ = DelayedSingleton<ResourcesSubscriberMgr>::GetInstance(… in SetUpTestCase()
47 class ResourcesSubscriberMgr : public std::enable_shared_from_this<ResourcesSubscriberMgr> {48 DECLARE_DELAYED_SINGLETON(ResourcesSubscriberMgr);
111 std::shared_ptr<ResourcesSubscriberMgr> subscriberMgr_ {nullptr};