Home
last modified time | relevance | path

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

12345678910

/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_subscriber_listener.cpp34 auto subscriber = subscriber_.lock(); in OnConnected() local
45 auto subscriber = subscriber_.lock(); in OnDisconnected() local
57 auto subscriber = subscriber_.lock(); in OnConsumed() local
87 auto subscriber = subscriber_.lock(); in OnCanceled() local
104 auto subscriber = subscriber_.lock(); in OnBatchCanceled() local
126 auto subscriber = subscriber_.lock(); in OnCanceledList() local
142 auto subscriber = subscriber_.lock(); in OnUpdated() local
152 auto subscriber = subscriber_.lock(); in OnDoNotDisturbDateChange() local
164 auto subscriber = subscriber_.lock(); in OnEnabledNotificationChanged() local
175 auto subscriber = subscriber_.lock(); in OnBadgeChanged() local
[all …]
H A 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()
/ohos5.0/drivers/peripheral/usb/test/unittest/mock/src/
H A Dusbd_device_auto_test.cpp95 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
113 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
128 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
150 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
173 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
199 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
214 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
234 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
252 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
275 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); variable
/ohos5.0/base/notification/common_event_service/interfaces/kits/cj/src/
H A Dcommon_event.cpp60 void SetSubscribeInfo(std::shared_ptr<SubscriberImpl> subscriber, in SetSubscribeInfo()
100 void DeleteSubscribe(std::shared_ptr<SubscriberImpl> subscriber) in DeleteSubscribe()
115 void GetSubscriberCode(std::shared_ptr<SubscriberImpl> subscriber, int64_t &code) in GetSubscriberCode()
125 int32_t SetSubscriberCode(std::shared_ptr<SubscriberImpl> subscriber, int32_t code) in SetSubscriberCode()
134 std::string GetSubscriberData(std::shared_ptr<SubscriberImpl> subscriber) in GetSubscriberData()
144 int32_t SetSubscriberData(std::shared_ptr<SubscriberImpl> subscriber, const char *data) in SetSubscriberData()
153 …int32_t SetSubscriberCodeAndData(std::shared_ptr<SubscriberImpl> subscriber, int32_t code, const c… in SetSubscriberCodeAndData()
162 void IsCommonEventSticky(std::shared_ptr<SubscriberImpl> subscriber, bool &data) in IsCommonEventSticky()
172 void IsCommonEventOrdered(std::shared_ptr<SubscriberImpl> subscriber, bool &data) in IsCommonEventOrdered()
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A 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()
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A 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
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_transient_task_mgr_test.cpp49 auto subscriber = std::make_shared<TestBackgroundTaskSubscriber>(); variable
74 auto subscriber = std::make_shared<TestBackgroundTaskSubscriber>(); variable
90 auto subscriber = std::make_shared<TestBackgroundTaskSubscriber>(); variable
108 auto subscriber = std::make_shared<TestBackgroundTaskSubscriber>(); variable
/ohos5.0/base/notification/common_event_service/frameworks/native/src/
H A 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()
/ohos5.0/base/location/test/location_locator/mock/src/
H A 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()
/ohos5.0/base/location/test/location_manager/mock/src/
H A 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()
/ohos5.0/drivers/peripheral/usb/test/benchmarktest/
H A Dusb_benchmark_request_test.cpp117 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
141 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
166 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
191 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
218 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
243 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
269 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
295 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
320 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
346 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
[all …]
H A Dusb_benchmark_transfer_test.cpp153 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
180 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
210 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
237 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
267 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
297 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
326 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
355 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
384 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
413 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest(); in BENCHMARK_F() local
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A 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()
H A Dadvanced_notification_subscriber_service.cpp45 const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &info) in Subscribe()
84 ErrCode AdvancedNotificationService::SubscribeSelf(const sptr<AnsSubscriberInterface> &subscriber) in SubscribeSelf()
132 const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &info) in Unsubscribe()
/ohos5.0/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/
H A Dabnormal_branch_test.cpp149 void *subscriber = nullptr; variable
163 void *subscriber = nullptr; variable
177 void *subscriber = nullptr; variable
192 void *subscriber = nullptr; variable
207 void *subscriber = nullptr; variable
220 void *subscriber = nullptr; variable
233 void *subscriber = nullptr; variable
246 void *subscriber = nullptr; variable
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_common_event_manager.cpp41 const std::shared_ptr<CommonEventSubscriber>& subscriber) in PublishCommonEvent()
46 bool CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber>& subscri… in SubscribeCommonEvent()
53 bool CommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber>& subsc… in UnSubscribeCommonEvent()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/consumer/controller/service/src/
H A Dpublished_data_controller.cpp43 std::vector<OperationResult> PublishedDataController::SubscribePublishedData(void *subscriber, in SubscribePublishedData()
55 std::vector<OperationResult> PublishedDataController::UnSubscribePublishedData(void *subscriber, in UnSubscribePublishedData()
69 std::vector<OperationResult> PublishedDataController::EnableSubscribePublishedData(void *subscriber, in EnableSubscribePublishedData()
80 …d::vector<OperationResult> PublishedDataController::DisableSubscribePublishedData(void *subscriber, in DisableSubscribePublishedData()
H A Dpersistent_data_controller.cpp43 std::vector<OperationResult> PersistentDataController::SubscribeRdbData(void *subscriber, in SubscribeRdbData()
55 std::vector<OperationResult> PersistentDataController::UnSubscribeRdbData(void *subscriber, in UnSubscribeRdbData()
70 std::vector<OperationResult> PersistentDataController::EnableSubscribeRdbData(void *subscriber, in EnableSubscribeRdbData()
81 std::vector<OperationResult> PersistentDataController::DisableSubscribeRdbData(void *subscriber, in DisableSubscribeRdbData()
/ohos5.0/base/security/security_guard/services/security_collector/src/
H A 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()
172 for (auto subscriber: subscribers) { in UnsubscribeCollector() local
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A 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 …]
H A 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
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp177 auto subscriber = new TestAnsSubscriber(); variable
216 auto subscriber = new TestAnsSubscriber(); variable
270 auto subscriber = new TestAnsSubscriber(); variable
310 auto subscriber = new TestAnsSubscriber(); variable
365 auto subscriber = new TestAnsSubscriber(); variable
405 auto subscriber = new TestAnsSubscriber(); variable
445 auto subscriber = new TestAnsSubscriber(); variable
485 auto subscriber = new TestAnsSubscriber(); variable
525 auto subscriber = new TestAnsSubscriber(); variable
565 auto subscriber = new TestAnsSubscriber(); variable
[all …]
/ohos5.0/foundation/multimodalinput/input/service/subscriber/test/
H A Dkey_subscriber_handler_test.cpp1226 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
1322 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
1366 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
1394 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
1418 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
1447 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
1477 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
1503 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
1528 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
1608 std::shared_ptr<KeySubscriberHandler::Subscriber> subscriber = variable
[all …]
/ohos5.0/base/security/security_guard/test/unittest/security_collector/interface_test/src/
H A Dcollector_interface_test.cpp91 std::shared_ptr<SecurityCollector::SecurityCollectorSubscriber> subscriber = variable
132 SecurityCollector::CollectorSubscriberTestImpl subscriber{event, duration, true}; variable
156 auto subscriber = std::make_shared<SecurityGuardTest::SecurityCollectorSubscriber> (event); variable
168 auto subscriber = std::make_shared<SecurityGuardTest::SecurityCollectorSubscriber> (event); variable
191 auto subscriber = std::make_shared<SecurityGuardTest::SecurityCollectorSubscriber> (event); variable
203 auto subscriber = std::make_shared<SecurityGuardTest::SecurityCollectorSubscriber> (event); variable
269 SecurityCollector::SecurityCollectorSubscribeInfo subscriber (event, -1, false); variable
286 SecurityCollector::SecurityCollectorSubscribeInfo subscriber (event, -1, false); variable
/ohos5.0/base/usb/usb_manager/test/native/mock/src/
H A 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

12345678910