Searched refs:notificationContent (Results 1 - 7 of 7) sorted by relevance
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_content_test.cpp | 47 NotificationContent notificationContent(normalContent); in HWTEST_F() 48 auto result = notificationContent.Marshalling(parcel); in HWTEST_F() 63 NotificationContent notificationContent(normalContent); in HWTEST_F() 64 auto result = notificationContent.ReadFromParcel(parcel); in HWTEST_F() 160 NotificationContent notificationContent(normalContent); in HWTEST_F() 161 auto result = notificationContent.GetContentType(); in HWTEST_F() 165 auto result1 = notificationContent.ReadFromParcel(parcel); in HWTEST_F() 179 NotificationContent notificationContent(conversationContent); in HWTEST_F() 180 auto result = notificationContent.GetContentType(); in HWTEST_F() 184 auto result1 = notificationContent in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/test/fuzztest/notificationcontent_fuzzer/ |
H A D | notificationcontent_fuzzer.cpp | 32 Notification::NotificationContent notificationContent(normalContent);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_utils.cpp | 203 if (!GetNotificationContent(cjRequest.notificationContent, request)) { in GetNotificationRequestByCustom() 1463 const std::shared_ptr<NotificationContent> &content, CNotificationContent ¬ificationContent) in SetNotificationContentDetailed() 1473 notificationContent.normal = in SetNotificationContentDetailed() 1475 ret = SetNotificationBasicContent(basicContent.get(), notificationContent.normal); in SetNotificationContentDetailed() 1478 notificationContent.longText = in SetNotificationContentDetailed() 1480 ret = SetNotificationLongTextContent(basicContent.get(), notificationContent.longText); in SetNotificationContentDetailed() 1483 notificationContent.picture = in SetNotificationContentDetailed() 1485 if (notificationContent.picture == nullptr) { in SetNotificationContentDetailed() 1489 ret = SetNotificationPictureContent(basicContent.get(), notificationContent.picture); in SetNotificationContentDetailed() 1492 notificationContent in SetNotificationContentDetailed() 1462 SetNotificationContentDetailed(const ContentType &type, const std::shared_ptr<NotificationContent> &content, CNotificationContent ¬ificationContent) SetNotificationContentDetailed() argument 1515 SetNotificationContent( const std::shared_ptr<NotificationContent> &content, CNotificationContent ¬ificationContent) SetNotificationContent() argument [all...] |
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/ |
H A D | notification_utils.h | 177 CNotificationContent notificationContent; member 324 CNotificationContent ¬ificationContent); 326 CNotificationContent ¬ificationContent);
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_publish_test.cpp | 211 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); in CheckCaseOneResult() local 212 if (notificationContent != nullptr) { in CheckCaseOneResult() 213 EXPECT_EQ(NotificationContent::Type::MEDIA, notificationContent->GetContentType()); in CheckCaseOneResult() 215 std::static_pointer_cast<NotificationMediaContent>(notificationContent->GetNotificationContent()); in CheckCaseOneResult() 304 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); in CheckCaseFourResult() local 305 if (notificationContent != nullptr) { in CheckCaseFourResult() 306 EXPECT_EQ(NotificationContent::Type::CONVERSATION, notificationContent->GetContentType()); in CheckCaseFourResult() 309 notificationContent->GetNotificationContent()); in CheckCaseFourResult() 330 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); in CheckCaseFiveResult() local 331 if (notificationContent ! in CheckCaseFiveResult() 348 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); CheckCaseSixResult() local 364 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); CheckCaseSevenResult() local [all...] |
/base/location/services/location_gnss/gnss/source/ |
H A D | agnss_ni_manager.cpp | 364 std::shared_ptr<OHOS::Notification::NotificationContent> notificationContent = in SendNiNotification() local 368 request.SetContent(notificationContent); in SendNiNotification()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | reminder_request.cpp | 1660 auto notificationContent = std::make_shared<NotificationContent>(notificationNormalContent); in UpdateNotificationCommon() local 1661 notificationRequest_->SetContent(notificationContent); in UpdateNotificationCommon()
|
Completed in 10 milliseconds