/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/include/ |
H A D | efficiency_resources_operation.h | 27 napi_value ResetAllEfficiencyResources(napi_env env, napi_callback_info info);
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/ |
H A D | background_task_mgr_helper.cpp | 90 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 D | bg_efficiency_resources_mgr_test.cpp | 125 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 D | efficiency_resources_operation.cpp | 161 napi_value ResetAllEfficiencyResources(napi_env env, napi_callback_info info) in ResetAllEfficiencyResources() function 163 ErrCode errCode = DelayedSingleton<BackgroundTaskManager>::GetInstance()->ResetAllEfficiencyResources(); in ResetAllEfficiencyResources()
|
H A D | init_bgtaskmgr.cpp | 42 DECLARE_NAPI_FUNCTION("resetAllEfficiencyResources", ResetAllEfficiencyResources), in BackgroundTaskMgrInit()
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/ |
H A D | background_task_mgr_helper.h | 127 static ErrCode ResetAllEfficiencyResources();
|
/foundation/resourceschedule/background_task_mgr/frameworks/include/ |
H A D | background_task_manager.h | 159 ErrCode ResetAllEfficiencyResources();
|
H A D | ibackground_task_mgr.h | 161 virtual ErrCode ResetAllEfficiencyResources() = 0;
|
H A D | background_task_mgr_proxy.h | 153 ErrCode ResetAllEfficiencyResources() override;
|
/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/ |
H A D | bgtask_framework_abnormal_unit_test.cpp | 430 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 D | bgtask_framework_unit_test.cpp | 289 * @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 D | background_task_mgr_service.h | 78 ErrCode ResetAllEfficiencyResources() override;
|
/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_manager.cpp | 197 ErrCode BackgroundTaskManager::ResetAllEfficiencyResources() in ResetAllEfficiencyResources() function in OHOS::BackgroundTaskMgr::BackgroundTaskManager 202 return proxy_->ResetAllEfficiencyResources(); in ResetAllEfficiencyResources()
|
H A D | background_task_mgr_stub.cpp | 399 ErrCode result = ResetAllEfficiencyResources(); in HandleResetAllEfficiencyResources()
|
H A D | background_task_mgr_proxy.cpp | 565 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 D | background_task_mgr_service.cpp | 243 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 D | bg_efficiency_resources_mgr.h | 54 ErrCode ResetAllEfficiencyResources();
|
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/ |
H A D | bgtask_client_unit_test.cpp | 345 * @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 D | bg_efficiency_resources_mgr.cpp | 498 ErrCode BgEfficiencyResourcesMgr::ResetAllEfficiencyResources()
in ResetAllEfficiencyResources() function in OHOS::BackgroundTaskMgr::BgEfficiencyResourcesMgr 500 HitraceScoped traceScoped(HITRACE_TAG_OHOS, "BgEfficiencyResourcesMgr::ResetAllEfficiencyResources");
in ResetAllEfficiencyResources()
|