Home
last modified time | relevance | path

Searched refs:ApplyEfficiencyResources (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_efficiency_resources_mgr_test.cpp98 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
104 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
107 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
112 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
117 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
120 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
123 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
138 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
143 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
150 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ApplyEfficiencyResources(
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/
H A Dbackground_task_mgr_helper.cpp85 ErrCode BackgroundTaskMgrHelper::ApplyEfficiencyResources(const EfficiencyResourceInfo &resourceInf… in ApplyEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrHelper
87 …return DelayedSingleton<BackgroundTaskManager>::GetInstance()->ApplyEfficiencyResources(resourceIn… in ApplyEfficiencyResources()
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/
H A Dbgtask_framework_abnormal_unit_test.cpp398 EXPECT_EQ(backgroundTaskMgrProxy.ApplyEfficiencyResources(nullptr), ERR_BGTASK_INVALID_PARAM);
403 …EXPECT_EQ(backgroundTaskMgrProxy.ApplyEfficiencyResources(resourceInfo), ERR_BGTASK_PARCELABLE_FAI…
407 …EXPECT_EQ(backgroundTaskMgrProxy.ApplyEfficiencyResources(resourceInfo), ERR_BGTASK_PARCELABLE_FAI…
411 …EXPECT_EQ(backgroundTaskMgrProxy.ApplyEfficiencyResources(resourceInfo), ERR_BGTASK_TRANSACT_FAILE…
415 …EXPECT_EQ(backgroundTaskMgrProxy.ApplyEfficiencyResources(resourceInfo), ERR_BGTASK_TRANSACT_FAILE…
H A Dbgtask_framework_unit_test.cpp262 EXPECT_EQ(DelayedSingleton<BackgroundTaskManager>::GetInstance()->ApplyEfficiencyResources(
265 EXPECT_NE(DelayedSingleton<BackgroundTaskManager>::GetInstance()->ApplyEfficiencyResources(
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/include/
H A Defficiency_resources_operation.h25 napi_value ApplyEfficiencyResources(napi_env env, napi_callback_info info);
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Defficiency_resources_operation.cpp151 napi_value ApplyEfficiencyResources(napi_env env, napi_callback_info info) in ApplyEfficiencyResources() function
159 …errCode = DelayedSingleton<BackgroundTaskManager>::GetInstance()->ApplyEfficiencyResources(params); in ApplyEfficiencyResources()
H A Dinit_bgtaskmgr.cpp41 DECLARE_NAPI_FUNCTION("applyEfficiencyResources", ApplyEfficiencyResources), in BackgroundTaskMgrInit()
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Dbackground_task_mgr_helper.h120 static ErrCode ApplyEfficiencyResources(const EfficiencyResourceInfo &resourceInfo);
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/src/
H A Dbackground_task_manager.cpp203 ErrCode BackgroundTaskManager::ApplyEfficiencyResources(const EfficiencyResourceInfo &resourceInfo) in ApplyEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskManager
216 return proxy_->ApplyEfficiencyResources(resourceInfoPtr); in ApplyEfficiencyResources()
H A Dbackground_task_mgr_stub.cpp394 ErrCode result = ApplyEfficiencyResources(resourceInfoPtr); in HandleApplyEfficiencyResources()
H A Dbackground_task_mgr_proxy.cpp534 ErrCode BackgroundTaskMgrProxy::ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &resour… in ApplyEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrProxy
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/include/
H A Dbackground_task_manager.h152 ErrCode ApplyEfficiencyResources(const EfficiencyResourceInfo &resourceInfo);
H A Dibackground_task_mgr.h154 virtual ErrCode ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &resourceInfo) = 0;
H A Dbackground_task_mgr_proxy.h146 ErrCode ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &resourceInfo) override;
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/core/src/
H A Dbackground_task_mgr_service.cpp238 ErrCode BackgroundTaskMgrService::ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &reso… in ApplyEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrService
240 …return DelayedSingleton<BgEfficiencyResourcesMgr>::GetInstance()->ApplyEfficiencyResources(resourc… in ApplyEfficiencyResources()
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/cj/background_task_mgr/
H A Dbackground_task_mgr_ffi.cpp89 … return DelayedSingleton<BackgroundTaskManager>::GetInstance()->ApplyEfficiencyResources(params); in CJ_ApplyEfficiencyResources()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/core/include/
H A Dbackground_task_mgr_service.h77 ErrCode ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &resourceInfo) override;
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dbg_efficiency_resources_mgr.h53 ErrCode ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &resourceInfo);
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/
H A Dbgtask_client_unit_test.cpp340 EXPECT_NE(BackgroundTaskMgrHelper::ApplyEfficiencyResources(resourceInfo), ERR_OK);
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_subscriber.cpp592 BackgroundTaskMgr::BackgroundTaskMgrHelper::ApplyEfficiencyResources(resourceInfo); in DoBackgroundOperation()
H A Dmedialibrary_data_manager.cpp416 BackgroundTaskMgr::BackgroundTaskMgrHelper::ApplyEfficiencyResources(resourceInfo); in InitResourceInfo()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp303 ErrCode BgEfficiencyResourcesMgr::ApplyEfficiencyResources( in ApplyEfficiencyResources() function in OHOS::BackgroundTaskMgr::BgEfficiencyResourcesMgr