Searched refs:eventSubscribeInfo (Results 1 – 9 of 9) sorted by relevance
39 const SubscribeInfoPtr &eventSubscribeInfo, const sptr<IRemoteObject> &commonEventListener, in InsertSubscriber() argument45 if (eventSubscribeInfo == nullptr) { in InsertSubscriber()55 std::vector<std::string> events = eventSubscribeInfo->GetMatchingSkills().GetEvents(); in InsertSubscriber()67 record->eventSubscribeInfo = eventSubscribeInfo; in InsertSubscriber()130 if (record == nullptr || record->eventSubscribeInfo == nullptr) { in DumpDetailed()141 …std::string priority = format + "Priority: " + std::to_string(record->eventSubscribeInfo->GetPrior… in DumpDetailed()143 switch (record->eventSubscribeInfo->GetUserId()) { in DumpDetailed()151 userId = std::to_string(record->eventSubscribeInfo->GetUserId()); in DumpDetailed()155 …std::string permission = format + "Permission: " + record->eventSubscribeInfo->GetPermission() + "… in DumpDetailed()156 … std::string deviceId = format + "DevicedID: " + record->eventSubscribeInfo->GetDeviceId() + "\n"; in DumpDetailed()[all …]
410 receiver.priority = vec->eventSubscribeInfo->GetPriority(); in EnqueueHistoryEventRecord()411 receiver.userId = vec->eventSubscribeInfo->GetUserId(); in EnqueueHistoryEventRecord()412 receiver.permission = vec->eventSubscribeInfo->GetPermission(); in EnqueueHistoryEventRecord()413 receiver.deviceId = vec->eventSubscribeInfo->GetDeviceId(); in EnqueueHistoryEventRecord()724 std::string subscriberRequiredPermission = subscriberRecord.eventSubscribeInfo->GetPermission(); in CheckPermission()820 subscriberRecord.eventSubscribeInfo->GetUserId(), in CheckSubscriberRequiredPermission()849 subscriberRecord.eventSubscribeInfo->GetUserId(), in CheckPublisherRequiredPermissions()1371 if (subscriberRecord->eventSubscribeInfo != nullptr) { in SendOrderedEventProcTimeoutHiSysEvent()1372 eventInfo.userId = subscriberRecord->eventSubscribeInfo->GetUserId(); in SendOrderedEventProcTimeoutHiSysEvent()
499 if (subscriberRecord->eventSubscribeInfo != nullptr) { in SendUnSubscribeHiSysEvent()500 eventInfo.userId = subscriberRecord->eventSubscribeInfo->GetUserId(); in SendUnSubscribeHiSysEvent()501 …std::vector<std::string> events = subscriberRecord->eventSubscribeInfo->GetMatchingSkills().GetEve… in SendUnSubscribeHiSysEvent()
29 std::shared_ptr<CommonEventSubscribeInfo> eventSubscribeInfo; member37 : eventSubscribeInfo(nullptr), in EventSubscriberRecord()67 if (a == nullptr || a->eventSubscribeInfo == nullptr) {71 if (b == nullptr || b->eventSubscribeInfo == nullptr) {74 return a->eventSubscribeInfo->GetPriority() > b->eventSubscribeInfo->GetPriority();97 …std::shared_ptr<EventSubscriberRecord> InsertSubscriber(const SubscribeInfoPtr &eventSubscribeInfo,
134 record->eventSubscribeInfo = nullptr; in HWTEST_F()155 record->eventSubscribeInfo = std::make_shared<CommonEventSubscribeInfo>(matchingSkills_); in HWTEST_F()157 record->eventSubscribeInfo->SetUserId(userId); in HWTEST_F()178 record->eventSubscribeInfo = std::make_shared<CommonEventSubscribeInfo>(matchingSkills_); in HWTEST_F()180 record->eventSubscribeInfo->SetUserId(userId); in HWTEST_F()212 record->eventSubscribeInfo = std::make_shared<CommonEventSubscribeInfo>(matchingSkills_); in HWTEST_F()214 record->eventSubscribeInfo->SetUserId(userId); in HWTEST_F()252 record->eventSubscribeInfo = std::make_shared<CommonEventSubscribeInfo>(matchingSkills_); in HWTEST_F()404 record->eventSubscribeInfo = std::make_shared<CommonEventSubscribeInfo>(matchingSkills_); in HWTEST_F()405 record->eventSubscribeInfo->SetUserId(userId); in HWTEST_F()[all …]
169 eventSubscriberRecord->eventSubscribeInfo = subscribeInfoPtr;219 eventSubscriberRecord->eventSubscribeInfo = subscribeInfoPtr;260 eventSubscriberRecord->eventSubscribeInfo = subscribeInfoPtr;303 eventSubscriberRecord->eventSubscribeInfo = subscribeInfoPtr;346 eventSubscriberRecord->eventSubscribeInfo = subscribeInfoPtr;389 eventSubscriberRecord->eventSubscribeInfo = subscribeInfoPtr;552 eventSubscriberRecord->eventSubscribeInfo = subscribeInfoPtr;
286 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;327 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;369 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;407 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;448 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;492 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;532 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;576 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;620 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;688 eventSubRecord.eventSubscribeInfo = commonEventSubscribeInfoSptr;[all …]
853 record->eventSubscribeInfo = std::make_shared<CommonEventSubscribeInfo>(subscribeInfo);889 record->eventSubscribeInfo = std::make_shared<CommonEventSubscribeInfo>(subscribeInfo);
90 …std::shared_ptr<CommonEventSubscribeInfo> eventSubscribeInfo = std::make_shared<CommonEventSubscri… in HWTEST_F() local91 subscriberRecord.eventSubscribeInfo = eventSubscribeInfo; in HWTEST_F()122 …std::shared_ptr<CommonEventSubscribeInfo> eventSubscribeInfo = std::make_shared<CommonEventSubscri… in HWTEST_F() local123 subscriberRecord.eventSubscribeInfo = eventSubscribeInfo; in HWTEST_F()148 …std::shared_ptr<CommonEventSubscribeInfo> eventSubscribeInfo = std::make_shared<CommonEventSubscri… in HWTEST_F() local149 subscriberRecord.eventSubscribeInfo = eventSubscribeInfo; in HWTEST_F()178 …std::shared_ptr<CommonEventSubscribeInfo> eventSubscribeInfo = std::make_shared<CommonEventSubscri… in HWTEST_F() local179 subscriberRecord.eventSubscribeInfo = eventSubscribeInfo; in HWTEST_F()204 …std::shared_ptr<CommonEventSubscribeInfo> eventSubscribeInfo = std::make_shared<CommonEventSubscri… in HWTEST_F() local205 subscriberRecord.eventSubscribeInfo = eventSubscribeInfo; in HWTEST_F()[all …]