Home
last modified time | relevance | path

Searched refs:GetEfficiencyResourcesInfos (Results 1 - 19 of 19) sorted by relevance

/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/
H A Dbackground_task_mgr_helper.cpp79 ErrCode BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(std::vector<std::shared_ptr< in GetEfficiencyResourcesInfos() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrHelper
82 return DelayedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Dbackground_task_mgr_helper.h111 static ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/
H A Dbgtask_framework_abnormal_unit_test.cpp454 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.cpp307 * @tc.desc: test GetEfficiencyResourcesInfos.
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/services/test/unittest/bgtask_manager_abnormal_unit_test/
H A Dbgtask_manager_abnormal_unit_test.cpp71 EXPECT_EQ(BackgroundTaskMgrService_->GetEfficiencyResourcesInfos(list3, list4), ERR_BGTASK_PERMISSION_DENIED); in HWTEST_F()
/foundation/resourceschedule/background_task_mgr/frameworks/include/
H A Dbackground_task_manager.h167 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
H A Dibackground_task_mgr.h169 virtual ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
H A Dbackground_task_mgr_proxy.h161 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
/foundation/resourceschedule/background_task_mgr/services/core/include/
H A Dbackground_task_mgr_service.h79 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
/foundation/resourceschedule/background_task_mgr/frameworks/src/
H A Dbackground_task_manager.cpp205 ErrCode BackgroundTaskManager::GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList, in GetEfficiencyResourcesInfos() function in OHOS::BackgroundTaskMgr::BackgroundTaskManager
211 return proxy_->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
H A Dbackground_task_mgr_stub.cpp411 ErrCode result = GetEfficiencyResourcesInfos(appInfos, procInfos); in HandleGetEfficiencyResourcesInfos()
H A Dbackground_task_mgr_proxy.cpp588 ErrCode BackgroundTaskMgrProxy::GetEfficiencyResourcesInfos(std::vector<std::shared_ptr< in GetEfficiencyResourcesInfos() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrProxy
595 BGTASK_LOGE("GetEfficiencyResourcesInfos write descriptor failed"); in GetEfficiencyResourcesInfos()
602 BGTASK_LOGE("GetEfficiencyResourcesInfos fail: transact ErrCode=%{public}d", result); in GetEfficiencyResourcesInfos()
606 BGTASK_LOGE("GetEfficiencyResourcesInfos fail: read result failed."); in GetEfficiencyResourcesInfos()
/foundation/resourceschedule/background_task_mgr/services/core/src/
H A Dbackground_task_mgr_service.cpp248 ErrCode BackgroundTaskMgrService::GetEfficiencyResourcesInfos( in GetEfficiencyResourcesInfos() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrService
253 BGTASK_LOGW("GetEfficiencyResourcesInfos not allowed"); in GetEfficiencyResourcesInfos()
256 return DelayedSingleton<BgEfficiencyResourcesMgr>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dbackground_task_observer.cpp115 ErrCode result = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesTaskApps()
117 TAG_LOGE(AAFwkTag::ABILITYMGR, "failed to GetEfficiencyResourcesInfos, err: %{public}d", result); in GetEfficiencyResourcesTaskApps()
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dbg_efficiency_resources_mgr.h55 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_efficiency_resources_mgr_test.cpp500 bgEfficiencyResourcesMgr_->GetEfficiencyResourcesInfos(appList, procList); in HWTEST_F()
516 bgEfficiencyResourcesMgr_->GetEfficiencyResourcesInfos(appList, procList); in HWTEST_F()
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/
H A Dbgtask_client_unit_test.cpp320 * @tc.desc: test GetEfficiencyResourcesInfos interface.
328 EXPECT_EQ(BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList), ERR_OK); in HWTEST_F()
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp743 ErrCode BgEfficiencyResourcesMgr::GetEfficiencyResourcesInfos(std::vector<std::shared_ptr< in GetEfficiencyResourcesInfos() function in OHOS::BackgroundTaskMgr::BgEfficiencyResourcesMgr
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_scheduler_service.cpp395 ErrCode result = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList); in QueryResAppliedUid()
397 WS_HILOGE("failed to GetEfficiencyResourcesInfos, errcode: %{public}d", result); in QueryResAppliedUid()

Completed in 18 milliseconds