Home
last modified time | relevance | path

Searched refs:recentNotification (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_utils_test.cpp287 auto recentNotification = std::make_shared<AdvancedNotificationService::RecentNotification>(); variable
288 recentNotification->isActive = true;
289 recentNotification->notification = notification;
290 advancedNotificationService_->recentInfo_->list.emplace_front(recentNotification);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_utils.cpp388 for (auto recentNotification : recentInfo_->list) { in RecentNotificationDump() local
389 if (recentNotification->notification == nullptr) { in RecentNotificationDump()
392 … const auto &notificationRequest = recentNotification->notification->GetNotificationRequest(); in RecentNotificationDump()
396 …if (recvUserId != SUBSCRIBE_USER_INIT && recvUserId != recentNotification->notification->GetRecvUs… in RecentNotificationDump()
399 if (!bundle.empty() && bundle != recentNotification->notification->GetBundleName()) { in RecentNotificationDump()
406 stream << "\tBundleName: " << recentNotification->notification->GetBundleName() << "\n"; in RecentNotificationDump()
414 if (!recentNotification->isActive) { in RecentNotificationDump()
415 stream << "\tDeleteTime: " << TimeToString(recentNotification->deleteTime) << "\n"; in RecentNotificationDump()
416 stream << "\tDeleteReason: " << recentNotification->deleteReason << "\n"; in RecentNotificationDump()
419 stream << "\t\tId: " << recentNotification->notification->GetId() << "\n"; in RecentNotificationDump()
[all …]