/base/notification/common_event_service/test/fuzztest/commoneventsubscriber_fuzzer/ |
D | commoneventsubscriber_fuzzer.cpp | 66 std::shared_ptr<EventFwk::TestSubscriber> subscriber = in DoSomethingInterestingWithMyAPI() local 68 if (subscriber != nullptr) { in DoSomethingInterestingWithMyAPI() 69 subscriber->SetCode(code); in DoSomethingInterestingWithMyAPI() 70 subscriber->GetCode(); in DoSomethingInterestingWithMyAPI() 71 subscriber->SetData(stringData); in DoSomethingInterestingWithMyAPI() 72 subscriber->GetData(); in DoSomethingInterestingWithMyAPI() 73 subscriber->SetCodeAndData(code, stringData); in DoSomethingInterestingWithMyAPI() 74 subscriber->AbortCommonEvent(); in DoSomethingInterestingWithMyAPI() 75 subscriber->ClearAbortCommonEvent(); in DoSomethingInterestingWithMyAPI() 76 subscriber->GetAbortCommonEvent(); in DoSomethingInterestingWithMyAPI() [all …]
|
/base/notification/common_event_service/frameworks/native/src/ |
D | common_event_manager.cpp | 61 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() argument 63 return PublishCommonEventAsUser(data, publishInfo, subscriber, UNDEFINED_USER); in PublishCommonEvent() 67 …onst CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber, in PublishCommonEventAsUser() argument 70 …return NewPublishCommonEventAsUser(data, publishInfo, subscriber, userId) == ERR_OK ? true : false; in PublishCommonEventAsUser() 74 …onst CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber, in NewPublishCommonEventAsUser() argument 77 …layedSingleton<CommonEvent>::GetInstance()->PublishCommonEventAsUser(data, publishInfo, subscriber, in NewPublishCommonEventAsUser() 82 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… in PublishCommonEvent() argument 84 … return PublishCommonEventAsUser(data, publishInfo, subscriber, uid, callerToken, UNDEFINED_USER); in PublishCommonEvent() 88 …onst CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber, in PublishCommonEventAsUser() argument 91 …Singleton<CommonEvent>::GetInstance()->PublishCommonEventAsUser(data, publishInfo, subscriber, uid, in PublishCommonEventAsUser() [all …]
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
D | mock_common_event_manager.cpp | 27 for (auto subscriber : subscriberList) { in PublishCommonEvent() local 28 subscriber->OnReceiveEvent(data); in PublishCommonEvent() 39 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() argument 44 … CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in SubscribeCommonEvent() argument 46 subscriberList.push_back(subscriber); in SubscribeCommonEvent() 50 …ommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent() argument 52 subscriberList.remove(subscriber); in UnSubscribeCommonEvent()
|
/base/location/test/location_locator/mock/src/ |
D | mock_common_event_manager.cpp | 32 …onst CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() argument 34 … Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo, subscriber); in PublishCommonEvent() 38 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid) in PublishCommonEvent() argument 40 …tion::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo, subscriber, uid); in PublishCommonEvent() 43 … CommonEventManager::SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in SubscribeCommonEvent() argument 45 return Location::MockCommonEventManager::GetInstance().SubscribeCommonEvent(subscriber); in SubscribeCommonEvent() 48 …ommonEventManager::UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber) in UnSubscribeCommonEvent() argument 50 return Location::MockCommonEventManager::GetInstance().UnSubscribeCommonEvent(subscriber); in UnSubscribeCommonEvent()
|
/base/notification/common_event_service/services/src/ |
D | static_subscriber_manager.cpp | 66 StaticSubscriber subscriber = { .events = s, .enable = true }; in InitAllowList() local 67 staticSubscribers_.insert(std::make_pair(bundleName, subscriber)); in InitAllowList() 137 for (auto subscriber : targetSubscribers->second) { in PublishCommonEvent() local 138 … EVENT_LOGW("subscriber.userId = %{public}d, userId = %{public}d", subscriber.userId, userId); in PublishCommonEvent() 139 if (!subscriber.enable) { in PublishCommonEvent() 140 … EVENT_LOGW("current subscriber is disable, subscriber.userId = %{public}d", subscriber.userId); in PublishCommonEvent() 141 …SendStaticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetActi… in PublishCommonEvent() 144 if (subscriber.userId < SUBSCRIBE_USER_SYSTEM_BEGIN) { in PublishCommonEvent() 145 … EVENT_LOGW("subscriber userId is invalid, subscriber.userId = %{public}d", subscriber.userId); in PublishCommonEvent() 146 …SendStaticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetActi… in PublishCommonEvent() [all …]
|
/base/notification/common_event_service/frameworks/core/src/ |
D | common_event.cpp | 35 const std::shared_ptr<CommonEventSubscriber> &subscriber) in PublishCommonEvent() argument 40 if (!PublishParameterCheck(data, publishInfo, subscriber, commonEventListener)) { in PublishCommonEvent() 50 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId) in PublishCommonEventAsUser() argument 55 if (!PublishParameterCheck(data, publishInfo, subscriber, commonEventListener)) { in PublishCommonEventAsUser() 64 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… in PublishCommonEvent() argument 69 if (!PublishParameterCheck(data, publishInfo, subscriber, commonEventListener)) { in PublishCommonEvent() 79 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, in PublishCommonEventAsUser() argument 85 if (!PublishParameterCheck(data, publishInfo, subscriber, commonEventListener)) { in PublishCommonEventAsUser() 94 …const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener) in PublishParameterCheck() argument 102 if (!publishInfo.IsOrdered() && (subscriber != nullptr)) { in PublishParameterCheck() [all …]
|
/base/notification/common_event_service/interfaces/inner_api/ |
D | common_event_manager.h | 93 const std::shared_ptr<CommonEventSubscriber> &subscriber); 105 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId); 117 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId); 130 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… 144 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… 153 static bool SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 161 … static int32_t NewSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 169 static bool UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 177 …static int32_t NewUnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber);
|
/base/notification/distributed_notification_service/services/test/moduletest/ |
D | ans_module_test.cpp | 141 auto subscriber = new TestAnsSubscriber(); variable 142 …subscriber->consumedCb_ = [](const std::shared_ptr<Notification>, const std::shared_ptr<Notificati… in __anon9bfc377f0102() 151 …EXPECT_EQ((int)g_advancedNotificationService->Subscribe(subscriber->GetImpl(), info), (int)ERR_OK); 157 …EXPECT_EQ((int)g_advancedNotificationService->Unsubscribe(subscriber->GetImpl(), info), (int)ERR_O… 201 auto subscriber = new TestAnsSubscriber(); variable 203 …subscriber->consumedCb_ = [](const std::shared_ptr<Notification>, const std::shared_ptr<Notificati… in __anon9bfc377f0202() 206 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), subscriberInfo); 225 g_advancedNotificationService->Unsubscribe(subscriber->GetImpl(), subscriberInfo); 236 auto subscriber = new TestAnsSubscriber(); variable 240 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), subscriberInfo); [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() argument 65 if (subscriber == nullptr) { in AddSubscriber() 98 …ffrt::task_handle handler = notificationSubQueue_->submit_h(std::bind([this, &subscriber, &subInfo… in AddSubscriber() 100 result = this->AddSubscriberInner(subscriber, subInfo); in AddSubscriber() 108 …const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… in RemoveSubscriber() argument 111 if (subscriber == nullptr) { in RemoveSubscriber() 122 ffrt::task_handle handler = notificationSubQueue_->submit_h(std::bind([this, &subscriber, in RemoveSubscriber() 125 result = this->RemoveSubscriberInner(subscriber, subscribeInfo); in RemoveSubscriber() 249 if ((*iter)->subscriber->AsObject() == object) { in FindSubscriberRecord() [all …]
|
/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 159 bool subscribeResult = CommonEventManager::SubscribeCommonEvent(subscriber); 260 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable 262 bool subscribeResult = CommonEventManager::SubscribeCommonEvent(subscriber); 281 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable 283 CommonEventManager::SubscribeCommonEvent(subscriber); 285 bool subscribeResult = CommonEventManager::SubscribeCommonEvent(subscriber); 329 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable 330 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); 392 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable [all …]
|
D | common_event_unsubscribe_test.cpp | 157 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable 159 EXPECT_EQ(true, helper->UnSubscribeCommonEvent(subscriber)); 174 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable 175 …XPECT_EQ(ERR_OK, DelayedSingleton<CommonEvent>::GetInstance()->UnSubscribeCommonEvent(subscriber)); 190 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable 191 DelayedSingleton<CommonEvent>::GetInstance()->SubscribeCommonEvent(subscriber); 192 …XPECT_EQ(ERR_OK, DelayedSingleton<CommonEvent>::GetInstance()->UnSubscribeCommonEvent(subscriber)); 207 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable 208 sptr<IRemoteObject> commonEventListener = new CommonEventListener(subscriber); 225 …std::shared_ptr<DreivedSubscriber> subscriber = std::make_shared<DreivedSubscriber>(subscribeInfo); variable [all …]
|
/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 97 const auto result = CommonEventManager::GetInstance().SubscribeCommonEvent(subscriber); in RegisterEvent() 103 subscriber = make_shared<TestCommonEventSubscriber>(subscriberInfo); in RegisterEvent() 112 return subscriber; in RegisterEvent() 153 shared_ptr<TestCommonEventSubscriber> subscriber = RegisterEvent(); variable 154 EXPECT_FALSE(subscriber == nullptr); 160 auto err = CommonEventManager::GetInstance().UnsubscribeCommonEvent(subscriber); 184 shared_ptr<TestCommonEventSubscriber> subscriber = RegisterEvent(); variable 185 EXPECT_FALSE(subscriber == nullptr); 191 auto err = CommonEventManager::GetInstance().UnsubscribeCommonEvent(subscriber);
|
/base/notification/common_event_service/frameworks/core/include/ |
D | common_event.h | 39 const std::shared_ptr<CommonEventSubscriber> &subscriber); 51 const std::shared_ptr<CommonEventSubscriber> &subscriber, const int32_t &userId); 64 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… 78 …const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid, const int32_t &callerT… 87 int32_t SubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 95 int32_t UnSubscribeCommonEvent(const std::shared_ptr<CommonEventSubscriber> &subscriber); 190 …const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener… 201 …const std::shared_ptr<CommonEventSubscriber> &subscriber, sptr<IRemoteObject> &commonEventListener…
|
/base/location/test/location_locator/mock/include/ |
D | mock_common_event_manager.h | 31 …st CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber)); 33 …st CommonEventPublishInfo &publishInfo, const std::shared_ptr<CommonEventSubscriber> &subscriber)); 35 const std::shared_ptr<CommonEventSubscriber> &subscriber, const uid_t &uid)); 36 …OCK_METHOD(bool, SubscribeCommonEvent, (const std::shared_ptr<CommonEventSubscriber> &subscriber)); 37 …K_METHOD(bool, UnSubscribeCommonEvent, (const std::shared_ptr<CommonEventSubscriber> &subscriber));
|
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_level_event_test.cpp | 131 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable 137 CommonEventManager::UnSubscribeCommonEvent(subscriber); 152 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable 158 CommonEventManager::UnSubscribeCommonEvent(subscriber); 173 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable 179 CommonEventManager::UnSubscribeCommonEvent(subscriber); 194 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable 202 CommonEventManager::UnSubscribeCommonEvent(subscriber); 217 … shared_ptr<CommonEventThermalLevelTest> subscriber = CommonEventThermalLevelTest::RegisterEvent(); variable 225 CommonEventManager::UnSubscribeCommonEvent(subscriber); [all …]
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
D | ans_fw_module_test.cpp | 634 TestAnsSubscriber subscriber; variable 637 EXPECT_EQ(NotificationHelper::SubscribeNotification(subscriber, info), ERR_OK); 654 EXPECT_EQ(NotificationHelper::UnSubscribeNotification(subscriber, info), ERR_OK); 656 std::list<std::shared_ptr<SubscriberEvent>> events = subscriber.GetEvents(); 684 subscriber.ClearEvents(); 696 TestAnsSubscriber subscriber; variable 699 EXPECT_EQ(NotificationHelper::SubscribeNotification(subscriber, info), ERR_OK); 711 EXPECT_EQ(NotificationHelper::UnSubscribeNotification(subscriber, info), ERR_OK); 713 std::list<std::shared_ptr<SubscriberEvent>> events = subscriber.GetEvents(); 730 subscriber.ClearEvents(); [all …]
|
/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 81 CommonEventManager::SubscribeCommonEvent(subscriber); 87 CommonEventManager::UnSubscribeCommonEvent(subscriber); 105 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable 106 CommonEventManager::SubscribeCommonEvent(subscriber); 112 CommonEventManager::UnSubscribeCommonEvent(subscriber); 130 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable 131 CommonEventManager::SubscribeCommonEvent(subscriber); 137 CommonEventManager::UnSubscribeCommonEvent(subscriber); 185 …std::shared_ptr<UsbSubscriberTest> subscriber = std::make_shared<UsbSubscriberTest>(subscriberInfo… variable [all …]
|
/base/notification/common_event_service/services/test/unittest/ |
D | common_event_unsubscribe_unit_test.cpp | 98 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable 101 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); 135 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable 138 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); 179 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable 182 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); 202 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable 205 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); 225 std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(subscribeInfo); variable 228 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber);
|
D | common_event_freeze_unit_test.cpp | 90 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable 92 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); 122 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable 124 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); 154 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable 156 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); 204 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable 206 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); 255 … std::shared_ptr<SubscriberTest> subscriber = std::make_shared<SubscriberTest>(*subscribeInfoPtr); variable 257 OHOS::sptr<CommonEventListener> commonEventListener = new CommonEventListener(subscriber); [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 119 CommonEventManager::SubscribeCommonEvent(subscriber); 128 CommonEventManager::UnSubscribeCommonEvent(subscriber); 146 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable 147 CommonEventManager::SubscribeCommonEvent(subscriber); 156 CommonEventManager::UnSubscribeCommonEvent(subscriber); 174 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable 175 CommonEventManager::SubscribeCommonEvent(subscriber); 184 CommonEventManager::UnSubscribeCommonEvent(subscriber); 232 …std::shared_ptr<UsbSubscriberMockTest> subscriber = std::make_shared<UsbSubscriberMockTest>(subscr… variable [all …]
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | notification_subscriber_manager.h | 49 ErrCode AddSubscriber(const sptr<AnsSubscriberInterface> &subscriber, 60 …const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… 123 …:shared_ptr<SubscriberRecord> FindSubscriberRecord(const sptr<AnsSubscriberInterface> &subscriber); 124 …hared_ptr<SubscriberRecord> CreateSubscriberRecord(const sptr<AnsSubscriberInterface> &subscriber); 130 …const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn… 132 …const sptr<AnsSubscriberInterface> &subscriber, const sptr<NotificationSubscribeInfo> &subscribeIn…
|
/base/notification/common_event_service/test/fuzztest/subscribecommonevent_fuzzer/ |
D | subscribecommonevent_fuzzer.cpp | 72 std::shared_ptr<EventFwk::TestSubscriber> subscriber = in DoSomethingInterestingWithMyAPI() local 74 if (subscriber != nullptr) { in DoSomethingInterestingWithMyAPI() 75 subscriber->IsOrderedCommonEvent(); in DoSomethingInterestingWithMyAPI() 76 subscriber->IsStickyCommonEvent(); in DoSomethingInterestingWithMyAPI() 78 return EventFwk::CommonEventManager::SubscribeCommonEvent(subscriber); in DoSomethingInterestingWithMyAPI()
|
/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 70 …EXPECT_EQ(subscribeFailed, commonEvent.CreateCommonEventListener(subscriber, commonEventListener)); 271 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable 273 …EXPECT_EQ(false, commonEvent.PublishParameterCheck(data, publishInfo, subscriber, commonEventListe… 291 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable 293 …EXPECT_EQ(true, commonEvent.PublishParameterCheck(data, publishInfo, subscriber, commonEventListen… 311 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable 315 …EXPECT_EQ(true, commonEvent.PublishCommonEventAsUser(data, publishInfo, subscriber, uid, callToken… 330 std::shared_ptr<CommonEventSubscriber> subscriber = nullptr; variable 331 EXPECT_EQ(false, commonEvent.PublishCommonEvent(data, publishInfo, subscriber));
|
/base/account/os_account/frameworks/osaccount/core/src/ |
D | os_account_event_listener.cpp | 21 …ccountEventListener::OsAccountEventListener(const std::shared_ptr<OsAccountSubscriber> &subscriber) in OsAccountEventListener() argument 22 : osAccountSubscriber_(subscriber) in OsAccountEventListener()
|
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_event_listener.cpp | 22 …ountEventListener::AppAccountEventListener(const std::shared_ptr<AppAccountSubscriber> &subscriber) in AppAccountEventListener() argument 23 : appAccountSubscriber_(subscriber) in AppAccountEventListener()
|