/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | background_task_observer.cpp | 110 std::vector<std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo>> procList; in GetEfficiencyResourcesTaskApps() local 111 …esult = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesTaskApps() 126 for (auto& info : procList) { in GetEfficiencyResourcesTaskApps()
|
/ohos5.0/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() argument 82 …yedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/ |
H A D | bgtask_framework_abnormal_unit_test.cpp | 449 std::vector<std::shared_ptr<ResourceCallbackInfo>> procList; variable 453 …EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_PARCEL… 457 …EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_TRANSA… 461 …EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_TRANSA… 464 …EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_TRANSA…
|
H A D | bgtask_framework_unit_test.cpp | 296 std::vector<std::shared_ptr<ResourceCallbackInfo>> procList; variable 297 …yedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList), 300 …yedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList),
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bg_efficiency_resources_mgr_test.cpp | 501 std::vector<std::shared_ptr<ResourceCallbackInfo>> procList {}; variable 502 bgEfficiencyResourcesMgr_->GetEfficiencyResourcesInfos(appList, procList); 504 EXPECT_EQ((int32_t)procList.size(), 0); 518 bgEfficiencyResourcesMgr_->GetEfficiencyResourcesInfos(appList, procList); 520 EXPECT_EQ((int32_t)procList.size(), 1);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/ |
H A D | background_task_mgr_helper.h | 112 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_manager.cpp | 231 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos() argument 236 return proxy_->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
|
H A D | background_task_mgr_proxy.cpp | 589 ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos() argument 631 procList.emplace_back(info); in GetEfficiencyResourcesInfos()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/include/ |
H A D | background_task_manager.h | 168 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList);
|
H A D | ibackground_task_mgr.h | 170 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) = 0;
|
H A D | background_task_mgr_proxy.h | 162 std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) override;
|
/ohos5.0/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() argument 256 …Singleton<BgEfficiencyResourcesMgr>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
|
/ohos5.0/base/hiviewdfx/hilog/services/hilogtool/ |
H A D | log_display.cpp | 158 static void SortProcList(vector<ProcStatsRsp>& vp, const ProcStatsRsp* procList, int num) in SortProcList() argument 160 SortByLens(vp, procList, num); in SortProcList()
|
/ohos5.0/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;
|
/ohos5.0/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);
|
/ohos5.0/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; variable 328 EXPECT_EQ(BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList), ERR_OK);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 760 ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos() argument 762 handler_->PostSyncTask([this, &appList, &procList]() { in GetEfficiencyResourcesInfos() 764 this->GetEfficiencyResourcesInfosInner(procResourceApplyMap_, procList); in GetEfficiencyResourcesInfos()
|
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_scheduler_service.cpp | 455 std::vector<std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo>> procList; in QueryResAppliedUid() local 456 …esult = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList); in QueryResAppliedUid() 467 for (const auto& info : procList) { in QueryResAppliedUid()
|