/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_live_view_service.cpp | 125 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 D | notification_subscriber_manager.cpp | 495 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 D | advanced_notification_publish_service.cpp | 228 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 D | advanced_notification_service.cpp | 2061 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 D | advanced_notification_utils.cpp | 231 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 D | live_publish_process.cpp | 106 request->GetContent()->GetNotificationContent()); in CheckLocalLiveViewSubscribed()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_content.h | 88 * 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 D | smart_reminder_center.cpp | 375 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 D | notification_request.cpp | 383 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 D | notification_content.cpp | 121 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 D | advanced_notification_live_view_service_test.cpp | 223 EXPECT_NE(newRequest->GetContent()->GetNotificationContent()->GetLockScreenPicture(), nullptr); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/ |
H A D | notification_utils.h | 295 bool GetNotificationContent(CNotificationContent &content, OHOS::Notification::NotificationRequest &request);
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_publish_test.cpp | 215 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 D | notification_analytics_util.cpp | 333 auto content = request->GetContent()->GetNotificationContent(); in BuildExtraInfoWithReq()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_content_test.cpp | 336 std::shared_ptr<NotificationBasicContent> result = notificationContent.GetNotificationContent(); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_utils.cpp | 203 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 D | notification_napi.h | 529 static napi_value GetNotificationContent(
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 917 static napi_value GetNotificationContent(
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_content.cpp | 66 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 D | common_convert_request.cpp | 669 if (GetNotificationContent(env, value, request) == nullptr) { in GetNotificationRequestByCustom()
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_notification.cpp | 1451 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 D | notification_napi_convert_content.cpp | 56 napi_value NotificationNapi::GetNotificationContent( in GetNotificationContent() function in OHOS::Location::NotificationNapi
|
H A D | notification_napi_convert_request.cpp | 143 if (GetNotificationContent(env, value, request) == nullptr) { in GetNotificationRequestByCustom()
|