Home
last modified time | relevance | path

Searched refs:procList (Results 1 - 17 of 17) sorted by relevance

/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dbackground_task_observer.cpp114 std::vector<std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo>> procList; in GetEfficiencyResourcesTaskApps() local
115 ErrCode result = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesTaskApps()
130 for (auto& info : procList) { in GetEfficiencyResourcesTaskApps()
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/
H A Dbackground_task_mgr_helper.cpp80 ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos()
82 return DelayedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
79 GetEfficiencyResourcesInfos(std::vector<std::shared_ptr< ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) GetEfficiencyResourcesInfos() argument
/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/
H A Dbgtask_framework_abnormal_unit_test.cpp450 std::vector<std::shared_ptr<ResourceCallbackInfo>> procList; in HWTEST_F() local
454 EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_PARCELABLE_FAILED); in HWTEST_F()
458 EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_TRANSACT_FAILED); in HWTEST_F()
462 EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_TRANSACT_FAILED); in HWTEST_F()
465 EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_TRANSACT_FAILED); in HWTEST_F()
H A Dbgtask_framework_unit_test.cpp317 std::vector<std::shared_ptr<ResourceCallbackInfo>> procList; in HWTEST_F() local
318 EXPECT_EQ(DelayedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList), in HWTEST_F()
322 EXPECT_EQ(DelayedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList), in HWTEST_F()
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Dbackground_task_mgr_helper.h108 * @param procList EFficiency Resources infos of processes.
112 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList);
/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_efficiency_resources_mgr_test.cpp499 std::vector<std::shared_ptr<ResourceCallbackInfo>> procList {}; in HWTEST_F()
500 bgEfficiencyResourcesMgr_->GetEfficiencyResourcesInfos(appList, procList); in HWTEST_F()
502 EXPECT_EQ((int32_t)procList.size(), 0); in HWTEST_F()
516 bgEfficiencyResourcesMgr_->GetEfficiencyResourcesInfos(appList, procList); in HWTEST_F()
518 EXPECT_EQ((int32_t)procList.size(), 1); in HWTEST_F()
/foundation/resourceschedule/background_task_mgr/frameworks/include/
H A Dbackground_task_manager.h164 * @param procList EFficiency Resources infos of processes.
168 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList);
H A Dibackground_task_mgr.h166 * @param procList EFficiency Resources infos of processes.
170 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) = 0;
H A Dbackground_task_mgr_proxy.h158 * @param procList EFficiency Resources infos of processes.
162 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) override;
/foundation/resourceschedule/background_task_mgr/services/core/include/
H A Dbackground_task_mgr_service.h80 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) override;
/foundation/resourceschedule/background_task_mgr/frameworks/src/
H A Dbackground_task_manager.cpp206 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos()
211 return proxy_->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
205 GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) GetEfficiencyResourcesInfos() argument
H A Dbackground_task_mgr_proxy.cpp589 ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos()
631 procList.emplace_back(info); in GetEfficiencyResourcesInfos()
588 GetEfficiencyResourcesInfos(std::vector<std::shared_ptr< ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) GetEfficiencyResourcesInfos() argument
/foundation/resourceschedule/background_task_mgr/services/core/src/
H A Dbackground_task_mgr_service.cpp250 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos()
256 return DelayedSingleton<BgEfficiencyResourcesMgr>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
248 GetEfficiencyResourcesInfos( std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) GetEfficiencyResourcesInfos() argument
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dbg_efficiency_resources_mgr.h56 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList);
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp744 ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos()
746 handler_->PostSyncTask([this, &appList, &procList]() { in GetEfficiencyResourcesInfos()
748 this->GetEfficiencyResourcesInfosInner(procResourceApplyMap_, procList); in GetEfficiencyResourcesInfos()
743 GetEfficiencyResourcesInfos(std::vector<std::shared_ptr< ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) GetEfficiencyResourcesInfos() argument
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/
H A Dbgtask_client_unit_test.cpp327 std::vector<std::shared_ptr<ResourceCallbackInfo>> procList; in HWTEST_F() local
328 EXPECT_EQ(BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList), ERR_OK); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_scheduler_service.cpp394 std::vector<std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo>> procList; in QueryResAppliedUid() local
395 ErrCode result = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList); in QueryResAppliedUid()
406 for (const auto& info : procList) { in QueryResAppliedUid()

Completed in 13 milliseconds