Home
last modified time | relevance | path

Searched refs:ResourcesSubscriberMgr (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dresources_subscriber_mgr.cpp25 ResourcesSubscriberMgr::ResourcesSubscriberMgr() in ResourcesSubscriberMgr() function in OHOS::BackgroundTaskMgr::ResourcesSubscriberMgr
30 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()
H A Dbg_efficiency_resources_mgr.cpp57 subscriberMgr_ = DelayedSingleton<ResourcesSubscriberMgr>::GetInstance(); in Init()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbgtask_manager_unit_test.cpp449 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 …]
H A Dbg_efficiency_resources_mgr_test.cpp57 …bgEfficiencyResourcesMgr_->subscriberMgr_ = DelayedSingleton<ResourcesSubscriberMgr>::GetInstance(… in SetUpTestCase()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dresources_subscriber_mgr.h47 class ResourcesSubscriberMgr : public std::enable_shared_from_this<ResourcesSubscriberMgr> {
48 DECLARE_DELAYED_SINGLETON(ResourcesSubscriberMgr);
H A Dbg_efficiency_resources_mgr.h111 std::shared_ptr<ResourcesSubscriberMgr> subscriberMgr_ {nullptr};