Home
last modified time | relevance | path

Searched refs:UnsubscribeBackgroundTask (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_transient_task_mgr_test.cpp96 …ret = DelayedSingleton<BgTransientTaskMgr>::GetInstance()->UnsubscribeBackgroundTask(subscriber->G…
109 …auto ret = DelayedSingleton<BgTransientTaskMgr>::GetInstance()->UnsubscribeBackgroundTask(subscrib…
121 …auto ret = DelayedSingleton<BgTransientTaskMgr>::GetInstance()->UnsubscribeBackgroundTask(nullptr);
H A Dbgtask_manager_unit_test.cpp377 EXPECT_EQ(bgTransientTaskMgr_->UnsubscribeBackgroundTask(nullptr), ERR_BGTASK_INVALID_PARAM);
381 …EXPECT_EQ(bgTransientTaskMgr_->UnsubscribeBackgroundTask(subscirberProxy1), ERR_BGTASK_INVALID_PAR…
384 EXPECT_EQ(bgTransientTaskMgr_->UnsubscribeBackgroundTask(subscirberProxy2), ERR_OK);
387 EXPECT_EQ(bgTransientTaskMgr_->UnsubscribeBackgroundTask(subscirberProxy2), ERR_OK);
/ohos5.0/base/security/access_token/services/common/background_task_manager/include/
H A Dbackground_task_manager_access_proxy.h48 … virtual int32_t UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubscriber> &subscriber) = 0;
66 int32_t UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubscriber>& subscriber) override;
H A Dbackground_task_manager_access_client.h36 int32_t UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubscriber>& subscriber);
/ohos5.0/base/security/access_token/services/common/background_task_manager/src/
H A Dbackground_task_manager_access_client.cpp67 int32_t BackgourndTaskManagerAccessClient::UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubs… in UnsubscribeBackgroundTask() function in OHOS::Security::AccessToken::BackgourndTaskManagerAccessClient
78 return proxy->UnsubscribeBackgroundTask(subscriber); in UnsubscribeBackgroundTask()
H A Dbackground_task_manager_access_proxy.cpp61 int32_t BackgroundTaskManagerAccessProxy::UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubsc… in UnsubscribeBackgroundTask() function in OHOS::Security::AccessToken::BackgroundTaskManagerAccessProxy
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/
H A Dbackground_task_mgr_helper.cpp54 ErrCode BackgroundTaskMgrHelper::UnsubscribeBackgroundTask(const BackgroundTaskSubscriber &subscrib… in UnsubscribeBackgroundTask() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrHelper
56 …return DelayedSingleton<BackgroundTaskManager>::GetInstance()->UnsubscribeBackgroundTask(subscribe… in UnsubscribeBackgroundTask()
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/
H A Dbgtask_framework_abnormal_unit_test.cpp286 …EXPECT_EQ(backgroundTaskMgrProxy.UnsubscribeBackgroundTask(nullptr), ERR_BGTASK_PARCELABLE_FAILED);
292 …EXPECT_EQ(backgroundTaskMgrProxy.UnsubscribeBackgroundTask(subscribe), ERR_BGTASK_PARCELABLE_FAILE…
296 …EXPECT_EQ(backgroundTaskMgrProxy.UnsubscribeBackgroundTask(subscribe), ERR_BGTASK_PARCELABLE_FAILE…
300 …EXPECT_EQ(backgroundTaskMgrProxy.UnsubscribeBackgroundTask(subscribe), ERR_BGTASK_TRANSACT_FAILED);
304 …EXPECT_EQ(backgroundTaskMgrProxy.UnsubscribeBackgroundTask(subscribe), ERR_BGTASK_TRANSACT_FAILED);
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/
H A Dsched_controller.cpp102 UnsubscribeBackgroundTask(); in UnregisterStateObservers()
326 void SchedController::UnsubscribeBackgroundTask() in UnsubscribeBackgroundTask() function in OHOS::ResourceSchedule::SchedController
332 int32_t ret = BackgroundTaskMgrHelper::UnsubscribeBackgroundTask(*backgroundTaskObserver_); in UnsubscribeBackgroundTask()
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Dbackground_task_mgr_helper.h75 static ErrCode UnsubscribeBackgroundTask(const BackgroundTaskSubscriber &subscriber);
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/src/
H A Dbackground_task_manager.cpp166 ErrCode BackgroundTaskManager::UnsubscribeBackgroundTask(const BackgroundTaskSubscriber &subscriber) in UnsubscribeBackgroundTask() function in OHOS::BackgroundTaskMgr::BackgroundTaskManager
176 return proxy_->UnsubscribeBackgroundTask(subscriberSptr); in UnsubscribeBackgroundTask()
H A Dbackground_task_mgr_stub.cpp315 ErrCode result = UnsubscribeBackgroundTask(iface_cast<IBackgroundTaskSubscriber>(subscriber)); in HandleUnsubscribeBackgroundTask()
H A Dbackground_task_mgr_proxy.cpp310 ErrCode BackgroundTaskMgrProxy::UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubscriber>& su… in UnsubscribeBackgroundTask() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrProxy
/ohos5.0/foundation/resourceschedule/background_task_mgr/frameworks/include/
H A Dbackground_task_manager.h116 ErrCode UnsubscribeBackgroundTask(const BackgroundTaskSubscriber &subscriber);
H A Dibackground_task_mgr.h118 … virtual ErrCode UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubscriber> &subscriber) = 0;
H A Dbackground_task_mgr_proxy.h110 ErrCode UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubscriber>& subscriber) override;
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/bgtask_manager_abnormal_unit_test/
H A Dbgtask_manager_abnormal_unit_test.cpp76 …EXPECT_EQ(BackgroundTaskMgrService_->UnsubscribeBackgroundTask(nullptr), ERR_BGTASK_PERMISSION_DEN…
/ohos5.0/foundation/resourceschedule/device_standby/plugins/message_listener/src/
H A Dbackground_task_listener.cpp47 if (BackgroundTaskMgrHelper::UnsubscribeBackgroundTask(*bgTaskListenerImpl_) != OHOS::ERR_OK) { in StopListener()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/include/
H A Dsched_controller.h49 void UnsubscribeBackgroundTask();
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/core/src/
H A Dbackground_task_mgr_service.cpp209 ErrCode BackgroundTaskMgrService::UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubscriber>& … in UnsubscribeBackgroundTask() function in OHOS::BackgroundTaskMgr::BackgroundTaskMgrService
215 …if (DelayedSingleton<BgTransientTaskMgr>::GetInstance()->UnsubscribeBackgroundTask(subscriber) == … in UnsubscribeBackgroundTask()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/core/include/
H A Dbackground_task_mgr_service.h72 ErrCode UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubscriber>& subscriber) override;
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/include/
H A Dbg_transient_task_mgr.h66 ErrCode UnsubscribeBackgroundTask(const sptr<IBackgroundTaskSubscriber>& subscriber);
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dmem_mgr_event_center.cpp273 BackgroundTaskMgr::BackgroundTaskMgrHelper::UnsubscribeBackgroundTask(*bgTaskObserver_); in UnregisterEventObserver()
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/
H A Dbgtask_client_unit_test.cpp264 BackgroundTaskMgrHelper::UnsubscribeBackgroundTask(*subscriber_);
/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
H A Dtemp_permission_observer.cpp269 …BackgourndTaskManagerAccessClient::GetInstance().UnsubscribeBackgroundTask(backgroundTaskCallback_… in UnRegisterCallback()

12