Home
last modified time | relevance | path

Searched refs:normalContent (Results 1 - 3 of 3) sorted by relevance

/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/
H A Dmock_notification_helper.cpp88 std::shared_ptr<NotificationNormalContent> normalContent in GetAllActiveNotifications() local
90 normalContent->SetTitle("appName1"); in GetAllActiveNotifications()
91 normalContent->SetText("prompt1"); in GetAllActiveNotifications()
94 notificationRequest1->SetContent(std::make_shared<NotificationContent>(normalContent)); in GetAllActiveNotifications()
99 notificationRequest2->SetContent(std::make_shared<NotificationContent>(normalContent)); in GetAllActiveNotifications()
104 notificationRequest3->SetContent(std::make_shared<NotificationContent>(normalContent)); in GetAllActiveNotifications()
109 notificationRequest4->SetContent(std::make_shared<NotificationContent>(normalContent)); in GetAllActiveNotifications()
122 notificationRequest->SetContent(std::make_shared<NotificationContent>(normalContent)); in GetAllActiveNotifications()
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dnotification_tools.cpp170 auto const &normalContent = content->GetNotificationContent(); in RefreshContinuousNotifications() local
171 normalContent->SetTitle(newPromptInfos.at(label).first); in RefreshContinuousNotifications()
172 normalContent->SetText(newPromptInfos.at(label).second); in RefreshContinuousNotifications()
/foundation/multimedia/audio_framework/services/audio_policy/safe_volume_notification/src/
H A Daudio_safe_volume_notification_impl.cpp234 std::shared_ptr<Notification::NotificationNormalContent> normalContent = in PublishSafeVolumeNotification() local
236 if (normalContent == nullptr) { in PublishSafeVolumeNotification()
241 if (!SetTitleAndText(notificationId, normalContent)) { in PublishSafeVolumeNotification()
247 std::make_shared<Notification::NotificationContent>(normalContent); in PublishSafeVolumeNotification()

Completed in 2 milliseconds