/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
D | mock_common_event_manager.cpp | 27 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/ |
D | usb_event_test.cpp | 80 …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/ |
D | common_event_manager.cpp | 61 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() 82 …const 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/ |
D | mock_common_event_manager.cpp | 32 …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/ |
D | notification_local_live_view_subscriber_manager.cpp | 38 sptr<AnsSubscriberLocalLiveViewInterface> subscriber {nullptr}; member 69 …const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, const sptr<NotificationSubscribeInfo>… in AddLocalLiveViewSubscriber() 107 …const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, const sptr<NotificationSubscribeInfo>… in RemoveLocalLiveViewSubscriber() 184 const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber) in FindSubscriberRecord() 197 const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, in CreateSubscriberRecord() 214 …const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, const sptr<NotificationBundleOption> … in AddSubscriberInner() 236 …const sptr<AnsSubscriberLocalLiveViewInterface> &subscriber, const sptr<NotificationSubscribeInfo>… in RemoveSubscriberInner()
|
D | advanced_notification_subscriber_service.cpp | 43 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/ |
D | ans_module_test.cpp | 146 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/ |
D | common_event_freeze_unit_test.cpp | 90 … 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 …]
|
D | common_event_unsubscribe_unit_test.cpp | 98 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
|
D | common_event_publish_ordered_event_unit_test.cpp | 146 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/ |
D | security_collector_subscriber_manager.cpp | 51 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/ |
D | ans_manager_proxy_subscribe.cpp | 30 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/ |
D | common_event.cpp | 37 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() 57 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId) in PublishCommonEventAsUser() 76 …const 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() 116 …const 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() 377 …const 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/ |
D | usb_event_mock_test.cpp | 118 …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/ |
D | common_event_subscribe_test.cpp | 158 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 …]
|
D | common_event_unsubscribe_test.cpp | 158 …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/ |
D | thermal_level_event_test.cpp | 152 … 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/ |
D | subscribeosaccount_fuzzer.cpp | 36 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/ |
D | common_event_branch_test.cpp | 82 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/ |
D | ans_innerkits_module_publish_test.cpp | 639 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/ |
D | common_event.h | 59 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/ |
D | battery_event_system_test.cpp | 424 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/ |
D | power_coordination_lock_test.cpp | 381 …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/ |
D | collector_manager.cpp | 25 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/ |
D | napi_common_event.h | 73 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 …]
|