/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | background_task_observer.cpp | 114 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 D | background_task_mgr_helper.cpp | 80 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 D | bgtask_framework_abnormal_unit_test.cpp | 450 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 D | bgtask_framework_unit_test.cpp | 317 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 D | background_task_mgr_helper.h | 108 * @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 D | bg_efficiency_resources_mgr_test.cpp | 499 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 D | background_task_manager.h | 164 * @param procList EFficiency Resources infos of processes. 168 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList);
|
H A D | ibackground_task_mgr.h | 166 * @param procList EFficiency Resources infos of processes. 170 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) = 0;
|
H A D | background_task_mgr_proxy.h | 158 * @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 D | background_task_mgr_service.h | 80 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) override;
|
/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_manager.cpp | 206 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 D | background_task_mgr_proxy.cpp | 589 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 D | background_task_mgr_service.cpp | 250 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 D | bg_efficiency_resources_mgr.h | 56 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList);
|
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 744 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 D | bgtask_client_unit_test.cpp | 327 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 D | work_scheduler_service.cpp | 394 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()
|