Home
last modified time | relevance | path

Searched refs:AddSubscriber (Results 1 – 23 of 23) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_subscriber_manager_test.cpp88 notificationSubscriberManager_->AddSubscriber(subscriber_, nullptr); in SetUp()
111 EXPECT_EQ(notificationSubscriberManager_->AddSubscriber(subscriber_, info), (int)ERR_OK);
112 EXPECT_EQ(notificationSubscriberManager_->AddSubscriber(subscriber_, nullptr), (int)ERR_OK);
129 …EXPECT_EQ(notificationSubscriberManager_->AddSubscriber(nullptr, info), (int)ERR_ANS_INVALID_PARAM…
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
Disys_event_service.h39 virtual int64_t AddSubscriber(const std::vector<SysEventQueryRule> &rules) = 0;
Dsys_event_service_proxy.h39 int64_t AddSubscriber(const std::vector<SysEventQueryRule> &rules);
Ddata_publisher.h42 int32_t AddSubscriber(int32_t uid, const std::vector<std::string> &events);
Dsys_event_service_ohos.h86 int64_t AddSubscriber(const SysEventQueryRuleGroupOhos &rules) override;
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
Dsys_event_service_proxy.h39 int64_t AddSubscriber(const std::vector<SysEventQueryRule> &rules);
Disys_event_service.h38 virtual int64_t AddSubscriber(const std::vector<SysEventQueryRule> &rules) = 0;
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
Ddata_share_test.cpp165 auto ret = dataPublisher->AddSubscriber(uid, events);
176 ret = dataPublisher->AddSubscriber(uid, events);
Dsys_event_service_ohos_test.cpp139 int64_t AddSubscriber(const std::vector<SysEventQueryRule> &rules) in AddSubscriber() function in OHOS::HiviewDFX::__anonb232959b0111::TestSysEventServiceStub
345 auto ret = proxy->AddSubscriber(queryRules);
348 ret = proxy->AddSubscriber(queryRules);
383 auto ret = proxy->AddSubscriber(queryRules);
699 auto ret = sysEventServiceProxy.AddSubscriber(queryRules);
/base/notification/common_event_service/services/include/
Dstatic_subscriber_manager.h85 void AddSubscriber(const AppExecFwk::ExtensionAbilityInfo &extension, bool enable = true);
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_subscriber_manager.h49 ErrCode AddSubscriber(const sptr<AnsSubscriberInterface> &subscriber,
/base/notification/common_event_service/services/src/
Dstatic_subscriber_manager.cpp103 AddSubscriber(extension, staticSubscribers_[extension.bundleName].enable); in InitValidSubscribers()
281 void StaticSubscriberManager::AddSubscriber(const AppExecFwk::ExtensionAbilityInfo &extension, bool… in AddSubscriber() function in OHOS::EventFwk::StaticSubscriberManager
334 AddSubscriber(extension, staticSubscribers_[bundleName].enable); in AddSubscriberWithBundleName()
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dsys_event_service_stub.cpp127 ret = reply.WriteInt64(AddSubscriber(queryRules)); in HandleAddSubscriber()
Dhisysevent_delegate.cpp172 return sysEventService.AddSubscriber(hospRules); in Subscribe()
Dsys_event_service_proxy.cpp192 int64_t SysEventServiceProxy::AddSubscriber(const std::vector<SysEventQueryRule> &rules) in AddSubscriber() function in OHOS::HiviewDFX::SysEventServiceProxy
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Dsys_event_service_stub.cpp128 ret = reply.WriteInt64(AddSubscriber(queryRules)); in HandleAddSubscriber()
Dsys_event_service_ohos.cpp480 int64_t SysEventServiceOhos::AddSubscriber(const SysEventQueryRuleGroupOhos &rules) in AddSubscriber() function in OHOS::HiviewDFX::SysEventServiceOhos
493 auto ret = dataPublisher_->AddSubscriber(uid, events); in AddSubscriber()
Dsys_event_service_proxy.cpp197 int64_t SysEventServiceProxy::AddSubscriber(const std::vector<SysEventQueryRule> &rules) in AddSubscriber() function in OHOS::HiviewDFX::SysEventServiceProxy
Ddata_publisher.cpp62 int32_t DataPublisher::AddSubscriber(int32_t uid, const std::vector<std::string> &eventList) in AddSubscriber() function in OHOS::HiviewDFX::DataPublisher
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_adapter_native_test.cpp139 int64_t AddSubscriber(const std::vector<SysEventQueryRule> &rules) in AddSubscriber() function in __anon690fcd940111::SysEventServiceStubTest
390 auto ret = proxy.AddSubscriber(queryRules);
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_subscriber_manager.cpp61 ErrCode NotificationSubscriberManager::AddSubscriber( in AddSubscriber() function in OHOS::Notification::NotificationSubscriberManager
Dadvanced_notification_service.cpp1470 errCode = NotificationSubscriberManager::GetInstance()->AddSubscriber(subscriber, info); in Subscribe()
/base/notification/common_event_service/services/test/unittest/static_subscriber_manager_unit_test/
Dstatic_subscriber_manager_unit_test.cpp1787 manager->AddSubscriber(info0);
1810 manager->AddSubscriber(info0);
1834 manager->AddSubscriber(info0);
1864 manager->AddSubscriber(info0);