Home
last modified time | relevance | path

Searched refs:GetNotificationContent (Results 1 - 23 of 23) sorted by relevance

/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_live_view_service.cpp125 auto content = record->request->GetContent()->GetNotificationContent(); in UpdateNotificationTimerInfo()
217 std::static_pointer_cast<NotificationLiveViewContent>(request->GetContent()->GetNotificationContent()); in IsLiveViewCanRecover()
246 request->GetContent()->GetNotificationContent()); in SetNotificationRequestToDb()
457 if (oldRequest->GetContent()->GetNotificationContent() == nullptr || in FillLockScreenPicture()
458 newRequest->GetContent()->GetNotificationContent() == nullptr) { in FillLockScreenPicture()
465 auto oldContent = oldRequest->GetContent()->GetNotificationContent(); in FillLockScreenPicture()
466 auto newContent = newRequest->GetContent()->GetNotificationContent(); in FillLockScreenPicture()
474 auto lockScreenPicture = request->GetContent()->GetNotificationContent()->GetLockScreenPicture(); in SetLockScreenPictureToDb()
519 request->GetContent()->GetNotificationContent()->SetLockScreenPicture(picture); in GetLockScreenPictureFromDb()
H A Dnotification_subscriber_manager.cpp495 notification->GetNotificationRequest().GetContent()->GetNotificationContent()); in NotifyCanceledInner()
571 requestContent->GetNotificationContent() != nullptr) { in BatchNotifyCanceledInner()
573 requestContent->GetNotificationContent()); in BatchNotifyCanceledInner()
579 requestContent->GetNotificationContent() != nullptr) { in BatchNotifyCanceledInner()
581 requestContent->GetNotificationContent()); in BatchNotifyCanceledInner()
H A Dadvanced_notification_publish_service.cpp228 record->request->GetContent()->GetNotificationContent())->GetType() == TYPE_CODE_DOWNLOAD)) { in PublishNotificationForIndirectProxy()
1623 notificationRequest->GetContent()->GetNotificationContent()); in RemoveAllNotificationsInner()
2174 request->GetContent()->GetNotificationContent())->GetType() != TYPE_CODE_DOWNLOAD)) { in PublishNotificationBySa()
2230 record->request->GetContent()->GetNotificationContent())->GetType() == TYPE_CODE_DOWNLOAD)) { in PublishNotificationBySa()
H A Dadvanced_notification_service.cpp2061 auto liveViewContent = std::static_pointer_cast<NotificationLiveViewContent>(content->GetNotificationContent()); in IsNeedPushCheck()
2087 auto liveViewContent = std::static_pointer_cast<NotificationLiveViewContent>(content->GetNotificationContent()); in FillExtraInfoToJson()
2220 auto content = request->GetContent()->GetNotificationContent(); in IsNeedNotifyConsumed()
H A Dadvanced_notification_utils.cpp231 oldRequest->GetContent()->GetNotificationContent()); in FillRequestByKeys()
720 notification->request->GetContent()->GetNotificationContent()); in GetCommonTargetRecordList()
/base/notification/distributed_notification_service/services/ans/src/advanced_notification_publish/
H A Dlive_publish_process.cpp106 request->GetContent()->GetNotificationContent()); in CheckLocalLiveViewSubscribed()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_content.h88 * GetNotificationContent()) and set the content type to NotificationContent::Type::BASIC_TEXT (obtained by calling
97 * GetNotificationContent()) and set the content type to NotificationContent::Type::LONG_TEXT (obtained by calling
106 * GetNotificationContent()) and set the content type to NotificationContent::Type::PICTURE (obtained by calling
115 * GetNotificationContent()) and set the content type to NotificationContent::Type::CONVERSATION (obtained by
124 * GetNotificationContent()) and set the content type to NotificationContent::Type::MULTILINE (obtained by calling
133 * GetNotificationContent()) and set the content type to NotificationContent::Type::MEDIA (obtained by calling
142 * GetNotificationContent()) and set the content type to NotificationContent::Type::LOCAL_LIVE_VIEW
151 * GetNotificationContent()) and set the content type to NotificationContent::Type::LIVE_VIEW (obtained by calling
184 std::shared_ptr<NotificationBasicContent> GetNotificationContent() const;
/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/
H A Dsmart_reminder_center.cpp375 if (request->GetContent() != nullptr && request->GetContent()->GetNotificationContent() != nullptr) { in GetReminderAffecteds()
377 static_cast<NotificationLocalLiveViewContent *>(&(*(request->GetContent()->GetNotificationContent()))); in GetReminderAffecteds()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp383 auto basicContent = notificationContent_->GetNotificationContent(); in IsColorEnabled()
2455 auto content = notificationContent_->GetNotificationContent(); in CheckVersion()
2457 auto oldContent = oldRequest->GetContent()->GetNotificationContent(); in CheckVersion()
2490 auto content = notificationContent_->GetNotificationContent(); in CheckNotificationRequest()
2514 auto oldContent = oldRequest->GetContent()->GetNotificationContent(); in CheckNotificationRequest()
2541 auto content = notificationContent_->GetNotificationContent(); in FillMissingParameters()
2548 auto oldContent = oldRequest->GetContent()->GetNotificationContent(); in FillMissingParameters()
2691 auto basicContent = GetContent()->GetNotificationContent(); in CheckImageSizeForContent()
H A Dnotification_content.cpp121 std::shared_ptr<NotificationBasicContent> NotificationContent::GetNotificationContent() const in GetNotificationContent() function in OHOS::Notification::NotificationContent
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_live_view_service_test.cpp223 EXPECT_NE(newRequest->GetContent()->GetNotificationContent()->GetLockScreenPicture(), nullptr); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h295 bool GetNotificationContent(CNotificationContent &content, OHOS::Notification::NotificationRequest &request);
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp215 std::static_pointer_cast<NotificationMediaContent>(notificationContent->GetNotificationContent()); in CheckCaseOneResult()
309 notificationContent->GetNotificationContent()); in CheckCaseFourResult()
334 std::static_pointer_cast<NotificationMultiLineContent>(notificationContent->GetNotificationContent()); in CheckCaseFiveResult()
352 std::static_pointer_cast<NotificationPictureContent>(notificationContent->GetNotificationContent()); in CheckCaseSixResult()
368 std::static_pointer_cast<NotificationLongTextContent>(notificationContent->GetNotificationContent()); in CheckCaseSevenResult()
/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_analytics_util.cpp333 auto content = request->GetContent()->GetNotificationContent(); in BuildExtraInfoWithReq()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_content_test.cpp336 std::shared_ptr<NotificationBasicContent> result = notificationContent.GetNotificationContent(); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp203 if (!GetNotificationContent(cjRequest.notificationContent, request)) { in GetNotificationRequestByCustom()
834 bool GetNotificationContent(CNotificationContent &content, NotificationRequest &request) in GetNotificationContent() function
1466 std::shared_ptr<NotificationBasicContent> basicContent = content->GetNotificationContent(); in SetNotificationContentDetailed()
/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h529 static napi_value GetNotificationContent(
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h917 static napi_value GetNotificationContent(
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_content.cpp66 std::shared_ptr<NotificationBasicContent> basicContent = content->GetNotificationContent(); in SetNotificationContentDetailed()
445 napi_value Common::GetNotificationContent(const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationContent() function in OHOS::NotificationNapi::Common
H A Dcommon_convert_request.cpp669 if (GetNotificationContent(env, value, request) == nullptr) { in GetNotificationRequestByCustom()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp1451 auto media = std::static_pointer_cast<NotificationMediaContent>(request.GetContent()->GetNotificationContent()); in CanPublishMediaContent()
1481 auto content = request.GetContent()->GetNotificationContent(); in CanPublishLiveViewContent()
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_convert_content.cpp56 napi_value NotificationNapi::GetNotificationContent( in GetNotificationContent() function in OHOS::Location::NotificationNapi
H A Dnotification_napi_convert_request.cpp143 if (GetNotificationContent(env, value, request) == nullptr) { in GetNotificationRequestByCustom()

Completed in 45 milliseconds