Home
last modified time | relevance | path

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

/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/include/
H A Defficiency_resources_operation.h27 napi_value ResetAllEfficiencyResources(napi_env env, napi_callback_info info);
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/
H A Dbackground_task_mgr_helper.cpp90 ErrCode BackgroundTaskMgrHelper::ResetAllEfficiencyResources() in ResetAllEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrHelper
92 return DelayedSingleton<BackgroundTaskManager>::GetInstance()->ResetAllEfficiencyResources(); in ResetAllEfficiencyResources()
/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_efficiency_resources_mgr_test.cpp125 bgEfficiencyResourcesMgr_->ResetAllEfficiencyResources(); in HWTEST_F()
159 bgEfficiencyResourcesMgr_->ResetAllEfficiencyResources(); in HWTEST_F()
186 bgEfficiencyResourcesMgr_->ResetAllEfficiencyResources(); in HWTEST_F()
216 bgEfficiencyResourcesMgr_->ResetAllEfficiencyResources(); in HWTEST_F()
235 bgEfficiencyResourcesMgr_->ResetAllEfficiencyResources(); in HWTEST_F()
252 * @tc.desc: reset all efficiency resources using ResetAllEfficiencyResources function.
279 EXPECT_EQ((int32_t)bgEfficiencyResourcesMgr_->ResetAllEfficiencyResources(), (int32_t)ERR_OK); in HWTEST_F()
478 bgEfficiencyResourcesMgr_->ResetAllEfficiencyResources(); in HWTEST_F()
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Defficiency_resources_operation.cpp161 napi_value ResetAllEfficiencyResources(napi_env env, napi_callback_info info) in ResetAllEfficiencyResources() function
163 ErrCode errCode = DelayedSingleton<BackgroundTaskManager>::GetInstance()->ResetAllEfficiencyResources(); in ResetAllEfficiencyResources()
H A Dinit_bgtaskmgr.cpp42 DECLARE_NAPI_FUNCTION("resetAllEfficiencyResources", ResetAllEfficiencyResources), in BackgroundTaskMgrInit()
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Dbackground_task_mgr_helper.h127 static ErrCode ResetAllEfficiencyResources();
/foundation/resourceschedule/background_task_mgr/frameworks/include/
H A Dbackground_task_manager.h159 ErrCode ResetAllEfficiencyResources();
H A Dibackground_task_mgr.h161 virtual ErrCode ResetAllEfficiencyResources() = 0;
H A Dbackground_task_mgr_proxy.h153 ErrCode ResetAllEfficiencyResources() override;
/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/
H A Dbgtask_framework_abnormal_unit_test.cpp430 EXPECT_EQ(backgroundTaskMgrProxy.ResetAllEfficiencyResources(), ERR_BGTASK_PARCELABLE_FAILED); in HWTEST_F()
434 EXPECT_EQ(backgroundTaskMgrProxy.ResetAllEfficiencyResources(), ERR_BGTASK_TRANSACT_FAILED); in HWTEST_F()
438 EXPECT_EQ(backgroundTaskMgrProxy.ResetAllEfficiencyResources(), ERR_BGTASK_TRANSACT_FAILED); in HWTEST_F()
H A Dbgtask_framework_unit_test.cpp289 * @tc.desc: test ResetAllEfficiencyResources.
298 EXPECT_EQ(DelayedSingleton<BackgroundTaskManager>::GetInstance()->ResetAllEfficiencyResources(), in HWTEST_F()
302 EXPECT_NE(DelayedSingleton<BackgroundTaskManager>::GetInstance()->ResetAllEfficiencyResources(), ERR_OK); in HWTEST_F()
/foundation/resourceschedule/background_task_mgr/services/core/include/
H A Dbackground_task_mgr_service.h78 ErrCode ResetAllEfficiencyResources() override;
/foundation/resourceschedule/background_task_mgr/frameworks/src/
H A Dbackground_task_manager.cpp197 ErrCode BackgroundTaskManager::ResetAllEfficiencyResources() in ResetAllEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskManager
202 return proxy_->ResetAllEfficiencyResources(); in ResetAllEfficiencyResources()
H A Dbackground_task_mgr_stub.cpp399 ErrCode result = ResetAllEfficiencyResources(); in HandleResetAllEfficiencyResources()
H A Dbackground_task_mgr_proxy.cpp565 ErrCode BackgroundTaskMgrProxy::ResetAllEfficiencyResources() in ResetAllEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrProxy
571 BGTASK_LOGE("ResetAllEfficiencyResources write descriptor failed"); in ResetAllEfficiencyResources()
578 BGTASK_LOGE("ResetAllEfficiencyResources fail: transact ErrCode=%{public}d", result); in ResetAllEfficiencyResources()
582 BGTASK_LOGE("ResetAllEfficiencyResources fail: read result failed."); in ResetAllEfficiencyResources()
/foundation/resourceschedule/background_task_mgr/services/core/src/
H A Dbackground_task_mgr_service.cpp243 ErrCode BackgroundTaskMgrService::ResetAllEfficiencyResources() in ResetAllEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrService
245 return DelayedSingleton<BgEfficiencyResourcesMgr>::GetInstance()->ResetAllEfficiencyResources(); in ResetAllEfficiencyResources()
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dbg_efficiency_resources_mgr.h54 ErrCode ResetAllEfficiencyResources();
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/
H A Dbgtask_client_unit_test.cpp345 * @tc.desc: test ResetAllEfficiencyResources interface.
351 EXPECT_NE((int32_t)BackgroundTaskMgrHelper::ResetAllEfficiencyResources(), (int32_t)ERR_OK); in HWTEST_F()
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp498 ErrCode BgEfficiencyResourcesMgr::ResetAllEfficiencyResources() in ResetAllEfficiencyResources() function in OHOS::BackgroundTaskMgr::BgEfficiencyResourcesMgr
500 HitraceScoped traceScoped(HITRACE_TAG_OHOS, "BgEfficiencyResourcesMgr::ResetAllEfficiencyResources"); in ResetAllEfficiencyResources()

Completed in 12 milliseconds