/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/ |
H A D | bgtask_framework_abnormal_unit_test.cpp | 224 …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 D | bg_continuous_task_mgr_test.cpp | 212 …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 D | bg_continuous_task_napi_module.h | 27 napi_value StopBackgroundRunning(napi_env env, napi_callback_info info);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
H A D | init.cpp | 39 DECLARE_NAPI_FUNCTION("stopBackgroundRunning", StopBackgroundRunning), in BackgroundTaskManagerInit()
|
H A D | bg_continuous_task_napi_module.cpp | 746 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 D | ibackground_task_mgr.h | 101 …virtual ErrCode StopBackgroundRunning(const std::string &abilityName, const sptr<IRemoteObject> &a…
|
H A D | background_task_mgr_proxy.h | 93 …ErrCode StopBackgroundRunning(const std::string &abilityName, const sptr<IRemoteObject> &abilityTo…
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/core/src/ |
H A D | background_task_mgr_service.cpp | 158 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 D | background_task_mgr_service.h | 69 …ErrCode StopBackgroundRunning(const std::string &abilityName, const sptr<IRemoteObject> &abilityTo…
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/ |
H A D | bg_continuous_task_mgr.h | 66 ErrCode StopBackgroundRunning(const std::string &abilityName, int32_t abilityId);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_manager.cpp | 149 return proxy_->StopBackgroundRunning(abilityName, abilityToken, abilityId); in RequestStopBackgroundRunning()
|
H A D | background_task_mgr_stub.cpp | 283 ErrCode result = StopBackgroundRunning(abilityName, abilityToken, abilityId); in HandleStopBackgroundRunning()
|
H A D | background_task_mgr_proxy.cpp | 238 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 D | ability.h | 754 virtual int StopBackgroundRunning() final;
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | napi_common_ability_execute_utils.cpp | 1389 asyncCallbackInfo->errCode = asyncCallbackInfo->ability->StopBackgroundRunning(); in CancelBackgroundRunningExecuteCB()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | bg_continuous_task_mgr.cpp | 877 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 D | ability.cpp | 1046 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 D | ability_test.cpp | 2065 ability->StopBackgroundRunning();
|