/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_level_event_test.cpp | 131 … 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/ |
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/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/common_event_service/frameworks/core/src/ |
D | common_event.cpp | 35 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() 50 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId) in PublishCommonEventAsUser() 64 …const 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() 94 …const 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() 352 …const 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/ |
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 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/ |
D | ans_module_test.cpp | 141 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/ |
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/notification/common_event_service/frameworks/native/test/unittest/ |
D | common_event_unsubscribe_test.cpp | 157 …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
|
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 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/ |
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 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/ |
D | common_event_branch_test.cpp | 68 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/ |
D | ans_innerkits_module_publish_test.cpp | 564 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 …]
|
D | ans_fw_module_test.cpp | 634 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/ |
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_mgr_notify_test.cpp | 94 …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/ |
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 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/ |
D | notification_subscriber_manager.cpp | 34 sptr<AnsSubscriberInterface> subscriber {nullptr}; member 62 …const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… in AddSubscriber() 108 …const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… in RemoveSubscriber() 257 const sptr<AnsSubscriberInterface> &subscriber) in FindSubscriberRecord() 270 const sptr<AnsSubscriberInterface> &subscriber) in CreateSubscriberRecord() 314 …const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… in AddSubscriberInner() 338 …const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… in RemoveSubscriberInner()
|
/base/security/access_token/interfaces/kits/privacy/napi/include/ |
D | napi_context_common.h | 56 PermActiveStatusPtr* subscriber = nullptr; // this member 65 std::shared_ptr<PermActiveStatusPtr> subscriber = nullptr; member
|
/base/account/os_account/frameworks/osaccount/core/src/ |
D | os_account_event_listener.cpp | 21 OsAccountEventListener::OsAccountEventListener(const std::shared_ptr<OsAccountSubscriber> &subscrib… in OsAccountEventListener()
|
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_event_listener.cpp | 22 AppAccountEventListener::AppAccountEventListener(const std::shared_ptr<AppAccountSubscriber> &subsc… in AppAccountEventListener()
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_level_event_system_test.cpp | 303 …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
|