Home
last modified time | relevance | path

Searched defs:subscriber (Results 1 – 25 of 128) sorted by relevance

123456

/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dmock_common_event_manager.cpp27 for (auto subscriber : subscriberList) { in PublishCommonEvent() local
39 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent()
44 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscri… in SubscribeCommonEvent()
50 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subsc… in UnSubscribeCommonEvent()
/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_event_test.cpp80 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable
105 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable
130 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable
184 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable
220 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable
254 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable
/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_manager.cpp61 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent()
67 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… in PublishCommonEventAsUser()
74 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… in NewPublishCommonEventAsUser()
82const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… in PublishCommonEvent()
88 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… in PublishCommonEventAsUser()
95 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscri… in SubscribeCommonEvent()
100 …2_t CommonEventManager::NewSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subs… in NewSubscribeCommonEvent()
105 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subsc… in UnSubscribeCommonEvent()
110 …t CommonEventManager::NewUnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subs… in NewUnSubscribeCommonEvent()
/base/location/test/location_locator/mock/src/
Dmock_common_event_manager.cpp32 …const CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscribe… in PublishCommonEvent()
38 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid) in PublishCommonEvent()
43 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscri… in SubscribeCommonEvent()
48 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subsc… in UnSubscribeCommonEvent()
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_local_live_view_subscriber_manager.cpp38 sptr<AnsSubscriberLocalLiveViewInterface> subscriber {nullptr}; member
69const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, const sptr<NotificationSubscribeInfo>… in AddLocalLiveViewSubscriber()
107const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, const sptr<NotificationSubscribeInfo>… in RemoveLocalLiveViewSubscriber()
184 const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber) in FindSubscriberRecord()
197 const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, in CreateSubscriberRecord()
214const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, const sptr<NotificationBundleOption> … in AddSubscriberInner()
236const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, const sptr<NotificationSubscribeInfo>… in RemoveSubscriberInner()
Dadvanced_notification_subscriber_service.cpp43 const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &info) in Subscribe()
84 ErrCode AdvancedNotificationService::SubscribeSelf(const sptr<AnsSubscriberInterface> &subscriber) in SubscribeSelf()
128 const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &info) in Unsubscribe()
/base/notification/distributed_notification_service/services/test/moduletest/
Dans_module_test.cpp146 auto subscriber = new TestAnsSubscriber(); variable
206 auto subscriber = new TestAnsSubscriber(); variable
241 auto subscriber = new TestAnsSubscriber(); variable
289 auto subscriber = new TestAnsSubscriber(); variable
324 auto subscriber = new TestAnsSubscriber(); variable
372 auto subscriber = new TestAnsSubscriber(); variable
407 auto subscriber = new TestAnsSubscriber(); variable
447 auto subscriber = new TestAnsSubscriber(); variable
487 auto subscriber = new TestAnsSubscriber(); variable
527 auto subscriber = new TestAnsSubscriber(); variable
[all …]
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_freeze_unit_test.cpp90 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
122 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
154 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
204 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
255 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
298 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
341 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
384 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
427 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
457 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable
[all …]
Dcommon_event_unsubscribe_unit_test.cpp98 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
135 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
179 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
202 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
225 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
Dcommon_event_publish_ordered_event_unit_test.cpp146 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
197 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
245 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
294 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
587 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
644 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
701 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
758 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
/base/security/security_guard/services/security_collector/src/
Dsecurity_collector_subscriber_manager.cpp51 for (const auto &subscriber : it->second) { in NotifySubscriber() local
63 … count = std::count_if(subscribers.begin(), subscribers.end(), [appName] (const auto &subscriber) { in GetAppSubscribeCount()
74 if (std::any_of(subscribers.begin(), subscribers.end(), [appName] (const auto &subscriber) { in GetAppSubscribeCount()
90 [remote] (const auto &subscriber) { return subscriber->GetRemote() == remote; }); in FindEventIds()
115 const std::shared_ptr<SecurityCollectorSubscriber> &subscriber) in SubscribeCollector()
171 for (auto subscriber: subscribers) { in UnsubscribeCollector() local
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_manager_proxy_subscribe.cpp30 ErrCode AnsManagerProxy::Subscribe(const sptr<AnsSubscriberInterface> &subscriber, in Subscribe()
77 ErrCode AnsManagerProxy::SubscribeSelf(const sptr<AnsSubscriberInterface> &subscriber) in SubscribeSelf()
112 …rrCode AnsManagerProxy::SubscribeLocalLiveView(const sptr<AnsSubscriberLocalLiveViewInterface> &su… in SubscribeLocalLiveView()
166 const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &info) in Unsubscribe()
/base/notification/common_event_service/frameworks/core/src/
Dcommon_event.cpp37 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent()
57 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId) in PublishCommonEventAsUser()
76const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… in PublishCommonEvent()
96 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, in PublishCommonEventAsUser()
116const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener) in PublishParameterCheck()
140 const std::shared_ptr<CommonEventSubscriber> &subscriber) in SubscribeCommonEvent()
181 const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent()
377const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener) in CreateCommonEventListener()
434 auto subscriber = it->first; in Resubscribe() local
/base/usb/usb_manager/test/native/mock/src/
Dusb_event_mock_test.cpp118 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable
146 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable
174 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable
231 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable
265 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable
299 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable
/base/notification/common_event_service/frameworks/native/test/unittest/
Dcommon_event_subscribe_test.cpp158 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
260 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
281 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
329 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
392 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
423 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
447 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
627 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
647 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
666 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
[all …]
Dcommon_event_unsubscribe_test.cpp158 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
175 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
191 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
208 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
226 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
242 std::shared_ptr<DreivedSubscriber> subscriber = nullptr; variable
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_level_event_test.cpp152 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
183 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
213 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
242 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
271 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
/base/account/os_account/test/fuzztest/osaccount/subscribeosaccount_fuzzer/
Dsubscribeosaccount_fuzzer.cpp36 std::shared_ptr<OsAccountSubscriber> subscriber = make_shared<TestOsAccountSubscriber>(); in SubscribeOsAccountFuzzTest() local
43 std::shared_ptr<OsAccountSubscriber> subscriber = make_shared<TestOsAccountSubscriber>(); in UnsubscribeOsAccountFuzzTest() local
/base/notification/common_event_service/frameworks/core/test/unittest/common_event_branch_test/
Dcommon_event_branch_test.cpp82 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable
288 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
305 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable
325 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable
344 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp639 auto subscriber = TestAnsSubscriber(); variable
719 auto subscriber = TestAnsSubscriber(); variable
781 auto subscriber = TestAnsSubscriber(); variable
834 auto subscriber = TestAnsSubscriber(); variable
885 auto subscriber = TestAnsSubscriber(); variable
924 auto subscriber = TestAnsSubscriber(); variable
963 auto subscriber = TestAnsSubscriber(); variable
1004 auto subscriber = TestAnsSubscriber(); variable
1048 auto subscriber = TestAnsSubscriber(); variable
1096 auto subscriber = TestAnsSubscriber(); variable
[all …]
/base/notification/common_event_service/interfaces/kits/napi/common_event/include/
Dcommon_event.h59 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
70 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
77 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
89 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
97 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
105 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
113 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
121 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
129 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
137 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
[all …]
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_event_system_test.cpp424 shared_ptr<CommonEventBatteryLowTest> subscriber = CommonEventBatteryLowTest::RegisterEvent(); variable
444 …shared_ptr<CommonEventBatteryChangedTest> subscriber = CommonEventBatteryChangedTest::RegisterEven… variable
463 …shared_ptr<CommonEventBatteryChargingTest> subscriber = CommonEventBatteryChargingTest::RegisterEv… variable
482 …shared_ptr<CommonEventBatteryDischargingTest> subscriber = CommonEventBatteryDischargingTest::Regi… variable
501 shared_ptr<CommonEventBatteryOkayTest> subscriber = CommonEventBatteryOkayTest::RegisterEvent(); variable
520 …shared_ptr<CommonEventBatteryDisconnectTest> subscriber = CommonEventBatteryDisconnectTest::Regist… variable
539 …shared_ptr<CommonEventBatteryConnectTest> subscriber = CommonEventBatteryConnectTest::RegisterEven… variable
558 …shared_ptr<CommonEventChargeTypeChangedTest> subscriber = CommonEventChargeTypeChangedTest::Regist… variable
577 … shared_ptr<CommonEventDumpCapacityTest> subscriber = CommonEventDumpCapacityTest::RegisterEvent(); variable
/base/powermgr/power_manager/test/unittest/src/
Dpower_coordination_lock_test.cpp381 …shared_ptr<PowerStateCommonEventSubscriber> subscriber = PowerStateCommonEventSubscriber::Register… variable
441 …shared_ptr<PowerStateCommonEventSubscriber> subscriber = PowerStateCommonEventSubscriber::Register… variable
492 …shared_ptr<PowerStateCommonEventSubscriber> subscriber = PowerStateCommonEventSubscriber::Register… variable
551 …shared_ptr<PowerStateCommonEventSubscriber> subscriber = PowerStateCommonEventSubscriber::Register… variable
602 …shared_ptr<PowerStateCommonEventSubscriber> subscriber = PowerStateCommonEventSubscriber::Register… variable
643 …shared_ptr<PowerStateCommonEventSubscriber> subscriber = PowerStateCommonEventSubscriber::Register… variable
/base/security/security_guard/interfaces/inner_api/collector/src/
Dcollector_manager.cpp25 int32_t CollectorManager::Subscribe(const std::shared_ptr<ICollectorSubscriber> &subscriber) in Subscribe()
69 int32_t CollectorManager::Unsubscribe(const std::shared_ptr<ICollectorSubscriber> &subscriber) in Unsubscribe()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/include/
Dnapi_common_event.h73 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
84 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
91 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
104 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
112 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
120 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
128 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
136 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
144 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
152 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
[all …]

123456