Home
last modified time | relevance | path

Searched refs:StopBackgroundRunning (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/
H A Dbgtask_framework_abnormal_unit_test.cpp224 …EXPECT_EQ(backgroundTaskMgrProxy.StopBackgroundRunning("abilityName", nullptr, -1), ERR_BGTASK_PAR…
228 …EXPECT_EQ(backgroundTaskMgrProxy.StopBackgroundRunning("abilityName", nullptr, -1), ERR_BGTASK_TRA…
232 …EXPECT_EQ(backgroundTaskMgrProxy.StopBackgroundRunning("abilityName", nullptr, -1), ERR_BGTASK_PAR…
236 …EXPECT_EQ(backgroundTaskMgrProxy.StopBackgroundRunning("abilityName", nullptr, -1), ERR_BGTASK_PAR…
240 …EXPECT_EQ(backgroundTaskMgrProxy.StopBackgroundRunning("abilityName", nullptr, -1), ERR_BGTASK_TRA…
244 …EXPECT_EQ(backgroundTaskMgrProxy.StopBackgroundRunning("abilityName", nullptr, -1), ERR_BGTASK_TRA…
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_continuous_task_mgr_test.cpp212 …EXPECT_EQ((int32_t)bgContinuousTaskMgr_->StopBackgroundRunning(taskParam1->abilityName_, 1), (int3…
218 …EXPECT_EQ((int32_t)bgContinuousTaskMgr_->StopBackgroundRunning(taskParam2->abilityName_, 2), (int3…
224 EXPECT_EQ((int32_t)bgContinuousTaskMgr_->StopBackgroundRunning(taskParam2->abilityName_, 2),
276 …EXPECT_EQ((int32_t)bgContinuousTaskMgr_->StopBackgroundRunning(taskParam2->abilityName_, 1), (int3…
301 …EXPECT_EQ((int32_t)bgContinuousTaskMgr_->StopBackgroundRunning("", 1), (int32_t)ERR_BGTASK_INVALID…
303 EXPECT_EQ((int32_t)bgContinuousTaskMgr_->StopBackgroundRunning("ability1", 1),
308 EXPECT_EQ((int32_t)bgContinuousTaskMgr_->StopBackgroundRunning("ability1", 1), (int32_t)ERR_OK);
328 EXPECT_EQ((int32_t)bgContinuousTaskMgr_->StopBackgroundRunning("ability1", 1), (int32_t)ERR_OK);
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/include/
H A Dbg_continuous_task_napi_module.h27 napi_value StopBackgroundRunning(napi_env env, napi_callback_info info);
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dinit.cpp39 DECLARE_NAPI_FUNCTION("stopBackgroundRunning", StopBackgroundRunning), in BackgroundTaskManagerInit()
H A Dbg_continuous_task_napi_module.cpp746 napi_value StopBackgroundRunning(napi_env env, napi_callback_info info, bool isThrow) in StopBackgroundRunning() function
800 napi_value StopBackgroundRunning(napi_env env, napi_callback_info info) in StopBackgroundRunning() function
802 return StopBackgroundRunning(env, info, false); in StopBackgroundRunning()
817 return StopBackgroundRunning(env, info, true); in StopBackgroundRunningThrow()
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/include/
H A Dibackground_task_mgr.h101 …virtual ErrCode StopBackgroundRunning(const std::string &abilityName, const sptr<IRemoteObject> &a…
H A Dbackground_task_mgr_proxy.h93 …ErrCode StopBackgroundRunning(const std::string &abilityName, const sptr<IRemoteObject> &abilityTo…
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/core/src/
H A Dbackground_task_mgr_service.cpp158 ErrCode BackgroundTaskMgrService::StopBackgroundRunning(const std::string &abilityName, in StopBackgroundRunning() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrService
161 return BgContinuousTaskMgr::GetInstance()->StopBackgroundRunning(abilityName, abilityId); in StopBackgroundRunning()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/core/include/
H A Dbackground_task_mgr_service.h69 …ErrCode StopBackgroundRunning(const std::string &abilityName, const sptr<IRemoteObject> &abilityTo…
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/
H A Dbg_continuous_task_mgr.h66 ErrCode StopBackgroundRunning(const std::string &abilityName, int32_t abilityId);
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/src/
H A Dbackground_task_manager.cpp149 return proxy_->StopBackgroundRunning(abilityName, abilityToken, abilityId); in RequestStopBackgroundRunning()
H A Dbackground_task_mgr_stub.cpp283 ErrCode result = StopBackgroundRunning(abilityName, abilityToken, abilityId); in HandleStopBackgroundRunning()
H A Dbackground_task_mgr_proxy.cpp238 ErrCode BackgroundTaskMgrProxy::StopBackgroundRunning(const std::string &abilityName, in StopBackgroundRunning() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrProxy
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dability.h754 virtual int StopBackgroundRunning() final;
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
H A Dnapi_common_ability_execute_utils.cpp1389 asyncCallbackInfo->errCode = asyncCallbackInfo->ability->StopBackgroundRunning(); in CancelBackgroundRunningExecuteCB()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dbg_continuous_task_mgr.cpp877 ErrCode BgContinuousTaskMgr::StopBackgroundRunning(const std::string &abilityName, int32_t abilityI… in StopBackgroundRunning() function in OHOS::BackgroundTaskMgr::BgContinuousTaskMgr
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dability.cpp1046 int Ability::StopBackgroundRunning() in StopBackgroundRunning() function in OHOS::AppExecFwk::Ability
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_test.cpp2065 ability->StopBackgroundRunning();