/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bg_efficiency_resources_mgr_test.cpp | 98 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 D | background_task_mgr_helper.cpp | 85 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 D | bgtask_framework_abnormal_unit_test.cpp | 398 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 D | bgtask_framework_unit_test.cpp | 262 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 D | efficiency_resources_operation.h | 25 napi_value ApplyEfficiencyResources(napi_env env, napi_callback_info info);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
H A D | efficiency_resources_operation.cpp | 151 napi_value ApplyEfficiencyResources(napi_env env, napi_callback_info info) in ApplyEfficiencyResources() function 159 …errCode = DelayedSingleton<BackgroundTaskManager>::GetInstance()->ApplyEfficiencyResources(params); in ApplyEfficiencyResources()
|
H A D | init_bgtaskmgr.cpp | 41 DECLARE_NAPI_FUNCTION("applyEfficiencyResources", ApplyEfficiencyResources), in BackgroundTaskMgrInit()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/ |
H A D | background_task_mgr_helper.h | 120 static ErrCode ApplyEfficiencyResources(const EfficiencyResourceInfo &resourceInfo);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_manager.cpp | 203 ErrCode BackgroundTaskManager::ApplyEfficiencyResources(const EfficiencyResourceInfo &resourceInfo) in ApplyEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskManager 216 return proxy_->ApplyEfficiencyResources(resourceInfoPtr); in ApplyEfficiencyResources()
|
H A D | background_task_mgr_stub.cpp | 394 ErrCode result = ApplyEfficiencyResources(resourceInfoPtr); in HandleApplyEfficiencyResources()
|
H A D | background_task_mgr_proxy.cpp | 534 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 D | background_task_manager.h | 152 ErrCode ApplyEfficiencyResources(const EfficiencyResourceInfo &resourceInfo);
|
H A D | ibackground_task_mgr.h | 154 virtual ErrCode ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &resourceInfo) = 0;
|
H A D | background_task_mgr_proxy.h | 146 ErrCode ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &resourceInfo) override;
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/core/src/ |
H A D | background_task_mgr_service.cpp | 238 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 D | background_task_mgr_ffi.cpp | 89 … return DelayedSingleton<BackgroundTaskManager>::GetInstance()->ApplyEfficiencyResources(params); in CJ_ApplyEfficiencyResources()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/core/include/ |
H A D | background_task_mgr_service.h | 77 ErrCode ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &resourceInfo) override;
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/ |
H A D | bg_efficiency_resources_mgr.h | 53 ErrCode ApplyEfficiencyResources(const sptr<EfficiencyResourceInfo> &resourceInfo);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/ |
H A D | bgtask_client_unit_test.cpp | 340 EXPECT_NE(BackgroundTaskMgrHelper::ApplyEfficiencyResources(resourceInfo), ERR_OK);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_subscriber.cpp | 592 BackgroundTaskMgr::BackgroundTaskMgrHelper::ApplyEfficiencyResources(resourceInfo); in DoBackgroundOperation()
|
H A D | medialibrary_data_manager.cpp | 416 BackgroundTaskMgr::BackgroundTaskMgrHelper::ApplyEfficiencyResources(resourceInfo); in InitResourceInfo()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 303 ErrCode BgEfficiencyResourcesMgr::ApplyEfficiencyResources( in ApplyEfficiencyResources() function in OHOS::BackgroundTaskMgr::BgEfficiencyResourcesMgr
|