Home
last modified time | relevance | path

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

12345

/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_level_event_test.cpp131 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
152 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
173 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
194 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
217 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
240 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
265 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
295 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable
/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/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/common_event_service/frameworks/core/src/
Dcommon_event.cpp35 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent()
50 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId) in PublishCommonEventAsUser()
64const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… in PublishCommonEvent()
79 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, in PublishCommonEventAsUser()
94const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener) in PublishParameterCheck()
122 int32_t CommonEvent::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in SubscribeCommonEvent()
163 int32_t CommonEvent::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscribe… in UnSubscribeCommonEvent()
352const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener) in CreateCommonEventListener()
410 auto subscriber = it->first; in Resubscribe() local
/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
185 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable
222 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable
256 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable
/base/notification/distributed_notification_service/services/test/moduletest/
Dans_module_test.cpp141 auto subscriber = new TestAnsSubscriber(); variable
201 auto subscriber = new TestAnsSubscriber(); variable
236 auto subscriber = new TestAnsSubscriber(); variable
284 auto subscriber = new TestAnsSubscriber(); variable
319 auto subscriber = new TestAnsSubscriber(); variable
367 auto subscriber = new TestAnsSubscriber(); variable
402 auto subscriber = new TestAnsSubscriber(); variable
442 auto subscriber = new TestAnsSubscriber(); variable
482 auto subscriber = new TestAnsSubscriber(); variable
522 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/notification/common_event_service/frameworks/native/test/unittest/
Dcommon_event_unsubscribe_test.cpp157 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
174 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
190 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
207 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
225 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable
241 std::shared_ptr<DreivedSubscriber> subscriber = nullptr; variable
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
446 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
626 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
645 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
664 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable
[all …]
/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
232 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable
267 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable
301 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable
/base/notification/common_event_service/frameworks/core/test/unittest/common_event_branch_test/
Dcommon_event_branch_test.cpp68 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable
271 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable
291 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable
311 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable
330 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp564 auto subscriber = TestAnsSubscriber(); variable
643 auto subscriber = TestAnsSubscriber(); variable
705 auto subscriber = TestAnsSubscriber(); variable
758 auto subscriber = TestAnsSubscriber(); variable
809 auto subscriber = TestAnsSubscriber(); variable
848 auto subscriber = TestAnsSubscriber(); variable
887 auto subscriber = TestAnsSubscriber(); variable
928 auto subscriber = TestAnsSubscriber(); variable
972 auto subscriber = TestAnsSubscriber(); variable
1020 auto subscriber = TestAnsSubscriber(); variable
[all …]
Dans_fw_module_test.cpp634 TestAnsSubscriber subscriber; variable
696 TestAnsSubscriber subscriber; variable
742 TestAnsSubscriber subscriber; variable
785 TestAnsSubscriber subscriber; variable
836 TestAnsSubscriber subscriber; variable
861 TestAnsSubscriber subscriber; variable
894 TestAnsSubscriber subscriber; variable
936 TestAnsSubscriber subscriber; variable
966 TestAnsSubscriber subscriber; variable
1016 TestAnsSubscriber subscriber; 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_mgr_notify_test.cpp94 …shared_ptr<TestCommonEventSubscriber> subscriber = make_shared<TestCommonEventSubscriber>(subscrib… in RegisterEvent() local
153 shared_ptr<TestCommonEventSubscriber> subscriber = RegisterEvent(); variable
184 shared_ptr<TestCommonEventSubscriber> subscriber = RegisterEvent(); variable
/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
103 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
111 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
119 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
127 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
135 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
143 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
151 std::shared_ptr<SubscriberInstance> subscriber = nullptr; member
[all …]
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_subscriber_manager.cpp34 sptr<AnsSubscriberInterface> subscriber {nullptr}; member
62const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… in AddSubscriber()
108const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… in RemoveSubscriber()
257 const sptr<AnsSubscriberInterface> &subscriber) in FindSubscriberRecord()
270 const sptr<AnsSubscriberInterface> &subscriber) in CreateSubscriberRecord()
314const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… in AddSubscriberInner()
338const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… in RemoveSubscriberInner()
/base/security/access_token/interfaces/kits/privacy/napi/include/
Dnapi_context_common.h56 PermActiveStatusPtr* subscriber = nullptr; // this member
65 std::shared_ptr<PermActiveStatusPtr> subscriber = nullptr; member
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account_event_listener.cpp21 OsAccountEventListener::OsAccountEventListener(const std::shared_ptr<OsAccountSubscriber> &subscrib… in OsAccountEventListener()
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_event_listener.cpp22 AppAccountEventListener::AppAccountEventListener(const std::shared_ptr<AppAccountSubscriber> &subsc… in AppAccountEventListener()
/base/powermgr/thermal_manager/test/systemtest/src/
Dthermal_level_event_system_test.cpp303 …shared_ptr<CommonEventThermalLevel1Test> subscriber = CommonEventThermalLevel1Test::RegisterEvent(… variable
324 …shared_ptr<CommonEventThermalLevel2Test> subscriber = CommonEventThermalLevel2Test::RegisterEvent(… variable
345 …shared_ptr<CommonEventThermalLevel3Test> subscriber = CommonEventThermalLevel3Test::RegisterEvent(… variable
366 …shared_ptr<CommonEventThermalIdleTrueTest> subscriber = CommonEventThermalIdleTrueTest::RegisterEv… variable
393 …shared_ptr<CommonEventThermalIdleFalseTest> subscriber = CommonEventThermalIdleFalseTest::Register… variable

12345