/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/ |
H A D | background_task_mgr_helper.cpp | 79 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 D | background_task_mgr_helper.h | 111 static ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/ |
H A D | bgtask_framework_abnormal_unit_test.cpp | 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 | 307 * @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 D | bgtask_manager_abnormal_unit_test.cpp | 71 EXPECT_EQ(BackgroundTaskMgrService_->GetEfficiencyResourcesInfos(list3, list4), ERR_BGTASK_PERMISSION_DENIED); in HWTEST_F()
|
/foundation/resourceschedule/background_task_mgr/frameworks/include/ |
H A D | background_task_manager.h | 167 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
H A D | ibackground_task_mgr.h | 169 virtual ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
H A D | background_task_mgr_proxy.h | 161 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
/foundation/resourceschedule/background_task_mgr/services/core/include/ |
H A D | background_task_mgr_service.h | 79 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_manager.cpp | 205 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 D | background_task_mgr_stub.cpp | 411 ErrCode result = GetEfficiencyResourcesInfos(appInfos, procInfos); in HandleGetEfficiencyResourcesInfos()
|
H A D | background_task_mgr_proxy.cpp | 588 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 D | background_task_mgr_service.cpp | 248 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 D | background_task_observer.cpp | 115 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 D | bg_efficiency_resources_mgr.h | 55 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bg_efficiency_resources_mgr_test.cpp | 500 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 D | bgtask_client_unit_test.cpp | 320 * @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 D | bg_efficiency_resources_mgr.cpp | 743 ErrCode BgEfficiencyResourcesMgr::GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<
in GetEfficiencyResourcesInfos() function in OHOS::BackgroundTaskMgr::BgEfficiencyResourcesMgr
|
/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_scheduler_service.cpp | 395 ErrCode result = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList); in QueryResAppliedUid() 397 WS_HILOGE("failed to GetEfficiencyResourcesInfos, errcode: %{public}d", result); in QueryResAppliedUid()
|